macro(400, "COMBO", function()
if g_game.isAttacking() then
say("JUTSU 250")
say("JUTSU 400")
say("JUTSU 275")
end
end)
macro(500, "COMBO CC", function()
if g_game.isAttacking() then
say("SLOW, STUN, TRAP, ETC")
say("JUTSU 250")
say("JUTSU 400")
say("JUTSU 275")
end
end)
macro(300, "COMBO UP", function()
if g_game.isAttacking() then
say("JUTSU 400")
say("Kunai Explosion No Jutsu")
end
end)
local healingSpell = 'Kawarimi No Jutsu' local hpPercent = 70 macro(50, "KAWARIMI", function() if (hppercent() <= hpPercent) then say(healingSpell) end end)
local healingSpell = 'FUGA, SHIELD, ETC' local hpPercent = 40 macro(20, "SPECIAL", function() if (hppercent() <= hpPercent) then say(healingSpell) end end)
macro(90000, "PVP OFF", function()
say('!pvp off')
end)
macro(500, "STAMINA DOLL", function()
if stamina() < 900 then
use(10338)
end
end)
macro(8000, "BUFF", function()
say('NOME DO BUFF')
end)
macro(1000, "UP ML", function()
say('powerdown')
end)
macro(10000, "HASTE", function()
say('Concentrate Chakra Feet')
end)
macro(100, "TARGET MOBS", function()
local battlelist = getSpectators();
local closest = 10
local lowesthpc = 101
for key, val in pairs(battlelist) do
if val:isMonster() then
if getDistanceBetween(player:getPosition(), val:getPosition()) <= closest then
closest = getDistanceBetween(player:getPosition(), val:getPosition())
if val:getHealthPercent() < lowesthpc then
lowesthpc = val:getHealthPercent()
end
end
end
end
for key, val in pairs(battlelist) do
if val:isMonster() then
if getDistanceBetween(player:getPosition(), val:getPosition()) <= closest then
if g_game.getAttackingCreature() ~= val and val:getHealthPercent() <= lowesthpc then
g_game.attack(val)
delay(100)
break
end
end
end
end
end)
macro(250, "DANCE", function()
turn(math.random(0, 3)) -- turn to a random direction.
end, warTab)
macro(100, "SIO", nil, function()
local friend = getPlayerByName(storage.healFriend)
if friend and friend:getHealthPercent() < tonumber(storage.healFriendPercent) then
say("JUTSU DE CURAR "" .. storage.healFriend)
delay(1000)
end
end)
addLabel("sioname", "Player name:", warTab)
addTextEdit("healfriend", storage.healFriend or "", function(widget, text)
storage.healFriend = text
end)
addLabel("siopercent", "Heal Below %:", warTab)
addTextEdit("healfriendpercent", storage.healFriendPercent or "", function(widget, text)
storage.healFriendPercent = text
end)