essa spell eu queria q ela funcionasse assim, eu dou "sonar" e acabo atraindo os monsters q estão a uma distancia de no máximo 2 sqms, se alguém puder fazer eu agradeço!!!
Spell
esta spell e a challenge, modifiquei o efeito dela que esta en vermelho
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, 23)
local arr = {
{0, 1, 1, 1, 0},
{1, 1, 1, 1, 1},
{1, 1, 3, 1, 1},
{1, 1, 1, 1, 1},
{0, 1, 1, 1, 0}
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
function onTargetCreature(cid, target)
doChallengeCreature(cid, target)
end
setCombatCallback(combat, CALLBACK_PARAM_TARGETCREATURE, "onTargetCreature")
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Te ajudei em algo? Rep+
my blogg: Tibiaolds.sytes.net xD
O tópico foi fechado e movido para lixeira por estar inativo a mais de 10 dias. Caso seja preciso reabrir o mesmo, favor entrar em contato com a equipe.