yoiker
Member
- Joined
- Jan 21, 2012
- Messages
- 194
- Solutions
- 1
- Reaction score
- 9
Good morning to everyone from Venezuela. I make post because I need your help so that the slightest problem for it to an expert I can not solve and that's why I come to ask for your help.
The first problem is via movements . As you know well at least those attributes are to fire on stepping up the item not to harm the player nor acquire the status
But then to work I have to put it in movements.xml
Now the point is that I pass lua because I'm using a script with the same pants
And it has stopped working the attribute that has items.xml (suppress)
I appreciate your time to see the post and respond.
And if you want to see the lua leave the message and posting
The first problem is via movements . As you know well at least those attributes are to fire on stepping up the item not to harm the player nor acquire the status
Code:
<item id="2647" name="plate legs">
<attribute key="weight" value="5000" />
<attribute key="armor" value="7" />
<attribute key="suppressDrown" value="50" />
<attribute key="suppressFire" value="100" />
<attribute key="suppressPoison" value="100" />
<attribute key="suppressEnergy" value="100" />
<attribute key="slotType" value="legs" />
</item>
But then to work I have to put it in movements.xml
Code:
<movevent event="Equip" itemid="2647" slot="legs" function="onEquipItem" />
<movevent event="DeEquip" itemid="2647" slot="legs" function="onDeEquipItem" />
Now the point is that I pass lua because I'm using a script with the same pants
Code:
<movevent event="Equip" itemid="2647" slot="legs" script="xxx.lua">
</movevent>
<movevent event="DeEquip" itemid="2647" slot="legs" script="xxx.lua"/>
And it has stopped working the attribute that has items.xml (suppress)
I appreciate your time to see the post and respond.
And if you want to see the lua leave the message and posting