Postado Abril 3, 2021 4 anos Só trocar: if getDistanceBetween(getCreaturePosition(cid), getCreaturePosition(target)) == 1 then por: if getDistanceBetween(getCreaturePosition(cid), getCreaturePosition(target)) <= 3 then Ou seja, se o alvo estiver a 3 sqm ou menos, ele solta a magia. Mais uma coisa, em spells.xml, tua magia está needtarget="1" né?
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.