This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] Spell.dbc - SpellFamilyFlags problem  (Read 1879 times)

Vortalex

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 253
    • View Profile
[QUESTION] Spell.dbc - SpellFamilyFlags problem
« 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vortalex

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 253
    • View Profile
Re: [QUESTION] Spell.dbc - SpellFamilyFlags problem
« Reply #1 on: April 23, 2013, 01:07:37 am »
I also can't get my spell to use Normalized RANGED Weapon Damage.
If anyone know how to fix that, I'd be happy.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vortalex

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 253
    • View Profile
Re: [QUESTION] Spell.dbc - SpellFamilyFlags problem
« Reply #2 on: April 24, 2013, 04:33:30 pm »
Still waiting for a fix.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

XxXGenesisXxX

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 204
    • View Profile
Re: [QUESTION] Spell.dbc - SpellFamilyFlags problem
« Reply #3 on: April 30, 2013, 08:14:36 pm »
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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Hederick

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 4
    • View Profile
Re: [QUESTION] Spell.dbc - SpellFamilyFlags problem
« Reply #4 on: May 20, 2013, 04:28:13 pm »
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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »