mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-19 06:03:27 +02:00
Version 0.999 beta, with more bug fixes
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
Module
|
||||
name: game_bot
|
||||
description: Bot
|
||||
description: Advanced OTClientV8 Bot
|
||||
author: otclient@otclient.ovh
|
||||
sandboxed: true
|
||||
scripts: [ bot ]
|
||||
scripts: [ ui/botitemcontainer, ui/botwaypoints, bot ]
|
||||
@onLoad: init()
|
||||
@onUnload: terminate()
|
||||
|
@@ -38,6 +38,7 @@ function executeBot(config, storage, tabs, msgCallback)
|
||||
context.regexMatch = regexMatch
|
||||
|
||||
-- classes
|
||||
context.g_resources = g_resources
|
||||
context.g_game = g_game
|
||||
context.g_map = g_map
|
||||
context.g_ui = g_ui
|
||||
|
@@ -26,7 +26,7 @@ end
|
||||
|
||||
Panels.AntiParalyze = function(parent)
|
||||
context.macro(500, "Anti Paralyze", nil, function()
|
||||
if not context.isParalyzed() and context.storage.autoHasteText:len() > 0 then
|
||||
if context.isParalyzed() and context.storage.autoAntiParalyzeText:len() > 0 then
|
||||
if context.saySpell(context.storage.autoAntiParalyzeText, 2500) then
|
||||
context.delay(5000)
|
||||
end
|
||||
|
0
modules/game_bot/ui/botitemcontainer.lua
Normal file
0
modules/game_bot/ui/botitemcontainer.lua
Normal file
0
modules/game_bot/ui/botwaypoints.lua
Normal file
0
modules/game_bot/ui/botwaypoints.lua
Normal file
Reference in New Issue
Block a user