@marcot É mais por curiosidade, mas vc pode usar o CALLBACK_PARAM_TARGETCREATURE ou CALLBACK_PARAM_TARGETTILE para pegar os targets ou os tiles que a spell atinge.
Um exemplo rápido:
function changeTargetOutfit(cid, target)
if isPlayer(target) then
doSetCreatureOutfit(target, {lookType = 117, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 3}, 500)
end
end
setCombatCallback(combat, CALLBACK_PARAM_TARGETCREATURE, "changeTargetOutfit")