Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Serverside Modding => Topic started by: Vortalex on April 22, 2013, 06:16:05 am
-
Okay, so I understand how the FamilyName and Flags works. They are used in the 9 EffectSpellClassMaskA through C columns to connect spells.
I've searched through the DBC and can't find what Spell connects to "Shield of Righteousness" to convert Block Value into Damage.
I also can't find the spell that connects to hunter spells to make ranged spells cost ammo.
Is there anyone experienced with the Spell.dbc who can tell me what I'm doing wrong? Or is it even located in the Spell.dbc? I don't know, please let me know.
-
I also can't get my spell to use Normalized RANGED Weapon Damage.
If anyone know how to fix that, I'd be happy.
-
Still waiting for a fix.
-
It could be hot-fixed in the core. Do either of the spells you mentioned have any values in the MiscValue columns? Also check that they aren't activating second spells.
-
Well, actually, there's no spell that connects to ranged attacks to make them use ammo. Instead, they use this
SPELL_ATTR0_REQ_AMMO = 0x00000002, // 1 on next ranged
Put a 2 in the 4th column (In the column number 4 considering there's a number 0 column) of your spell and it should cost ammo.
About "Shield of Righteousness", i've been looking at Spell.dbc and, if u look properly u will see right behind the flat damage of the spell (80th column), a number, in this case, 99. I haven't tried nothing right now, but seems it defines how much of your block value adds into the flat damage. To test it properly, you should swap 99 to 999 to add 1000% of your block value to the damage, if it works, you got it.
PD: Sorry for my english :P