mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-11-01 11:26:23 +01:00
Updated to OTCv8 3.1 rev 229
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user