Updated to OTCv8 3.1 rev 229

This commit is contained in:
OTCv8
2022-07-09 22:09:37 +00:00
parent 88fb41bafc
commit a48d0fd0d1
125 changed files with 24548 additions and 732 deletions

View File

@@ -497,9 +497,7 @@ function initCallbacks()
onRemoveItem = botContainerRemoveItem,
onGameEditText = botGameEditText,
onSpellCooldown = botSpellCooldown,
onSpellGroupCooldown = botGroupSpellCooldown,
onQuestLog = botGameQuestLog,
onQuestLine = botGameQuestLine
onSpellGroupCooldown = botGroupSpellCooldown
})
connect(Tile, {
@@ -563,9 +561,7 @@ function terminateCallbacks()
onAttackingCreatureChange = botAttackingCreatureChange,
onGameEditText = botGameEditText,
onSpellCooldown = botSpellCooldown,
onSpellGroupCooldown = botGroupSpellCooldown,
onQuestLog = botGameQuestLog,
onQuestLine = botGameQuestLine
onSpellGroupCooldown = botGroupSpellCooldown
})
disconnect(Tile, {
@@ -800,14 +796,4 @@ end
function botInventoryChange(player, slot, item, oldItem)
if botExecutor == nil then return false end
safeBotCall(function() botExecutor.callbacks.onInventoryChange(player, slot, item, oldItem) end)
end
function botGameQuestLog(quests)
if botExecutor == nil then return false end
safeBotCall(function() botExecutor.callbacks.onGameQuestLog(quests) end)
end
function botGameQuestLine(quests)
if botExecutor == nil then return false end
safeBotCall(function() botExecutor.callbacks.onGameQuestLine(questId, questMissions) end)
end