|
Post by caradoc on Sept 15, 2020 3:53:37 GMT -6
I am trying to increase the choas and air warriors attack so they do more damage per hit but keep encountering the same issue. Can anyone help?
I have been using the levelmods0 and the unit files but when a change to the stats are made the stats values always go up more than intended.
I notice that some of the stats in the unit files are lower than they should be.
For example the Storm lord (aildf) has 8 attack in his unit files (the levelmods0 file is a line of 0's for lv 1) and yet his displayed attack in game is 13.
Does anyone know where the extra attack value is coming from?
- I thought it might be the primary unit stats table but if so then it makes no sense which line the code uses to determine the bonus?
|
|
|
Post by Boaster on Sept 15, 2020 5:53:56 GMT -6
I am trying to increase the choas and air warriors attack so they do more damage per hit but keep encountering the same issue. Can anyone help? I have been using the levelmods0 and the unit files but when a change to the stats are made the stats values always go up more than intended. I notice that some of the stats in the unit files are lower than they should be. For example the Storm lord (aildf) has 8 attack in his unit files (the levelmods0 file is a line of 0's for lv 1) and yet his displayed attack in game is 13. Does anyone know where the extra attack value is coming from? - I thought it might be the primary unit stats table but if so then it makes no sense which line the code uses to determine the bonus? Strength, Dexterity and Wisdom are "primary stats" which effect other stats. "Secondary stats" are either effected by Primary Stats or directly receive bonuses through Level modifiers. "Tertiary stats" are generally stats not directly effected by Primary, Secondary or Level modifiers. Stats effected by Strength include: Attack. Stats effected by Dexterity include: Armor, Ranged Attack. Stats effected by Wisdom include: Mana. See the 'stat_bonus_table' in that document, which is the reference '/dummy4'. (It is NOT literally called the 'stat_bonus_table' in the unmodded or GSZ mod). In the GS5, you'd look for 'strength_mod' 'dexterity_mod' and/or 'wisdom_mod'. Also, in the GS5, the following occurs: Strength, up to 40, provides 1 Attack per 1.5 points of Strength. After 40, it provides 1 Attack per 3.0 points of Strength. Dexterity, up to 30, provides 1 Armor (and Ranged Attack) per 1.5 points of Dexterity. After 30, it provides 1 Attack (and Ranged Attack) per 3.0 points of Dexterity. Wisdom, up to 10, provides to 1 Mana per 1.0 points of Wisdom. After 10, up to 30, it provides 1 Mana per 1.5 points of Wisdom. After 30, it provides 1 Mana per 3.0 points of Wisdom. The first 7 points of these primary stats is basically negated and count for zero. It's not until you reach 9 points of a stat, or 8 points in the cast of Wisdom:Mana, that you will see any bonus generated. In the GSZ and unmodded, it will run these primary stats against values in the 'stat_bonus_table', which is the '/dummy4' dictionary reference. As an extra bonus, which may initially to complicate your understanding, any time a /dummy variable is used, but is defined outside of the braces { } or [ ], you'll see it followed by 'replace'. References to the '/dummy' variables inside of that definition effectively get replaced by those contents. A 'replace' is almost like a defining a variable within a variable.
|
|