Battalion: RC Plane gets 2 bombs, set air bomb dmg to 20
authorWuzzy <almikes@aol.com>
Sun, 14 May 2017 18:41:18 +0200
changeset 12427 959d1f4dff25
parent 12426 a0c655e38cc8
child 12428 e9d2efe5763b
Battalion: RC Plane gets 2 bombs, set air bomb dmg to 20
share/hedgewars/Data/Scripts/Multiplayer/Battalion.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/Battalion.lua	Sun May 14 17:23:49 2017 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Battalion.lua	Sun May 14 18:41:18 2017 +0200
@@ -1011,11 +1011,10 @@
   if gearType == gtHedgehog then
     trackGear(gear)
   elseif gearType == gtRCPlane then
-    -- Limit bombs to 1 until 0.9.23 is released
-    SetHealth(gear, 1)
+    SetHealth(gear, 2)
   elseif gearType == gtAirBomb then
     -- gearUid, Angle, Power, WDTimer, Radius, Density, Karma, DirAngle, AdvBounce, ImpactSound, ImpactSounds, Tint, Damage, Boom
-    SetGearValues(gear, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 15)
+    SetGearValues(gear, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 20)
   elseif gearType == gtCake then
     -- gearUid, Angle, Power, WDTimer, Radius, Density, Karma, DirAngle, AdvBounce, ImpactSound, ImpactSounds, Tint, Damage, Boom
     SetGearValues(gear, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 50)
@@ -1689,7 +1688,7 @@
     txt = txt .. string.format(loc("Highland: Hogs get %d random weapons from their pool"), highPickupSDCount) .. "|"
   end
 
-  SetAmmoDescriptionAppendix(amRCPlane, loc("The RC plane only carries 1 weak bomb."))
+  SetAmmoDescriptionAppendix(amRCPlane, loc("The RC plane only carries 2 weak bombs."))
   SetAmmoDescriptionAppendix(amAirAttack, loc("The air bombs are weaker than usual."))
   SetAmmoDescriptionAppendix(amCake, loc("The explosion is weaker than usual."))
   SetAmmoDescriptionAppendix(amDEagle, loc("Base damage has been modified to 12 per shot."))