A bit of revival here. I started working on this again.
I need some help with Raise Skeleton. I have some problems with its damage calculations, and I'd like to ask the help of those who know how they work. It's a bit weird, and I can't get a 100% accurate damage displayed.
1) The bonus percent to damage on Raise Skeleton is 10% less in the skill description ingame than in skills.txt. I'm not sure which is right, although I suppose skills.txt is. I am using the latter in the calculations right now.
Code:
damagepercent ((lvl < 4) ? 0 : ((lvl-2)*par3))
Which means (par3 is 10%/lvl):
Lvl1-3: 0%
Lvl4: 20% (ingame: 10%)
Lvl5: 30% (ingame: 20%)
and so on.
2) I found 2 formulas connected to the damage of skellies:
Code:
- damagepercent ((lvl < 4) ? 0 : ((lvl-2)*par3))
- item_normaldamage skill('Skeleton Mastery'.lvl) * skill('Skeleton Mastery'.par2) + edmn
(value of par2 is 2)
(damage value of item_normaldamage is 1)
However, edmn is quite strange here: the file lists min damage level of tiers only, no max damage.
Code:
EMin EMinLev1 EMinLev2 EMinLev3 EMinLev4 EMinLev5
0 0 1 2 3 4
From all these, I draw the conclusion that the formula should look like this:
Code:
item_normaldamage + SMasteryLvl * SMastery.par2 + edmn
1 + SMasteryLvl * 2 + edmn
This, however, does not work, or my excel calculations are screwed up.
So.. I would like to ask the help of someone experienced with these. Thank you!
Btw I could actually get min damage to display accurate damage from level 1-20, but I had to change the tier ranges in the formula and the Tier progression values, but this isn't an elegant way of doing it and I can't get max damage to work.