in "function getDirection(diffPos, topos)" this does not work.
I need " doSendMagicEffect(topos,NM_ME_N)" put in " function onUse(cid, item, frompos, item2, topos)" and link it to "getDirection(diffPos, topos))" .
but for this I do not have enough experience and knowledge. anyone can...