Magia Distancia
Usar magia baseado na distância do alvo.
Autor: Luiz
1
2
3
4
5
6
7
8
local distanciaa = 1 -- distancia do alvo pra usar a magia.
macro(200, "Combo Distancia", function()
if not g_game.isAttacking() then return end
combodistancia = g_game.getAttackingCreature()
if getDistanceBetween(pos(),combodistancia:getPosition()) == distanciaa then
say("magia 1")
end
end)