Another small bot update

This commit is contained in:
OTCv8
2019-10-28 02:03:53 +01:00
parent 12e5c1557c
commit 017fa290b4
3 changed files with 48 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ mount = nil
mounts = nil
mountCreature = nil
currentMount = 1
ignoreNextOutfitWindow = 0
function init()
connect(g_game, {
@@ -51,6 +52,9 @@ function updateMount()
end
function create(creatureOutfit, outfitList, creatureMount, mountList)
if ignoreNextOutfitWindow and g_clock.millis() < ignoreNextOutfitWindow + 1000 then
return
end
if outfitWindow and not outfitWindow:isHidden() then
return
end