mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-08-18 09:14:09 +00:00
boost hospitals
This commit is contained in:
@@ -570,11 +570,11 @@ export class DefaultConfig implements Config {
|
|||||||
? this.traitorDefenseDebuff()
|
? this.traitorDefenseDebuff()
|
||||||
: 1;
|
: 1;
|
||||||
const attackerHospitalBonus = Math.pow(
|
const attackerHospitalBonus = Math.pow(
|
||||||
0.95,
|
0.9,
|
||||||
attacker.units(UnitType.Hospital).length,
|
attacker.units(UnitType.Hospital).length,
|
||||||
);
|
);
|
||||||
const defenderHospitalBonus = Math.pow(
|
const defenderHospitalBonus = Math.pow(
|
||||||
0.95,
|
0.9,
|
||||||
defender.units(UnitType.Hospital).length,
|
defender.units(UnitType.Hospital).length,
|
||||||
);
|
);
|
||||||
console.log(attackerHospitalBonus, defenderHospitalBonus);
|
console.log(attackerHospitalBonus, defenderHospitalBonus);
|
||||||
|
|||||||
Reference in New Issue
Block a user