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.

Synopsis

has_effect = SpellInfo:HasEffect( effect )

Arguments

uint8 effect

The specific effect to check..

Returns

bool has_effect
See method description.

Generated on
©2016 - Eluna Lua Engine