share/hedgewars/Data/Scripts/Multiplayer/Space_Invasion.lua
changeset 5334 ce404661aac6
parent 5332 b29d60c7cac7
child 5629 c24d29a538af
equal deleted inserted replaced
5332:b29d60c7cac7 5334:ce404661aac6
  1268 			SetHealth(morte, 0)
  1268 			SetHealth(morte, 0)
  1269 
  1269 
  1270 			BK = BK + 1
  1270 			BK = BK + 1
  1271 			if BK == 2 then
  1271 			if BK == 2 then
  1272 				BK = 0
  1272 				BK = 0
  1273 				AddCaption(loc("Boss Slayer!") .. " +25 " .. loc("points") .. "!"),0xffba00ff,capgrpMessage2)
  1273 				AddCaption(loc("Boss Slayer!") .. " +25 " .. loc("points") .. "!",0xffba00ff,capgrpMessage2)
  1274 				AwardPoints(25)
  1274 				AwardPoints(25)
  1275 			end
  1275 			end
  1276 
  1276 
  1277 		end
  1277 		end
  1278 
  1278 
  1282 		res = "fatal"
  1282 		res = "fatal"
  1283 
  1283 
  1284 		chainCounter = 3000
  1284 		chainCounter = 3000
  1285 		chainLength = chainLength + 1
  1285 		chainLength = chainLength + 1
  1286 		if chainLength > 1 then
  1286 		if chainLength > 1 then
  1287 			AddCaption( chainLength .. "-" .. loc("Hit Combo!") .. " +"  chainLength*2 .. " " .. loc("points") .. "!",0xffba00ff,capgrpAmmostate)
  1287 			AddCaption( chainLength .. "-" .. loc("Hit Combo!") .. " +" .. chainLength*2 .. " " .. loc("points") .. "!",0xffba00ff,capgrpAmmostate)
  1288 			AwardPoints(chainLength*2)
  1288 			AwardPoints(chainLength*2)
  1289 		end
  1289 		end
  1290 
  1290 
  1291 	else
  1291 	else
  1292 	-- circle is merely damaged
  1292 	-- circle is merely damaged