(-0,2)x.(-0,2)5 = (-0,2)12
(2)6 : (2)x = 2
(5) (5) 5
Soluções para a tarefa
Explicação passo-a-passo:
macro(250, "Dance", "Ctrl+D", function()
turn(math.random(0, 3)) -- turn to a random direction.
end, warTab)
macro(200, "Chakra Rest", function()
say('Chakra Rest')
end)
macro(1000, "Manatrain", function() if (hppercent() > 50) then say(storage.ManatrainText) end end) addTextEdit("ManatrainText", storage.ManatrainText or "power down", function(widget, text) storage.ManatrainText = text end)
local Combo
macro(200, "up", function()
if g_game.isAttacking() then
say('solar flare')
end
end)
local combo
macro(30, " Combo Pvp ", function()
if g_game.isAttacking() then
say('connoisseur kamehameha')
say('combo impact')
say('solar flare')
end
end)
macro(2000, "Buff", function()
say('unknown power up')
end)
macro(200, "hold target", function() if g_game.isAttacking() then oldTarget = g_game.getAttackingCreature() end if (oldTarget and not g_game.isAttacking() and getDistanceBetween(pos(), oldTarget:getPosition()) <= 8) then g_game.attack(oldTarget) end end)
macro(500, "Auto Haste", nil, function() if not hasHaste() and storage.autoHasteText:len() > 0 then if saySpell(storage.autoHasteText) then delay(5000) end end end) addTextEdit("COISA BOA", storage.autoHasteText or "Concentrate chakra feet", function(widget, text) storage.autoHasteText = text end)
local healingSpell = 'mystic defense' local hpPercent = 99 macro(50, "faster healing", function() if (hppercent() <= hpPercent) then say(healingSpell) end end)
macro(1, "drink manas", function()
if manapercent() < 20 then
say("android protection")
end
end)