2009-07-06, 03:39 AM
This is driving me nuts, I gotta figure this out before I can go forward...
PS: If you're reading this John, I'd really like to know if the manual says anything about damage calculation. I can't believe there is not a debugger option to display damage in hit points??
--------------------------
Anyway, after some monkeying with the defense setting (having isolated hp in my project) it became apparent the defense based calculations were not linear. I don't know what they are just yet. But I've done some initial experiments to figure out at least what the weapon stats mean, and how strength effects them. The raw data is thus...
This is 1 strength + 1 attack point upon a monster with 0 def and 10hp. The numbers are the strength stat = the number of hits to kill the monster...
1=10
2=10
3=10
4=10
5=5
6=5
7=5
8=5
9=5
10=4
11=4
12=4
13=4
14=4
15=3
16=3
17=3
18=3
19=3
20=2
45=1
I can't say exactly what this means at this point right off the top of my head, but it's here for your information for now. At any rate we can see that at 45str we're dealing 10 points of damage with an attack of 1.
The next batch of numbers is increasing the weapon attack stat only. As you can see it seems to raise completely linearly. Ie. 1 attack is 1hp damage, 2 attack is 2hp, and so on...
1=10
2=5
3=4
4=3
5=2
The next time I come back to this I will try to factor in defense / maybe have a hypothesis for strength ready. The only thing I can say for sure is
the damage is rounded to the nearest integer (probably always downward ) ...Ie. why it goes straight from 10 to 5 so suddenly even though the strength to damage growth is fractional.
^the roundoff thing can present unexpected behavior if you start the game with too low of numbers.
PS: If you're reading this John, I'd really like to know if the manual says anything about damage calculation. I can't believe there is not a debugger option to display damage in hit points??
--------------------------
Anyway, after some monkeying with the defense setting (having isolated hp in my project) it became apparent the defense based calculations were not linear. I don't know what they are just yet. But I've done some initial experiments to figure out at least what the weapon stats mean, and how strength effects them. The raw data is thus...
This is 1 strength + 1 attack point upon a monster with 0 def and 10hp. The numbers are the strength stat = the number of hits to kill the monster...
1=10
2=10
3=10
4=10
5=5
6=5
7=5
8=5
9=5
10=4
11=4
12=4
13=4
14=4
15=3
16=3
17=3
18=3
19=3
20=2
45=1
I can't say exactly what this means at this point right off the top of my head, but it's here for your information for now. At any rate we can see that at 45str we're dealing 10 points of damage with an attack of 1.
The next batch of numbers is increasing the weapon attack stat only. As you can see it seems to raise completely linearly. Ie. 1 attack is 1hp damage, 2 attack is 2hp, and so on...
1=10
2=5
3=4
4=3
5=2
The next time I come back to this I will try to factor in defense / maybe have a hypothesis for strength ready. The only thing I can say for sure is
the damage is rounded to the nearest integer (probably always downward ) ...Ie. why it goes straight from 10 to 5 so suddenly even though the strength to damage growth is fractional.
^the roundoff thing can present unexpected behavior if you start the game with too low of numbers.