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

equipment in items.xml and movements.xml

Huli

New Member
Joined
Jan 14, 2011
Messages
54
Reaction score
2
I'm trying to make an item that will be modified in game if it gets the actionid, but when I change the line in movements.xml to

PHP:
	<movevent type="Equip" itemid="7897" function="onEquipItem" slot="armor" level="50" script="addhp.lua"/ >
	<movevent type="DeEquip" itemid="7897" function="onDeEquipItem" slot="armor" script="addhp.lua" />

it won't read the attributes from items.xml anymore. Is it possible to get it to read both or do I need to fix the original attributes in the script too?
 
it wont read only abilities executed onEquip and onDeEquip
and it is possible from some 0.4 rev by calling onEquip and onDeEquip in proper places(at least it should be, in others I have no idea how to make it work)
 
Back
Top Bottom