share/hedgewars/Data/Scripts/Multiplayer/Continental_supplies.lua
changeset 12940 39b7b3ed619e
parent 12901 bdf8e80a97b8
child 13359 7d772358dc22
equal deleted inserted replaced
12939:0112ef349ddc 12940:39b7b3ed619e
   705 function EuropeSpecialMolotovHit(hog)
   705 function EuropeSpecialMolotovHit(hog)
   706 	if(GetGearType(hog) == gtHedgehog)
   706 	if(GetGearType(hog) == gtHedgehog)
   707 	then
   707 	then
   708 		if(gearIsInCircle(GLOBAL_TEMP_VALUE,GetX(hog), GetY(hog), 100, false))
   708 		if(gearIsInCircle(GLOBAL_TEMP_VALUE,GetX(hog), GetY(hog), 100, false))
   709 		then
   709 		then
   710 			SetHealth(hog, GetHealth(hog)+25+(div(25*GLOBAL_VAMPIRIC_IS_ON,100)))
   710 			HealHog(hog, 25 + (div(25*GLOBAL_VAMPIRIC_IS_ON,100)), hog == CurrentHedgehog)
   711 			SetEffect(hog, hePoisoned, false)
   711 			SetEffect(hog, hePoisoned, false)
   712 			GLOBAL_SABOTAGE_HOGS[hog]=0
   712 			GLOBAL_SABOTAGE_HOGS[hog]=0
   713 		end
   713 		end
   714 	end
   714 	end
   715 end
   715 end
  1257 		--scream
  1257 		--scream
  1258 		if(GLOBAL_KERGUELEN_SPECIAL == 2)
  1258 		if(GLOBAL_KERGUELEN_SPECIAL == 2)
  1259 		then
  1259 		then
  1260 			GLOBAL_TEMP_VALUE=0
  1260 			GLOBAL_TEMP_VALUE=0
  1261 			runOnGears(KerguelenSpecialRed)
  1261 			runOnGears(KerguelenSpecialRed)
  1262 			SetHealth(CurrentHedgehog, GetHealth(CurrentHedgehog)+GLOBAL_TEMP_VALUE)
  1262 			HealHog(CurrentHedgehog, GLOBAL_TEMP_VALUE)
  1263 			PlaySound(sndHellish)
  1263 			PlaySound(sndHellish)
  1264 
  1264 
  1265 		--swap
  1265 		--swap
  1266 		elseif(GLOBAL_KERGUELEN_SPECIAL == 3 and TotalRounds>=1)
  1266 		elseif(GLOBAL_KERGUELEN_SPECIAL == 3 and TotalRounds>=1)
  1267 		then
  1267 		then