• 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!

My amulet of loss don't work!

Rick Sick

New Member
Joined
Jan 12, 2010
Messages
3
Reaction score
0
My amulet of loss don't work when you die it don't work i have been trying this script


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

but it says like it don't recognize the keyword preventDrop or something please help me!
 
My amulet of loss don't work when you die it don't work i have been trying this script


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

but it says like it don't recognize the keyword preventDrop or something please help me!

try use

Code:
    <attribute key="charges" value="1"/>

instead of prevent drop
 
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"/>
	</item>

Path:

Data/Creaturescripts/Scripts/Playerdeath.lua

Code:
if getPlayerSlotItem(cid, 2).itemid == 2173 then
                doPlayerRemoveItem(cid, 2173, 1)
end
 
Back
Top