share/hedgewars/Data/Maps/TrophyRace/map.lua
changeset 11180 1750a1ce7131
parent 10289 c3a77ff02a23
child 11201 9301550d2566
equal deleted inserted replaced
11179:98d14636c371 11180:1750a1ce7131
    76 
    76 
    77 function killHog()
    77 function killHog()
    78         SetHealth(CurrentHedgehog, 0)
    78         SetHealth(CurrentHedgehog, 0)
    79         SetEffect(CurrentHedgehog, heInvulnerable, 0)
    79         SetEffect(CurrentHedgehog, heInvulnerable, 0)
    80         x, y = GetGearPosition(CurrentHedgehog)
    80         x, y = GetGearPosition(CurrentHedgehog)
    81         AddGear(x, y, gtShell, 0, 0, 0, 0)
    81         AddGear(x, y-2, gtGrenade, 0, 0, 0, 2)
       
    82         SetGearVelocity(CurrentHedgehog, 0, 0)
    82         worsttime = 99999
    83         worsttime = 99999
    83         worsthog = nil
    84         worsthog = nil
    84         lasthog = nil
    85         lasthog = nil
    85 end
    86 end
    86 
    87