Class SpellInfo [-] [+]
Represents spell metadata used for behavior, targeting, attributes, mechanics, auras, and conditions.
Unlike SpellEntry, this class includes helper functions and logic used to determine spell behavior in-game. Used for checking if a spell is passive, area-targeted, profession-related, or has specific effects or auras.
Inherits all methods from: none
Methods
| CanBeUsedInCombat |
Returns |
| CanDispelAura |
Returns |
| CanPierceImmuneAura |
Returns |
| CheckExplicitTarget |
Returns |
| CheckLocation |
Returns |
| CheckShapeshift |
Returns |
| CheckTarget |
Returns |
| CheckTargetCreatureType |
Returns |
| GetAllEffectsMechanicMask |
Returns a combined mechanic mask of all effects for the SpellInfo. |
| GetAttributes |
Retrieves the attributes of the SpellInfo based on the attribute type. |
| GetAuraState |
Returns the aura state requirement for the SpellInfo. |
| GetCategory |
Retrieves the category of the SpellInfo. |
| GetDispelMask |
Returns the dispel mask for the SpellInfo. |
| GetEffectMechanic |
Returns the mechanic of the specified effect index in the SpellInfo. |
| GetEffectMechanicMask |
Returns the mechanic mask of a specific effect of the SpellInfo. |
| GetExplicitTargetMask |
Returns the explicit target mask of the SpellInfo. |
| GetName |
Returns the name of the SpellInfo |
| GetSchoolMask |
Returns the school mask of the SpellInfo. |
| GetSpellMechanicMaskByEffectMask |
Returns the mechanic mask for the SpellInfo based on an effect bitmask. |
| GetSpellSpecific |
Returns the spell specific type of the SpellInfo. |
| HasAreaAuraEffect |
Checks if the SpellInfo has an area aura effect. |
| HasAttribute |
Checks if the SpellInfo has a specific attribute. |
| HasAura |
Checks if the SpellInfo has a specific aura. |
| HasEffect |
Checks if the SpellInfo has a specific effect. |
| IsAbilityLearnedWithProfession |
Checks if the SpellInfo represents an ability learned with a profession skill. |
| IsAbilityOfSkillType |
Checks if the SpellInfo represents an ability of a specific skill type. |
| IsAffectedBySpellMods |
Returns |
| IsAffectingArea |
Determines whether the SpellInfo affects an area (AOE - Area of Effect) |
| IsAllowingDeadTarget |
Returns |
| IsAuraExclusiveBySpecificPerCasterWith |
Returns |
| IsAuraExclusiveBySpecificWith |
Returns |
| IsAutoRepeatRangedSpell |
Returns |
| IsAutocastable |
Checks if the SpellInfo represents a spell or ability that can be set to autocast. |
| IsBreakingStealth |
Returns |
| IsChanneled |
Returns |
| IsCooldownStartedOnEvent |
Returns a boolean indicating whether the cooldown has started on the event associated with the SpellInfo |
| IsDeathPersistent |
Returns a boolean indicating whether the death is persistent for the given SpellInfo |
| IsExplicitDiscovery |
Checks if the SpellInfo is an explicit discovery. |
| IsLootCrafting |
Checks if the SpellInfo is related to loot crafting. |
| IsMultiSlotAura |
Checks if the SpellInfo represents a multi-slot aura spell or effect. |
| IsPassive |
Checks if the SpellInfo represents a passive spell or ability. |
| IsPassiveStackableWithRanks |
Checks if the SpellInfo represents a passive spell or ability that is stackable with different ranks. |
| IsPositive |
Returns |
| IsPositiveEffect |
Returns |
| IsPrimaryProfession |
Checks if the SpellInfo is related to a primary profession skill. |
| IsPrimaryProfessionFirstRank |
Checks if the SpellInfo represents the first rank of a primary profession skill. |
| IsProfession |
Checks if the SpellInfo is related to a profession skill. |
| IsProfessionOrRiding |
Checks if the SpellInfo is related to a Profession skill or Riding skill. |
| IsRangedWeaponSpell |
Returns |
| IsRequiringDeadTarget |
Returns a boolean indicating whether the SpellInfo requires a dead target |
| IsSelfCast |
Checks if the SpellInfo represents a self-casting spell or ability. |
| IsSingleTarget |
Returns |
| IsStackableWithRanks |
Determines if the SpellInfo represents a spell or ability that stack with different ranks. |
| IsTargetingArea |
Determines if the SpellInfo represents a spell or ability that targets an area. |
| NeedsComboPoints |
Returns |
| NeedsExplicitUnitTarget |
Checks if the SpellInfo requires an explicit unit target. |
| NeedsToBeTriggeredByCaster |
Checks if the SpellInfo requires to be triggered by the caster of another specified SpellInfo. |