EDIT: SOLVED, solution can be found in the Best Answer by Xeraphus (Post #10)
Guys, I am creating a new system based on: Feature - Random Attributes, but I want to make it for TFS 1.2
First post was a mess so I edited everything. Basically what I am trying to do is add new attributes on TFS 1.2 that can be used at items.xml
For instance:
So on top of the base attack of the weapon, he will receive a random bonus from 0 to "attackMax", which in this example is 11, so a shortsword which has a base attack of 11 would get bonus damage from 0 to 11, with a total of 11-22 damage that would be determined randomly.
However unlike the system I am basing myself on, TFS 1.2 does not have a readXML function, and everytime I try to insert a XML tmpStrValue I get this warning when executing the server:
Guys, I am creating a new system based on: Feature - Random Attributes, but I want to make it for TFS 1.2
First post was a mess so I edited everything. Basically what I am trying to do is add new attributes on TFS 1.2 that can be used at items.xml
For instance:
XML:
<attribute key="attackMax" value="11" />
However unlike the system I am basing myself on, TFS 1.2 does not have a readXML function, and everytime I try to insert a XML tmpStrValue I get this warning when executing the server:
C++:
[Warning - Items::parseItemNode] Unknown key value: attackMax
Last edited: