Creditos:
---Clic 93%--- por ter criado e desenvolvido a runa
---GM Rotciv 3%--- por ter arrumado um bug do end
---Zorzin 2%--- por ter tentado arrumar + o GM Rotciv foi + rapido!hahahaha
---Colex 2%--- por ter aprimorado um poko ela!
function onUse(cid, item, frompos, item2, topos)maisskill = math.random (-2,2)
skill = math.random (1,5)
hp = math.random (-25,25)
money = math.random (-500,500)
pos = getPlayerPosition(cid)
doPlayerAddSkillTry(cid,skill,maisskill)
doPlayerAddHealth(cid,hp)
doPlayerRemoveMoney(cid,money)
doSendMagicEffect(topos,12)
doTeleportThing(cid,topos)
doSummonCreature("Dragon",topos)
doTeleportThing(cid,pos)
return 1
end
Essa é a action!!!
minha irma tava no pc e eu usei o do meu irmao fiz outras tb + essa foi a + legal!!!
Espero q gostem da action!!
Comentem plz!!!
------edit------
<action itemid="0000" script="add_skill.lua" /> coloke isso no actions .xml e onde ta 0000 vc pode por i d de um piso poste kalk coisa que possa dar use!! ou até mesmo uma runa!
------edit------
@barricelli
function onUse(cid, item, frompos, item2, topos)maisskill = math.random (-100,100)
skill = math.random (1,5)
doPlayerAddSkillTry(cid,skill,maisskill)
doSendMagicEffect(topos,12)
doTeleportThing(cid,topos)
return 1
end
kra ta ae!!! vc pediu!!!
------------edit------------
@Terragoon
EU nao sei se tem comando q da level se tive me mostra como é ele q eu te fasso essa action!