Mines Malingerer
Posts: 46
Joined: Tuesday, 21st December 2010, 10:13
Location: Japan
Spell Damage Calculation
So I was checking out zap-data.h
Spell data looks like this..
So as far as I can tell the damage a player will deal with this spell is:
At max power:
2d (4 + (maxpower= 50) * 1 / 10)
2d9
2-18
Now if I look at a spell like Poison arrow
At max power:
4d(15 + (maxpower= 200) *1 / 1)
4d215
4-860
Clearly poison arrow doesn't do a maximum of 860 damage. What am I missing here? There seems to be a dicedef_calculator and calcdice_calculator but I don't see what the difference is between them.
Spell data looks like this..
So as far as I can tell the damage a player will deal with this spell is:
At max power:
2d (4 + (maxpower= 50) * 1 / 10)
2d9
2-18
Now if I look at a spell like Poison arrow
At max power:
4d(15 + (maxpower= 200) *1 / 1)
4d215
4-860
Clearly poison arrow doesn't do a maximum of 860 damage. What am I missing here? There seems to be a dicedef_calculator and calcdice_calculator but I don't see what the difference is between them.