mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-12-26 05:47:11 +01:00
Version 1.4 - Websockets and bug fixes
This commit is contained in:
@@ -15,9 +15,12 @@ Panels.Haste = function(parent)
|
||||
end
|
||||
|
||||
Panels.ManaShield = function(parent)
|
||||
local lastManaShield = 0
|
||||
context.macro(100, "Auto Mana Shield", nil, function()
|
||||
if not context.hasManaShield() then
|
||||
context.saySpell("utamo vita", 200)
|
||||
if not context.hasManaShield() or context.now > lastManaShield + 90000 then
|
||||
if context.saySpell("utamo vita", 200) then
|
||||
lastManaShield = context.now
|
||||
end
|
||||
end
|
||||
end, parent)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user