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

Not working amulet of loss tfs 0.3 crying damson 2

GM Lee

Mapper/Scripter
Joined
Jun 23, 2008
Messages
104
Reaction score
2
Location
Poland, Puławy
GReetings.

I've got a problem. On my ots when someone die he loses bp even he's got amulet of loss...

I'm trying all the time to make it work by I can't, if anyone could help please write there.

Thanks
 
Depends, if the server is set to full pvp-enforced then aol won't work..

If it's not pvp-enforced server, then paste aol code from items.xml and paste from movements
 
GReetings.

I've got a problem. On my ots when someone die he loses bp even he's got amulet of loss...

I'm trying all the time to make it work by I can't, if anyone could help please write there.

Thanks

This is how it should look on items.xml:

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

Notice it should be preventDrop instead of preventLoss.

Also this should be in movements.xml:

PHP:
	<movevent type="Equip" itemid="2173" slot="necklace" event="function" value="onEquipItem"/>
	<movevent type="DeEquip" itemid="2173" slot="necklace" event="function" value="onDeEquipItem"/>

Cheers~
 
Back
Top