share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/dragon.lua
changeset 12509 6dbdb6fab2f9
parent 12508 071d1d699f27
child 12510 cc146b018d14
equal deleted inserted replaced
12508:071d1d699f27 12509:6dbdb6fab2f9
   668     TurnTimeLeft = 30000
   668     TurnTimeLeft = 30000
   669   elseif GetHogTeamName(CurrentHedgehog) == loc("011101001") then
   669   elseif GetHogTeamName(CurrentHedgehog) == loc("011101001") then
   670     TurnTimeLeft = 0
   670     TurnTimeLeft = 0
   671   else
   671   else
   672     SetInputMask(0xFFFFFFFF)
   672     SetInputMask(0xFFFFFFFF)
   673     AddCaption(string.format(loc("Turns until Sudden Death: %d"), SuddenDeathTurns - TotalRounds))
       
   674   end
   673   end
   675 end
   674 end
   676 
   675 
   677 function onPrecise()
   676 function onPrecise()
   678   if GameTime > 2500 and AnimInProgress() then
   677   if GameTime > 2500 and AnimInProgress() then