Method SpellInfo:HasEffect [-] [+]

Checks if the SpellInfo has a specific effect.

A spell can have various effects such as damage, healing, or status changes. These effects are identified by a predefined set of constants represented by the 'SpellEffects' enumeration.

@return boolean : returns true if SpellInfo has the specific effect, else false

Synopsis

SpellInfo:HasEffect( effect )

Arguments

number effect

The specific effect to check..

Valid numbers: integers from 0 to 4,294,967,295.

Returns

Nothing.

Generated on
© 2010 - 2024 Eluna Lua Engine