Move health:= 6 to gear addition so lua can more easily override it.
--- a/hedgewars/uGearsHandlersMess.pas Sat Sep 12 21:13:35 2015 +0200
+++ b/hedgewars/uGearsHandlersMess.pas Sun Sep 13 15:36:06 2015 -0400
@@ -2718,7 +2718,6 @@
Gear^.dX := Gear^.dX - cBombsSpeed * hwSqrt((int2hwFloat(Gear^.Target.Y) - Gear^.Y) * 2 /
cGravity) * Gear^.Tag;
- Gear^.Health := 6;
Gear^.doStep := @doStepAirAttackWork;
Gear^.SoundChannel := LoopSound(sndPlane, 4000);
--- a/hedgewars/uGearsList.pas Sat Sep 12 21:13:35 2015 +0200
+++ b/hedgewars/uGearsList.pas Sun Sep 13 15:36:06 2015 -0400
@@ -466,6 +466,7 @@
gear^.Tag:= Y
end;
gtAirAttack: begin
+ gear^.Health:= 6;
gear^.Z:= cHHZ+2;
gear^.Tint:= gear^.Hedgehog^.Team^.Clan^.Color shl 8 or $FF
end;