Nevergrind Forums https://nevergrind.com/forums/ |
|
Damage Calc https://nevergrind.com/forums/viewtopic.php?f=1&t=386 |
Page 1 of 1 |
Author: | Feragh [ Wed Apr 09, 2014 7:08 pm ] |
Post subject: | Damage Calc |
Does anyone know the damage calc for melee and magic damage? I am trying to test out a few combinations and some of the results seem a bit strange so far. |
Author: | TerdarE'ci [ Sun Apr 13, 2014 6:28 am ] |
Post subject: | Re: Damage Calc |
I would also like to know this, as well as how life and mana leech are applied. |
Author: | Maelfyn [ Sun Apr 13, 2014 11:30 am ] |
Post subject: | Re: Damage Calc |
Let's say you have +10 life leech. Let's say you're on normal difficulty. Let's say you just backstabbed for 500 damage. 30% of that physical damage is leechable. So reduce it to 150 damage. You will leech 10% of that. You leech 15 health. So in reality +10 life leech is actually 3% life leech on normal difficulty. On nightmare this drops to 2%. On hell this drops to 1.5%. |
Author: | Maelfyn [ Sun Apr 13, 2014 11:46 am ] |
Post subject: | Re: Damage Calc |
I wouldn't mind explaining the damage calc, but it hurts my head just thinking about it. Just know the damage/delay and attack are probably the most important things for melee damage. Spell damage is much more straight-forward and is tied to your spell skill level and of course gets altered by stuff like +% magic damage just like physical damage does, too. |
Author: | Maelfyn [ Sun Apr 13, 2014 12:00 pm ] | ||||||||||||||||||||||||||||||||||||
Post subject: | Re: Damage Calc | ||||||||||||||||||||||||||||||||||||
Feel free to sift the code if you're insane enough to try reading my awful code. Some trivial non-topic lines removed for your sanity: Determine if hit is a crit, assess skill cost,
Normalize a random base damage value for melee skills using primary melee weapon (off-hand weapons do not affect skill damage)
Commit physical damage:
Example melee skill using Rogue's Shadow Strike:
|
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |