aew
vi a action du spellwand e axei ke falta uma coisinha intaum vo postar aki com os creditos para o d_cruel eu só editei para u monstro atacar sem vc precisar andar
adicione um arquivo com u nome redspell.lua na pasta actions/script
-- Fire Elemental Summoner by Joao Paulo edited by Colex --function onUse(cid, item, frompos, item2, topos)go = getPlayerPosition(cid)if getPlayerMana(cid) >= 700 thendoPlayerAddMana(cid,-700)doRemoveItem(item.uid,1)doSendMagicEffect(topos,13)doSendMagicEffect(frompos,13)doPlayerSendTextMessage(cid,22,"You have Summoned a Fire Elemental.")doTeleportThing(cid,topos)doSummonCreature("Fire Elemental", topos)doTeleportThing(cid,go)elseif getPlayerMana(cid) <= 699 thendoPlayerSendTextMessage(cid,24,"You don't have mana to use this item.")doSendMagicEffect(frompos,2)endreturn 0endend
e adicione nu script.xml:
<action itemid="3013" script="redspell.lua" allowfaruse="1"/>
flws
espero ke gostem qualquer duvida só perguntar ke eu tento ajudar :grin: