Class SpellInfo [-] [+]

Methods

CalcCastTime

Returns the calculated cast time in milliseconds of the SpellInfo.

CanBeUsedInCombat

Returns true if the SpellInfo can be used in combat, false otherwise.

CanDispelAura

Returns true if the SpellInfo can dispel the given SpellInfo, false otherwise.

CanPierceImmuneAura

Returns true if the SpellInfo can pierce the immunity provided by the given SpellInfo, false otherwise.

CanSpellProvideImmunityAgainstAura

Returns true if the SpellInfo can provide immunity against the given SpellInfo, false otherwise.

CheckTarget

Checks whether the SpellInfo can be cast on the given target by the given caster. Returns the [SpellCastResult] of the check.

CheckTargetCreatureType

Returns true if the given Unit matches the required creature type for the SpellInfo, false otherwise.

EffectIsAreaAuraEffect

Returns true if the given effect slot of the SpellInfo is an area aura effect, false otherwise.

EffectIsAura

Returns true if the given effect slot of the SpellInfo applies an aura, false otherwise.

EffectIsAuraType

Returns true if the given effect slot of the SpellInfo applies the given aura type, false otherwise.

EffectIsEffect

Returns true if the given effect slot of the SpellInfo is an effect, false otherwise.

EffectIsEffectType

Returns true if the given effect slot of the SpellInfo is the given effect type, false otherwise.

EffectIsTargetingArea

Returns true if the given effect slot of the SpellInfo is targeting an area, false otherwise.

EffectIsUnitOwnedAuraEffect

Returns true if the given effect slot of the SpellInfo is a unit owned aura effect, false otherwise.

GetActiveIconID

Returns the active icon ID of the SpellInfo.

GetAllEffectsMechanicMask

Returns a bitmask of all mechanics used across all effects of the SpellInfo.

GetAllowedMechanicMask

Returns the allowed mechanic mask of the SpellInfo.

GetAreaGroupId

Returns the area group ID of the SpellInfo.

GetAttackType

Returns the weapon attack type of the SpellInfo.

GetAttributes

Returns the attributes of the SpellInfo.

GetAttributesCu

Returns the custom attributes of the SpellInfo.

GetAttributesEx

Returns the first extended attributes of the SpellInfo.

GetAttributesEx2

Returns the second extended attributes of the SpellInfo.

GetAttributesEx3

Returns the third extended attributes of the SpellInfo.

GetAttributesEx4

Returns the fourth extended attributes of the SpellInfo.

GetAttributesEx5

Returns the fifth extended attributes of the SpellInfo.

GetAttributesEx6

Returns the sixth extended attributes of the SpellInfo.

GetAttributesEx7

Returns the seventh extended attributes of the SpellInfo.

GetAuraInterruptFlags

Returns the aura interrupt flags of the SpellInfo.

GetAuraState

Returns the aura state of the SpellInfo.

GetBaseLevel

Returns the base level required to cast the SpellInfo.

GetCasterAuraSpell

Returns the spell ID that must be active on the caster to cast the SpellInfo.

GetCasterAuraState

Returns the caster aura state required to cast the SpellInfo.

GetCasterAuraStateNot

Returns the caster aura state that prevents casting the SpellInfo.

GetCategory

Returns the category of the SpellInfo.

GetCategoryRecoveryTime

Returns the category recovery time in milliseconds of the SpellInfo.

GetChannelInterruptFlags

Returns the channel interrupt flags of the SpellInfo.

GetDiminishingReturnsGroupForSpell

Returns the diminishing returns group for the SpellInfo.

GetDiminishingReturnsGroupType

Returns the diminishing returns group type for the SpellInfo.

GetDiminishingReturnsLimitDuration

Returns the diminishing returns limit duration in milliseconds for the SpellInfo.

GetDiminishingReturnsMaxLevel

Returns the diminishing returns max level for the SpellInfo.

GetDispel

Returns the dispel type of the SpellInfo.

GetDmgClass

Returns the damage class of the SpellInfo.

GetDuration

Returns the duration in milliseconds of the SpellInfo.

GetEffectAmplitude

Returns the amplitude in milliseconds of the given effect slot of the SpellInfo.

GetEffectApplyAuraName

Returns the aura type applied by the given effect slot of the SpellInfo.

GetEffectBasePoints

Returns the base points of the given effect slot of the SpellInfo.

GetEffectBonusMultiplier

Returns the bonus multiplier of the given effect slot of the SpellInfo.

GetEffectCalcRadius

Returns the calculated radius for the given effect slot of the SpellInfo.

GetEffectCalcValue

Returns the calculated value for the given effect slot of the SpellInfo.

GetEffectChainTarget

Returns the chain target count of the given effect slot of the SpellInfo.

GetEffectDamageMultiplier

Returns the damage multiplier of the given effect slot of the SpellInfo.

GetEffectDieSides

Returns the die sides of the given effect slot of the SpellInfo.

GetEffectHasRadius

Returns true if the given effect slot of the SpellInfo has a radius, false otherwise.

GetEffectImplicitTargetType

Returns the implicit target type for the given effect slot of the SpellInfo.

GetEffectIndex

Returns the effect index of the given effect slot of the SpellInfo.

GetEffectItemType

Returns the item type entry of the given effect slot of the SpellInfo.

GetEffectMechanic

Returns the mechanic for the given effect index of the SpellInfo.

GetEffectMechanicMask

Returns the mechanic mask for the given effect index of the SpellInfo.

GetEffectMiscValue

Returns the misc value of the given effect slot of the SpellInfo.

GetEffectMiscValueB

Returns the secondary misc value of the given effect slot of the SpellInfo.

GetEffectPointsPerComboPoint

Returns the points per combo point of the given effect slot of the SpellInfo.

GetEffectProvidedTargetMask

Returns the provided target mask for the given effect slot of the SpellInfo.

GetEffectRealPointsPerLevel

Returns the real points per level of the given effect slot of the SpellInfo.

GetEffectSpellClassMask

Returns the spell class mask component at the given mask index for the given effect slot of the SpellInfo. The mask is a 96-bit value split into three uint32 components (index 0-2).

GetEffectTargetACheckType

Returns the target A check type of the given effect slot of the SpellInfo.

GetEffectTargetADirectionAngle

Returns the calculated direction angle for target A of the given effect slot of the SpellInfo.

GetEffectTargetADirectionType

Returns the target A direction type of the given effect slot of the SpellInfo.

GetEffectTargetAIsArea

Returns true if target A of the given effect slot of the SpellInfo is an area target, false otherwise.

GetEffectTargetAObjectType

Returns the target A object type of the given effect slot of the SpellInfo.

GetEffectTargetAReferenceType

Returns the target A reference type of the given effect slot of the SpellInfo.

GetEffectTargetASelectionCategory

Returns the target A selection category of the given effect slot of the SpellInfo.

GetEffectTargetATarget

Returns the target A type of the given effect slot of the SpellInfo.

GetEffectTargetBCheckType

Returns the target B check type of the given effect slot of the SpellInfo.

GetEffectTargetBDirectionAngle

Returns the calculated direction angle for target B of the given effect slot of the SpellInfo.

GetEffectTargetBDirectionType

Returns the target B direction type of the given effect slot of the SpellInfo.

GetEffectTargetBIsArea

Returns true if target B of the given effect slot of the SpellInfo is an area target, false otherwise.

GetEffectTargetBObjectType

Returns the target B object type of the given effect slot of the SpellInfo.

GetEffectTargetBReferenceType

Returns the target B reference type of the given effect slot of the SpellInfo.

GetEffectTargetBSelectionCategory

Returns the target B selection category of the given effect slot of the SpellInfo.

GetEffectTargetBTarget

Returns the target B type of the given effect slot of the SpellInfo.

GetEffectTriggerSpell

Returns the trigger spell ID of the given effect slot of the SpellInfo.

GetEffectType

Returns the effect type of the given effect slot of the SpellInfo.

GetEffectUsedTargetObjectType

Returns the used target object type for the given effect slot of the SpellInfo.

GetEffectValueMultiplier

Returns the value multiplier of the given effect slot of the SpellInfo.

GetEquippedItemClass

Returns the required equipped item class of the SpellInfo.

GetEquippedItemInventoryTypeMask

Returns the required equipped item inventory type mask of the SpellInfo.

GetEquippedItemSubClassMask

Returns the required equipped item subclass mask of the SpellInfo.

GetExcludeCasterAuraSpell

Returns the spell ID that must not be active on the caster to cast the SpellInfo.

GetExcludeTargetAuraSpell

Returns the spell ID that must not be active on the target to cast the SpellInfo.

GetExplicitTargetMask

Returns the explicit target mask of the SpellInfo.

GetFacingCasterFlags

Returns the facing caster flags of the SpellInfo.

GetId

Returns the ID of the SpellInfo.

GetInterruptFlags

Returns the interrupt flags of the SpellInfo.

GetManaCost

Returns the mana cost of the SpellInfo.

GetManaCostPercentage

Returns the mana cost percentage of the SpellInfo.

GetManaCostPerlevel

Returns the mana cost per level of the SpellInfo.

GetManaPerSecond

Returns the mana per second drain of the SpellInfo.

GetManaPerSecondPerLevel

Returns the mana per second per level drain of the SpellInfo.

GetMaxAffectedTargets

Returns the maximum number of affected targets of the SpellInfo.

GetMaxDuration

Returns the maximum duration in milliseconds of the SpellInfo.

GetMaxLevel

Returns the maximum level of the SpellInfo.

GetMaxRange

Returns the maximum range of the SpellInfo.

GetMaxTargetLevel

Returns the maximum target level of the SpellInfo.

GetMaxTicks

Returns the maximum number of ticks of the SpellInfo.

GetMechanic

Returns the mechanic of the SpellInfo.

GetMinRange

Returns the minimum range of the SpellInfo.

GetPowerType

Returns the power type of the SpellInfo.

GetPreventionType

Returns the prevention type of the SpellInfo.

GetPriority

Returns the priority of the SpellInfo.

GetProcChance

Returns the proc chance of the SpellInfo.

GetProcCharges

Returns the proc charges of the SpellInfo.

GetProcFlags

Returns the proc flags of the SpellInfo.

GetRank

Returns the rank of the SpellInfo.

GetReagent

Returns the reagent entry at the given index for the SpellInfo.

GetReagentCount

Returns the reagent count at the given index for the SpellInfo.

GetRecoveryTime

Returns the recovery time in milliseconds of the SpellInfo.

GetRequiresSpellFocus

Returns the requires spell focus entry of the SpellInfo.

GetRuneCostID

Returns the rune cost ID of the SpellInfo.

GetSchoolMask

Returns the school mask of the SpellInfo.

GetSpeed

Returns the projectile speed of the SpellInfo.

GetSpellFamilyFlags

Returns the spell family flags of the SpellInfo at the given index. The flags are a 96-bit value split into three uint32 components (index 0-2).

GetSpellFamilyName

Returns the spell family name of the SpellInfo.

GetSpellIconID

Returns the spell icon ID of the SpellInfo.

GetSpellLevel

Returns the spell level of the SpellInfo.

GetSpellMechanicMaskByEffectMask

Returns the mechanic mask for the given effect mask of the SpellInfo.

GetSpellSpecific

Returns the spell specific type of the SpellInfo.

GetSpellVisual

Returns the spell visual ID at the given index for the SpellInfo.

GetStackAmount

Returns the stack amount of the SpellInfo.

GetStances

Returns the stances bitmask of the SpellInfo as uint32.

GetStancesNot

Returns the stances not bitmask of the SpellInfo as uint32.

GetStartRecoveryCategory

Returns the start recovery category of the SpellInfo.

GetStartRecoveryTime

Returns the start recovery time in milliseconds of the SpellInfo.

GetTargetAuraSpell

Returns the spell ID that must be active on the target to cast the SpellInfo.

GetTargetAuraState

Returns the target aura state required to cast the SpellInfo.

GetTargetAuraStateNot

Returns the target aura state that prevents casting the SpellInfo.

GetTargetCreatureType

Returns the target creature type of the SpellInfo.

GetTargets

Returns the targets bitmask of the SpellInfo.

GetTotem

Returns the totem entry at the given index for the SpellInfo.

GetTotemCategory

Returns the totem category entry at the given index for the SpellInfo.

HasAreaAuraEffect

Returns true if the SpellInfo has an area aura effect, false otherwise.

HasAura

Returns true if the SpellInfo has the given aura type, false otherwise.

HasEffect

Returns true if the SpellInfo has the given spell effect, false otherwise.

HasInitialAggro

Returns true if the SpellInfo has initial aggro, false otherwise.

HasOnlyDamageEffects

Returns true if the SpellInfo only has damage effects, false otherwise.

IsAbilityLearnedWithProfession

Returns true if the SpellInfo is an ability learned with a profession, false otherwise.

IsAbilityOfSkillType

Returns true if the SpellInfo is an ability of the given skill type, false otherwise.

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.

IsAffectedBySpellMod

Returns true if the SpellInfo is affected by the given [SpellModifier], false otherwise.

IsAffectedBySpellMods

Returns true if the SpellInfo is affected by spell mods, false otherwise.

IsAffectingArea

Returns true if the SpellInfo affects an area, false otherwise.

IsAllowingDeadTarget

Returns true if the SpellInfo allows targeting dead units, false otherwise.

IsAuraExclusiveBySpecificPerCasterWith

Returns true if the SpellInfo is exclusively stacking per caster with the given SpellInfo by specific aura, false otherwise.

IsAuraExclusiveBySpecificWith

Returns true if the SpellInfo is exclusively stacking with the given SpellInfo by specific aura, false otherwise.

IsAutoRepeatRangedSpell

Returns true if the SpellInfo is an auto repeat ranged spell, false otherwise.

IsAutocastable

Returns true if the SpellInfo is autocastable, false otherwise.

IsBreakingStealth

Returns true if the SpellInfo breaks stealth, false otherwise.

IsChanneled

Returns true if the SpellInfo is a channeled spell, false otherwise.

IsCooldownStartedOnEvent

Returns true if the SpellInfo cooldown is started on event, false otherwise.

IsDeathPersistent

Returns true if the SpellInfo persists through death, false otherwise.

IsDifferentRankOf

Returns true if the SpellInfo is a different rank of the given SpellInfo, false otherwise.

IsExplicitDiscovery

Returns true if the SpellInfo is an explicit discovery spell, false otherwise.

IsGroupBuff

Returns true if the SpellInfo is a group buff, false otherwise.

IsHighRankOf

Returns true if the SpellInfo is a higher rank than the given SpellInfo, false otherwise.

IsItemFitToSpellRequirements

Returns true if the given Item fits the requirements of the SpellInfo, false otherwise.

IsLootCrafting

Returns true if the SpellInfo is a loot crafting spell, false otherwise.

IsMoveAllowedChannel

Returns true if the SpellInfo allows movement while channeling, false otherwise.

IsMultiSlotAura

Returns true if the SpellInfo occupies multiple aura slots, false otherwise.

IsNextMeleeSwingSpell

Returns true if the SpellInfo is a next melee swing spell, false otherwise.

IsPassive

Returns true if the SpellInfo is a passive spell, false otherwise.

IsPassiveStackableWithRanks

Returns true if the SpellInfo is a passive spell stackable with ranks, false otherwise.

IsPositive

Returns true if the SpellInfo is a positive spell, false otherwise.

IsPositiveEffect

Returns true if the effect at the given index of the SpellInfo is positive, false otherwise.

IsPrimaryProfession

Returns true if the SpellInfo is a primary profession spell, false otherwise.

IsPrimaryProfessionFirstRank

Returns true if the SpellInfo is the first rank of a primary profession spell, false otherwise.

IsProfession

Returns true if the SpellInfo is a profession spell, false otherwise.

IsProfessionOrRiding

Returns true if the SpellInfo is a profession or riding spell, false otherwise.

IsRangedWeaponSpell

Returns true if the SpellInfo is a ranged weapon spell, false otherwise.

IsRankOf

Returns true if the SpellInfo is the same rank as the given SpellInfo, false otherwise.

IsRanked

Returns true if the SpellInfo is ranked, false otherwise.

IsRequiringDeadTarget

Returns true if the SpellInfo requires the target to be dead, false otherwise.

IsSelfCast

Returns true if the SpellInfo is a self cast spell, false otherwise.

IsSingleTarget

Returns true if the SpellInfo can only have a single target active at a time, false otherwise.

IsStackableOnOneSlotWithDifferentCasters

Returns true if the SpellInfo can stack on one slot from different casters, false otherwise.

IsStackableWithRanks

Returns true if the SpellInfo is stackable with ranks, false otherwise.

IsTargetingArea

Returns true if the SpellInfo targets an area, false otherwise.

NeedsComboPoints

Returns true if the SpellInfo requires combo points, false otherwise.

NeedsExplicitUnitTarget

Returns true if the SpellInfo needs an explicit unit target, false otherwise.

NeedsToBeTriggeredByCaster

Returns true if the SpellInfo needs to be triggered by the given triggering SpellInfo, false otherwise.

SpellCancelsAuraEffect

Returns true if the SpellInfo cancels the given AuraEffect, false otherwise.

Generated on
© 2010 - 2024 Eluna Lua Engine