Instead of configuring each spell manually, I want to read there informations directly in BDC.
I'm doing it like this :
- get spellId in my spellBar
- Read Spells.dbc and find my spell (according to its id)
- According to SpellCooldownsId (in Spell.dbc) I read SpellCooldown.dbc
I've a problem with unholly DK spell "Death Grip".
In my bar I've spellId = 49576 ( Death Grip - Spell - World of Warcraft )
and DBC reader give me following info :
Code:
[2]ID: 49576
[2]Name: Death Grip
[2]Desc: Harness the unholy energy that surrounds and binds all matter, drawing the target toward the death knight and forcing the enemy to attack the death knight for $49560d.
[2]Minrange: 0
[2]Maxrange: 30
[2]CD: 0
[2]GCD: 0
[2]CastTime: 0
[2]CastTimePerLevel: 0
As you can see cooldowns are not corrects.
"Death Grip" appears many time in Spell.dbc and some of theses occurrences are corrects but do not correspond to my spellID. Ex :
Code:
[4]ID: 53276
[4]Name: Death Grip
[4]Desc: Harness the unholy energy that surrounds and binds all matter, drawing the target toward the Death Knight and forcing the enemy to attack the Death Knight for $49560d.
[4]Minrange: 0
[4]Maxrange: 30
[4]CD: 35000
[4]GCD: 0
[4]CastTime: 0
[4]CastTimePerLevel: 0
[4]SpellLevel: 55
I'm pretty sure my DBCreader is correct.
Does anyone else have same problem than me?
If you know the solution can you show me right direction plz, but I'm pretty lost.