Hello!
My forever aol just go away when you die how come?
creature script with bless and red skulle protection so you dont lose when you die!
I can also suddenly diseper!
using 0.4 dev TFS!
scripts:
Script with bless and rs protect!
Items:
My forever aol just go away when you die how come?
creature script with bless and red skulle protection so you dont lose when you die!
I can also suddenly diseper!
using 0.4 dev TFS!
scripts:
Code:
<event type="preparedeath" name="onPrepareDeath" event="script" value="forever aol.lua"/>
Script with bless and rs protect!
Code:
function onPrepareDeath(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
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="showattributes" value="1"/>
</item>
Last edited: