Open a851903106 opened 1 week ago
Units falling from destroyed bridges were always bound to die. This can now be improved by preventing death by customizing the damage taken when falling.
In rulesmd.in:
[SOMETECHNO] ; TechnoType FallingDownDamage=1.0 ; double FallingDownDamage.Water= ; double, default is FallingDownDamage
FallingDownDamege < 0.0 : (Health FallingDownDamage)。 0.0 <= FallingDownDamege <= 1.0 : (Strength FallingDownDamage)。 FallingDownDamage > 1.0 : uses FallingDownDamage converted to int。
Units falling from destroyed bridges were always bound to die. This can now be improved by preventing death by customizing the damage taken when falling.
In rulesmd.in:
[SOMETECHNO] ; TechnoType FallingDownDamage=1.0 ; double FallingDownDamage.Water= ; double, default is FallingDownDamage
FallingDownDamege < 0.0 : (Health FallingDownDamage)。 0.0 <= FallingDownDamege <= 1.0 : (Strength FallingDownDamage)。 FallingDownDamage > 1.0 : uses FallingDownDamage converted to int。