From ea4662061dc3a0917b7008dae46a93133020f091 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Mon, 26 Apr 2010 20:34:03 +0200 Subject: [PATCH] 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. --- info/Damage.t | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/info/Damage.t b/info/Damage.t index be509228..a9abf6c4 100644 --- a/info/Damage.t +++ b/info/Damage.t @@ -90,14 +90,12 @@ Plane Sector sectdamage = damage / ((sectdef - 2) * eff + 2) %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 -planes take no damage +planes take 1/7 of the damage done to land units Commodity %damage = (100 * damage / (damage + 50)) -bars take no damage -civs, mil, and uws take 0.4 * %damage .fi .SA "fire, launch, torpedo, lmine, bomb, Hitchance, Attacking, Combat"