Zerox009
Member
- Joined
- Dec 20, 2007
- Messages
- 17
- Reaction score
- 7
Hello, I'm working on a project, which is that depending on your weapons you can have a certain ability in the game, but I noticed that when a condition such as the attribute of an item becomes negative, it becomes positive, causing it to automatically turn positive
Example:
<item id="8881" article="a" name="fireborn giant armor">
<attribute key="weight" value="12000" />
<attribute key="armor" value="15" />
<attribute key="skillSword" value="-40" />
<attribute key="absorbPercentFire" value="5" />
<attribute key="absorbPercentIce" value="-5" />
<attribute key="slotType" value="body" />
</item>
if the player has skill 10
the character is left with 65506 skills, and I can't get it to stay at 0 better
I am using tfs 1.4 the master
Thank you very much in advance
Example:
<item id="8881" article="a" name="fireborn giant armor">
<attribute key="weight" value="12000" />
<attribute key="armor" value="15" />
<attribute key="skillSword" value="-40" />
<attribute key="absorbPercentFire" value="5" />
<attribute key="absorbPercentIce" value="-5" />
<attribute key="slotType" value="body" />
</item>
if the player has skill 10
the character is left with 65506 skills, and I can't get it to stay at 0 better
I am using tfs 1.4 the master
Thank you very much in advance