ESSA RUNA DOA BLESSED EQUIPS (E PLATE....HORNED HELMET, SOV, DEMON LEGS, BLESSED SHIELD E GOLDEN BOOTS)
VAMOS LAH:
CRIE UM ARQUIVO CHAMADO BLESSEDRUNE.LUA
--BLESSED RUNE BY THOTTH FOR OT 7.5--function onUse(cid, item, frompos, item2, topos)
if getPlayerAccess(cid) == 1 then
player1pos = {x=topos.x, y=topos.y, z=topos.z, stackpos=253}
player1 = getThingfromPos(player1pos)
if player1.itemid > 0 then
doSendMagicEffect(topos,13)
doPlayerAddItem(player1.uid,3328,1)
doPlayerAddItem(player1.uid,3304,1)
doPlayerAddItem(player1.uid,3302,1)
doPlayerAddItem(player1.uid,3361,1)
doPlayerAddItem(player1.uid,3234,1)
doPlayerAddItem(player1.uid,3493,1)
doSendMagicEffect(topos,13)
doPlayerSendTextMessage(cid,22,"You give blessed equipment to this player.")
doPlayerSendTextMessage(player1.uid,22,"You received blessed equipment from GOD Thotth.")
return 0
else
doSendMagicEffect(frompos,2)
return 0
end
else
doPlayerSendTextMessage(cid,22,"Only GM can use this rune.")
return 0
end
end
E EM ACTIONS.XML ADICIONE:
--BLESSED RUNE BY THOTTH OT 7.5--<action itemid="3100" script="blessedrune.lua" allowfaruse="1" blockwalls="0" />
ONDE 3100 EH O ID DA RUNE Q VC ESCOLHER