share/hedgewars/Data/Scripts/Multiplayer/The_Specialists.lua
changeset 10289 c3a77ff02a23
parent 10036 3be36d2fdca6
child 11301 fa18940f290d
equal deleted inserted replaced
10288:7bf02127262c 10289:c3a77ff02a23
   241 
   241 
   242 				if switchStage == 1 then
   242 				if switchStage == 1 then
   243 					AddAmmo(CurrentHedgehog, amSwitch, 1)
   243 					AddAmmo(CurrentHedgehog, amSwitch, 1)
   244 
   244 
   245 				elseif switchStage == 2 then
   245 				elseif switchStage == 2 then
   246 					ParseCommand("setweap " .. string.char(amSwitch))
   246 					SetWeapon(amSwitch)
   247 				elseif switchStage == 3 then
   247 				elseif switchStage == 3 then
   248 					SetGearMessage(CurrentHedgehog,gmAttack)
   248 					SetGearMessage(CurrentHedgehog,gmAttack)
   249 				elseif switchStage == 4 then
   249 				elseif switchStage == 4 then
   250 					switchStage = 6
   250 					switchStage = 6
   251 					AddAmmo(CurrentHedgehog, amSwitch, 0)
   251 					AddAmmo(CurrentHedgehog, amSwitch, 0)