hedgewars/uGearsUtils.pas
branchicegun
changeset 8560 134a098235fa
parent 8199 886ed135665b
child 8632 b5ed76d2a1f9
--- a/hedgewars/uGearsUtils.pas	Sun Feb 24 21:40:06 2013 +0200
+++ b/hedgewars/uGearsUtils.pas	Sun Feb 24 21:44:40 2013 -0500
@@ -182,6 +182,7 @@
 i:= _1;
 if (CurrentHedgehog <> nil) and CurrentHedgehog^.King then
     i:= _1_5;
+if (Gear^.Hedgehog <> nil) and (Gear^.Hedgehog^.Effects[heFrozen] > 0) then i:=i*_0_2;
 if (Gear^.Hedgehog <> nil) and (Gear^.Hedgehog^.King) then
     ModifyDamage:= hwRound(_0_01 * cDamageModifier * dmg * i * cDamagePercent * _0_5)
 else