Updaded modaldialog and bot (added anti push)

This commit is contained in:
OTCv8
2019-11-08 05:31:38 +01:00
parent 7d9a81d871
commit d78af570ea
8 changed files with 109 additions and 16 deletions

View File

@@ -37,6 +37,9 @@ function setupExtraHotkeys(combobox)
nextChild = battlePanel:getFirstChild()
end
end
if not breakNext then
nextChild = battlePanel:getFirstChild()
end
if nextChild and nextChild.creature ~= attackedCreature then
g_game.attack(nextChild.creature)
end