share/hedgewars/Data/Maps/CTF_Blizzard/map.lua
changeset 7838 5c2337f8dbb2
parent 5821 afb988c1a2fe
child 8349 a1dbe148f10f
equal deleted inserted replaced
7837:3e031b3b33e6 7838:5c2337f8dbb2
   236 	end
   236 	end
   237 
   237 
   238 	if fCaptures[teamID] == 3 then
   238 	if fCaptures[teamID] == 3 then
   239 		for i = 0, (numhhs-1) do
   239 		for i = 0, (numhhs-1) do
   240 			if GetHogClan(hhs[i]) == alt then
   240 			if GetHogClan(hhs[i]) == alt then
   241 				SetEffect(hhs[i], heResurrectable, false)
   241 				SetEffect(hhs[i], heResurrectable, 0)
   242 				SetHealth(hhs[i],0)
   242 				SetHealth(hhs[i],0)
   243 			end
   243 			end
   244 		end
   244 		end
   245 		--ShowMission("GAME OVER!", "Victory for the " .. winner .. " Team!", "Hooray!", 0, 0)
   245 		--ShowMission("GAME OVER!", "Victory for the " .. winner .. " Team!", "Hooray!", 0, 0)
   246 		ShowMission(loc("GAME OVER!"), loc("Victory for the ") .. GetHogTeamName(CurrentHedgehog), loc("Hooray!"), 0, 0)
   246 		ShowMission(loc("GAME OVER!"), loc("Victory for the ") .. GetHogTeamName(CurrentHedgehog), loc("Hooray!"), 0, 0)
   782 
   782 
   783 	if GetGearType(gear) == gtHedgehog then
   783 	if GetGearType(gear) == gtHedgehog then
   784 
   784 
   785 		hhs[numhhs] = gear
   785 		hhs[numhhs] = gear
   786 		numhhs = numhhs + 1
   786 		numhhs = numhhs + 1
   787 		SetEffect(gear, heResurrectable, true)
   787 		SetEffect(gear, heResurrectable, 1)
   788 
   788 
   789 	end
   789 	end
   790 
   790 
   791 	if GetGearType(gear) == gtRope then
   791 	if GetGearType(gear) == gtRope then
   792 		ropeGear = gear
   792 		ropeGear = gear