Hotkeys (Para Procurar Melhor Sua Macro De Um Ctrl+F E Pesquise):
1 - Macro Combo PVP
macro(100, "COMBO PVP", function()
if g_game.isAttacking() then
say("CANUDO LV 400")
delay(100)
say("combo impact")
delay(100)
say("FAST ATTACK (MAGIA COM 7 OU MAIS ATKS)")
end
end)
1 - Macro Super Speed Automatico
macro(500, "Auto Haste", nil, function()
if not hasHaste() and storage.autoHasteText:len() > 0 then
if saySpell(storage.autoHasteText) then
delay(1000)
end
end
end)
addTextEdit("autoHasteText", storage.autoHasteText or "super speed", function(widget, text)
storage.autoHasteText = text
end)
1 - Macro Buff
macro(1000, "Auto Buff", function()
if not hasPartyBuff() then
say("NOME DO BUFF")
end
end)
1 - Macro ATTK Target
Target = {
KeyCancel = 'Escape',
cancel = function()
Target.On = false
Target.Check = false
g_game.cancelAttack()
end
}
macro(1, 'Attack-target', function()
if Target.On then
Target.Check = getCreatureById(Target.On)
end
if modules.corelib.g_keyboard.isKeyPressed(Target.KeyCancel:lower()) then
Target.cancel()
return
elseif g_game.isAttacking() then
Target.On = g_game.getAttackingCreature():getId()
elseif Target.Check and Target.Check:getPosition().z == posz() then
g_game.attack(Target.Check)
end
end)
1 - Macro Regeneration
local hpPercent = 99
macro(50, "Fast Regen", function()
if (hppercent() <= hpPercent) then
say(storage.HealText)
end
end)
addTextEdit("HealText", storage.HealText or "regeneration", function(widget, text)
storage.HealText = text
end)
1 - Macro Revide
local revidar = false
addSwitch("revidar", "revidar", function(widget)
revidar = not revidar
widget:setOn(revidar)
end)
onTextMessage(function(mode, text)
if g_game.isAttacking() and ggame.getAttackingCreature():isPlayer() then
return
elseif not revidar then
return
elseif not text:lower():find('you lose') then
return
end
for , x in ipairs(getSpectators(posz())) do
if x:isPlayer() and string.match(text, 'due to an attack by ' .. x:getName() .. '.') then
g_game.attack(x)
break
end
end
end)