• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Quick Answer

How do you make AOL's infinite? =]

Code:
 	<item id="2173" article="an" name="amulet of loss">
		<attribute key="weight" value="420"/>
		<attribute key="slotType" value="necklace"/>
		<attribute key="preventDrop" value="1"/>
		<attribute key="charges" value="1"/>

^ That's aol in your items.xml... ^

Change this to how many charges you want it to have :P
<attribute key="charges" value="1"/>
 
@up, Wrong.

This is how you do it:
1. Go to /data/creaturescripts/scripts/
2. Open up playerdeath.lua
3.
At:
Code:
function onDeath(cid, corpse, lastHitKiller, mostDamageKiller)
if getPlayerSlotItem(cid, 2).itemid == 2173 then
                doPlayerRemoveItem(cid, 2173, 1)
end
Remove:
Code:
if getPlayerSlotItem(cid, 2).itemid == 2173 then
                doPlayerRemoveItem(cid, 2173, 1)
So it looks like this:
Code:
function onDeath(cid, corpse, lastHitKiller, mostDamageKiller)
end
 
Back
Top