mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 21:04:14 +00:00
removed comment
This commit is contained in:
@@ -472,17 +472,6 @@ export class DefaultConfig implements Config {
|
||||
const defenderTiles = defender.numTilesOwned();
|
||||
const defenderdensity = defenderTroops / defenderTiles;
|
||||
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 {
|
||||
attackerTroopLoss:
|
||||
mag * 10 +
|
||||
|
||||
Reference in New Issue
Block a user