equal
deleted
inserted
replaced
320 end |
320 end |
321 return false |
321 return false |
322 end |
322 end |
323 |
323 |
324 function onHeroFleeFirstBattle(gear) |
324 function onHeroFleeFirstBattle(gear) |
325 if GetHealth(hero.gear) and GetHealth(smuggler1.gear) and heroIsInBattle |
325 if GetHealth(hero.gear) and GetHealth(smuggler1.gear) |
|
326 and heroIsInBattle and ongoingBattle == 1 |
326 and not gearIsInCircle(smuggler1.gear, GetX(hero.gear), GetY(hero.gear), 1400, false) |
327 and not gearIsInCircle(smuggler1.gear, GetX(hero.gear), GetY(hero.gear), 1400, false) |
327 and StoppedGear(hero.gear) then |
328 and StoppedGear(hero.gear) then |
328 return true |
329 return true |
329 end |
330 end |
330 return false |
331 return false |