macro(100, "UE 3 Mobs","/", function()
local target = g_game.getAttackingCreature()
if getMonsters(2, false) > 1 and getPlayers(7, false) == 0 then
say("Exevo Gran Mas Vis")
elseif getPlayers(7, false) ~= 0 and g_game.isAttacking() then
useWith(sd, target)
end
end)
EXPLICAÇÃO:
if getMonsters(2, false) > 1 and getPlayers(7, false) == 0 then
Nessa linha 2 é a distancia que o bicho vai estar para dar magia
eo >1 e maior que 1 bicho para dar a magia
say("Exevo Gran Mas Vis")
a magia que sera usada
elseif getPlayers(7, false) ~= 0 and g_game.isAttacking() then
Aqui é a distancia de Player na tela para poder da magia no caso 7skm
Nenhum comentário:
Postar um comentário