# HG changeset patch # User nemo # Date 1310838340 14400 # Node ID c56a6be662bffe65be759a73cc589386b0e20267 # Parent 94e26612e2ec5846194fa8c63e5c2d6c8614265d try to tweak flamethrower a bit to do more damage with fire changes. An optimal firepit test dealt 68. diff -r 94e26612e2ec -r c56a6be662bf hedgewars/GSHandlers.inc --- a/hedgewars/GSHandlers.inc Sat Jul 16 13:01:11 2011 -0400 +++ b/hedgewars/GSHandlers.inc Sat Jul 16 13:45:40 2011 -0400 @@ -4415,18 +4415,18 @@ if Gear^.Timer = 0 then begin dec(Gear^.Health); - if (Gear^.Health mod 10) = 0 then + if (Gear^.Health mod 5) = 0 then begin rx := rndSign(getRandom * _0_1); ry := rndSign(getRandom * _0_1); - speed := _0_8 * (_10 / Gear^.Tag); + speed := _0_5 * (_10 / Gear^.Tag); Fire := AddGear(gx, gy, gtFlame, 0, SignAs(AngleSin(HHGear^.Angle) * speed, HHGear^.dX) + rx, AngleCos(HHGear^.Angle) * ( - speed) + ry, 0); Fire^.State := Fire^.State or gsttmpFlag; - if (Gear^.Health mod 20) = 0 then + if (Gear^.Health mod 30) = 0 then Fire := AddGear(gx, gy, gtFlame, 0, SignAs(AngleSin(HHGear^.Angle) * speed, HHGear^.dX) + rx, AngleCos(HHGear^.Angle) * ( - speed) + ry, 0);