Method SpellInfo:IsAffected [-] [+]
Returns true if the SpellInfo is affected by the given spell family and flags, false otherwise.
The flags are a 96-bit value split into three uint32 components.
Synopsis
isAffected = SpellInfo:IsAffected( familyName, flag0, flag1, flag2 )
Arguments
number familyNameThe spell family name to check.
Valid numbers: integers from 0 to 4,294,967,295.
number flag0The first 32 bits of the spell family flags.
Valid numbers: integers from 0 to 4,294,967,295.
number flag1The second 32 bits of the spell family flags.
Valid numbers: integers from 0 to 4,294,967,295.
number flag2The third 32 bits of the spell family flags.
Valid numbers: integers from 0 to 4,294,967,295.
Returns
boolean isAffected- See method description.