Vitor Luna
New Member
- Joined
- Jul 15, 2015
- Messages
- 6
- Reaction score
- 0
I have a question regarding tfs 1.3 or higher, about handling item.xml attributes.
If I need to manipulate attributes such as attack, defense, armor, extradefense I can use simple commands, such as:
item:getAtributte(ITEM_ATTRIBUTE_ATTACK)
item:setAttribute(ITEM_ATTRIBUTE_ATTACK, 10)
Since these attributes are declared as itemAttrTypes, how can I manipulate other information such as skillSword, skillAxe, skillClub, as these are declared as skills_t?
Is there any way to manipulate these attributes as well as getAtributte and setAtributte?
If I need to manipulate attributes such as attack, defense, armor, extradefense I can use simple commands, such as:
item:getAtributte(ITEM_ATTRIBUTE_ATTACK)
item:setAttribute(ITEM_ATTRIBUTE_ATTACK, 10)
Since these attributes are declared as itemAttrTypes, how can I manipulate other information such as skillSword, skillAxe, skillClub, as these are declared as skills_t?
Is there any way to manipulate these attributes as well as getAtributte and setAtributte?