equal
deleted
inserted
replaced
243 |
243 |
244 function onNewTurn() |
244 function onNewTurn() |
245 -- rounds start if hero got his weapons or got near the enemies |
245 -- rounds start if hero got his weapons or got near the enemies |
246 if CurrentHedgehog == hero.gear then |
246 if CurrentHedgehog == hero.gear then |
247 if not weaponsAcquired and not battleZoneReached then |
247 if not weaponsAcquired and not battleZoneReached then |
248 TurnTimeLeft = -1 |
248 SetTurnTimeLeft(cMaxTurnTime) |
249 end |
249 end |
250 elseif CurrentHedgehog == minion1.gear or CurrentHedgehog == minion2.gear or CurrentHedgehog == minion3.gear then |
250 elseif CurrentHedgehog == minion1.gear or CurrentHedgehog == minion2.gear or CurrentHedgehog == minion3.gear then |
251 if not battleZoneReached then |
251 if not battleZoneReached then |
252 EndTurn(true) |
252 EndTurn(true) |
253 elseif weaponsAcquired and not battleZoneReached and afterDialog02 then |
253 elseif weaponsAcquired and not battleZoneReached and afterDialog02 then |