fix hat names. more efficient killing off of limited hogs (takes too long to wait otherwise)
authornemo
Mon, 29 Oct 2012 20:37:57 -0400
changeset 7894 1e8e9400e9de
parent 7892 617553fe0196
child 7896 67217e6108fd
fix hat names. more efficient killing off of limited hogs (takes too long to wait otherwise)
share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua	Tue Oct 30 00:17:23 2012 +0100
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua	Mon Oct 29 20:37:57 2012 -0400
@@ -116,7 +116,8 @@
         if cnthhs > 1 then
             hogLimitHit = true
             SetEffect(gear, heResurrectable, false)
-            SetHealth(gear, 0)
+            --SetHealth(gear, 0)
+            SetGearPosition(gear, -100,LAND_HEIGHT)
         end
 end
 
@@ -414,7 +415,7 @@
 
     if gear~= mutant and gear~= nil then
         SetHogName(gear,"BOTTOM FEEDER")
-        SetHogHat(gear, 'Poke_Slowpoke')
+        SetHogHat(gear, 'poke_slowpoke')
         setGearValue(gear,"Feeder", true)
     end
 end
@@ -423,7 +424,7 @@
     mutant = gear
 
     SetHogName(gear,"MUTANT")
-    SetHogHat(gear,'whysoserious')
+    SetHogHat(gear,'WhySoSerious')
     SetHealth(gear, ( mutant_base_health + numhhs*25) )
     SetEffect(gear, hePoisoned, 1)
     setGearValue(mutant,"SelfDestruct",false)