cara agora não to com muito tempo mais se nimguem responder, amanha eu faço ok?
3
1.5k
info
Group: Cavaleiro
Joined: 13/06/11
Posts: 172
Reputation: +6

18 de julho de 2012 às 19:30
info
Group: Artesão
Joined: 10/11/11
Posts: 118
Reputation: +2

18 de julho de 2012 às 19:42
obrigado pela sua atenção! mas hey fez o script a mim mesmo.
local spell = 'Mega Divine Missile'
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerLearnedInstantSpell(cid, spell) == FALSE then
playerLearnInstantSpell(cid, spell)
doCreatureSay(cid, 'ahora tu aprendiste la mystica magia creada por el dios
Archer.', TALKTYPE_ORANGE_1)
doSendMagicEffect(getPlayerPosition(cid), 14)
doRemoveItem(item.uid)
else
doPlayerSendCancel(cid, 'Ya sabes este Hechizo.')
end
return TRUE
end
Edited Julho 18 by beenii


info
Group: Artesão
Joined: 10/11/11
Posts: 118
Reputation: +2
quando se utiliza um scroll, dar ao jogador uma nova magia custum
example: exori mega san
mega divine missile.lua
Edited Julho 18 by beenii