Jump to content

Recommended Posts

Posted

hi at all, could someone explain me how i can get the family mask of some spells?

for exemple, how i get the family mask of all ranks of mutilate :)

Posted

If you look into the soruce, you'll clearly see that the spellfamilyflag for all ranks of a spell is usually the same. These familyflags are collected from dbc files. There're 3 of them in dbc and 2 of them in the source as the first 2 are "put together". Getting them is pretty easy look around in the contrib directory of the source and you'll find a few useful tools.

Posted
If you look into the soruce, you'll clearly see that the spellfamilyflag for all ranks of a spell is usually the same. These familyflags are collected from dbc files. There're 3 of them in dbc and 2 of them in the source as the first 2 are "put together". Getting them is pretty easy look around in the contrib directory of the source and you'll find a few useful tools.

ok i look in spell.dbc file i got for exemple the ambush family flag in the 200-201 column, i take a random number (not the correct one, just exemple) like 8967.

this is the decimal value right? i convert it into hex so i have 0x2307 right?

so it should be

SpellFamilyFlags & 0x2307 right?

but what are for istance SpellFamilyFlags & UI64LIT(0x12040000)

:rolleyes:

Posted
UI64LIT is a simple macro for handling 64 bit values.

in conclusion... if the decimal value of the flag is for exemple 8967, and the hex value is 2307, the correct form is

SpellFamilyFlags & 0x2307 ?

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use