Hey i my forever aol with rs and bless dosent work for 0.4
and i need one now i can show you mine and you can rebuild or tell me what is wrong with it!
added in creature event!
Or make me 1 that works
script:
xml:
login.lua:
¨
Items.xml:
This thread might help http://otland.net/f82/prevent-lose-items-without-aol-83130/
and i need one now i can show you mine and you can rebuild or tell me what is wrong with it!
added in creature event!
Or make me 1 that works
script:
Code:
function onDeath(cid, lastHitKiller, mostDamageKiller)
if(isPlayer(cid) and getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 115) then
for i = 1, 5 do
doPlayerAddBlessing(cid, i)
end
doCreatureSetDropLoot(cid, false)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA)
doCreatureSay(cid, "Forever Aol!!", TALKTYPE_ORANGE_1)
end
return true
end
xml:
Code:
<event type="death" name="noaol" event="script" value="noaol.lua"/>
login.lua:
Code:
registerCreatureEvent(cid, "noaol")
Items.xml:
Code:
<item id="115" name="Donated necklace V2">
<attribute key="description" value="You feel a surging energyflow, it greatly improves allot!"/>
<attribute key="weight" value="700"/>
<attribute key="slotType" value="necklace"/>
<attribute key="absorbPercentAll" value="25"/>
<attribute key="magicpoints" value="20"/>
<attribute key="preventDrop" value="1"/>
<attribute key="charges" value="5"/>
<attribute key="showattributes" value="-1"/>
</item>
This thread might help http://otland.net/f82/prevent-lose-items-without-aol-83130/
Last edited: