share/hedgewars/Data/Scripts/Multiplayer/TechRacer.lua
changeset 10934 d6cc62ef78ef
parent 10932 72544595826e
child 10940 096be1230a46
equal deleted inserted replaced
10932:72544595826e 10934:d6cc62ef78ef
  1945 
  1945 
  1946 end
  1946 end
  1947 
  1947 
  1948 function onGameTick20()
  1948 function onGameTick20()
  1949 
  1949 
  1950 
       
  1951 		if (jet ~= nil) and (infUFO == "true") then
  1950 		if (jet ~= nil) and (infUFO == "true") then
  1952 			SetHealth(ufoGear, 2000)
  1951 			SetHealth(jet, 2000)
  1953 		end
  1952 		end
  1954 
  1953 
  1955         -- airstrike detected, convert this into a potential waypoint spot
  1954         -- airstrike detected, convert this into a potential waypoint spot
  1956         if cGear ~= nil then
  1955         if cGear ~= nil then
  1957                 x,y = GetGearPosition(cGear)
  1956                 x,y = GetGearPosition(cGear)