mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-08-18 17:53:29 +00:00
removed comment
This commit is contained in:
@@ -472,17 +472,6 @@ export class DefaultConfig implements Config {
|
|||||||
const defenderTiles = defender.numTilesOwned();
|
const defenderTiles = defender.numTilesOwned();
|
||||||
const defenderdensity = defenderTroops / defenderTiles;
|
const defenderdensity = defenderTroops / defenderTiles;
|
||||||
const adjustedRatio = within(defenderTroops / attackTroops, 0.3, 20);
|
const adjustedRatio = within(defenderTroops / attackTroops, 0.3, 20);
|
||||||
|
|
||||||
// if (attacker.type() == PlayerType.Human) {
|
|
||||||
// console.log(
|
|
||||||
// "speed:",
|
|
||||||
// 4 *
|
|
||||||
// within(defenderdensity, 3, 90) ** 0.6 *
|
|
||||||
// adjustedRatio ** 0.7 *
|
|
||||||
// speed,
|
|
||||||
// );
|
|
||||||
// console.log("density", defenderdensity);
|
|
||||||
// }
|
|
||||||
return {
|
return {
|
||||||
attackerTroopLoss:
|
attackerTroopLoss:
|
||||||
mag * 10 +
|
mag * 10 +
|
||||||
|
|||||||
Reference in New Issue
Block a user