Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: Night on August 04, 2011, 11:51:35 pm

Title: 1.12 spell.dbc min & max damage
Post by: Night on August 04, 2011, 11:51:35 pm
Hey there!
To put it in a nutshell, can somebody explain me how to calculate the damage done by spells from the infos given by the spell.dbc? (1.12 client)
Row 77 (starting from 0) seems to be the min damage -1, but I can't find anything about the max damage. I've already played a lot(!) with the surrounding rows, like taking two bits and add it to the min damage and such crazy stuff... Sometimes it works, sometimes it doesn't, but I need a valid solution for all spells! (and I'm way to lazy to write down 34927 values...)

I hope somebody knows how it is done, or I'm going insane!  :udumb:


Cheers,
Night

PS:
I'll upload an 1.12 spell.dbc just in case somebody want to take a look at it.