Fix info Damage on bars, people and planes
It assumed option SUPER_BARS enabled. It's disabled by default since 4.0.9. It assumed people_damage = 0.4. It's 1.0 since 4.0.0. It still claimed damaging a sector doesn't damage its planes. It does since 4.0.9.
This commit is contained in:
parent
d7671e297a
commit
ea4662061d
1 changed files with 2 additions and 4 deletions
|
@ -90,14 +90,12 @@ Plane
|
||||||
Sector
|
Sector
|
||||||
sectdamage = damage / ((sectdef - 2) * eff + 2)
|
sectdamage = damage / ((sectdef - 2) * eff + 2)
|
||||||
%damage = (100 * sectdamage / (sectdamage + 100))
|
%damage = (100 * sectdamage / (sectdamage + 100))
|
||||||
commodities take %damage (bars take no damage and people take 0.4 * %damage)
|
commodities take %damage
|
||||||
land units take 0.3 * %damage
|
land units take 0.3 * %damage
|
||||||
planes take no damage
|
planes take 1/7 of the damage done to land units
|
||||||
|
|
||||||
Commodity
|
Commodity
|
||||||
%damage = (100 * damage / (damage + 50))
|
%damage = (100 * damage / (damage + 50))
|
||||||
bars take no damage
|
|
||||||
civs, mil, and uws take 0.4 * %damage
|
|
||||||
|
|
||||||
.fi
|
.fi
|
||||||
.SA "fire, launch, torpedo, lmine, bomb, Hitchance, Attacking, Combat"
|
.SA "fire, launch, torpedo, lmine, bomb, Hitchance, Attacking, Combat"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue