TrinityCore
Loading...
Searching...
No Matches
SpellInfo Class Reference

#include <SpellInfo.h>

Classes

struct  ScalingInfo
 

Public Member Functions

 SpellInfo (SpellNameEntry const *spellName, ::Difficulty difficulty, SpellInfoLoadHelper const &data)
 
 SpellInfo (SpellNameEntry const *spellName, ::Difficulty difficulty, std::vector< SpellEffectEntry > const &effects)
 
 SpellInfo (SpellInfo const &)=delete
 
 SpellInfo (SpellInfo &&)=delete
 
 ~SpellInfo ()
 
SpellInfo & operator= (SpellInfo const &)=delete
 
SpellInfo & operator= (SpellInfo &&) noexcept=delete
 
uint32 GetCategory () const
 
bool HasEffect (SpellEffects effect) const
 
bool HasAura (AuraType aura) const
 
bool HasAreaAuraEffect () const
 
bool HasOnlyDamageEffects () const
 
bool HasTargetType (::Targets target) const
 
bool HasAttribute (SpellAttr0 attribute) const
 
bool HasAttribute (SpellAttr1 attribute) const
 
bool HasAttribute (SpellAttr2 attribute) const
 
bool HasAttribute (SpellAttr3 attribute) const
 
bool HasAttribute (SpellAttr4 attribute) const
 
bool HasAttribute (SpellAttr5 attribute) const
 
bool HasAttribute (SpellAttr6 attribute) const
 
bool HasAttribute (SpellAttr7 attribute) const
 
bool HasAttribute (SpellAttr8 attribute) const
 
bool HasAttribute (SpellAttr9 attribute) const
 
bool HasAttribute (SpellAttr10 attribute) const
 
bool HasAttribute (SpellAttr11 attribute) const
 
bool HasAttribute (SpellAttr12 attribute) const
 
bool HasAttribute (SpellAttr13 attribute) const
 
bool HasAttribute (SpellAttr14 attribute) const
 
bool HasAttribute (SpellAttr15 attribute) const
 
bool HasAttribute (SpellAttr16 attribute) const
 
bool HasAttribute (SpellCustomAttributes customAttribute) const
 
bool CanBeInterrupted (WorldObject const *interruptCaster, Unit const *interruptTarget, bool ignoreImmunity=false) const
 
bool HasAnyAuraInterruptFlag () const
 
bool HasAuraInterruptFlag (SpellAuraInterruptFlags flag) const
 
bool HasAuraInterruptFlag (SpellAuraInterruptFlags2 flag) const
 
bool HasChannelInterruptFlag (SpellAuraInterruptFlags flag) const
 
bool HasChannelInterruptFlag (SpellAuraInterruptFlags2 flag) const
 
bool IsExplicitDiscovery () const
 
bool IsLootCrafting () const
 
bool IsProfession () const
 
bool IsPrimaryProfession () const
 
bool IsPrimaryProfessionFirstRank () const
 
bool IsAbilityOfSkillType (uint32 skillType) const
 
bool IsAffectingArea () const
 
bool IsTargetingArea () const
 
bool NeedsExplicitUnitTarget () const
 
bool NeedsToBeTriggeredByCaster (SpellInfo const *triggeringSpell) const
 
bool IsPassive () const
 
bool IsAutocastable () const
 
bool IsAutocastEnabledByDefault () const
 
bool IsStackableWithRanks () const
 
bool IsPassiveStackableWithRanks () const
 
bool IsMultiSlotAura () const
 
bool IsStackableOnOneSlotWithDifferentCasters () const
 
bool IsCooldownStartedOnEvent () const
 
bool IsCooldownStartedOnEventAfterCombat () const
 
bool IsDeathPersistent () const
 
bool IsRequiringDeadTarget () const
 
bool IsAllowingDeadTarget () const
 
bool IsGroupBuff () const
 
bool CanBeUsedInCombat (Unit const *caster) const
 
bool IsPositive () const
 
bool IsPositiveEffect (uint8 effIndex) const
 
bool IsChanneled () const
 
bool IsMoveAllowedChannel () const
 
bool IsNextMeleeSwingSpell () const
 
bool IsAutoShot () const
 
bool IsRangedWeaponSpell () const
 
bool IsAutoRepeatRangedSpell () const
 
bool IsEmpowerSpell () const
 
bool HasInitialAggro () const
 
bool HasHitDelay () const
 
WeaponAttackType GetAttackType () const
 
bool IsItemFitToSpellRequirements (Item const *item) const
 
bool IsAffected (uint32 familyName, flag128 const &familyFlags) const
 
bool IsAffectedBySpellMods () const
 
int32 IsAffectedBySpellMod (SpellModifier const *mod) const
 
bool IsUpdatingTemporaryAuraValuesBySpellMod () const
 
bool CanPierceImmuneAura (SpellInfo const *auraSpellInfo) const
 
bool CanDispelAura (SpellInfo const *auraSpellInfo) const
 
bool IsSingleTarget () const
 
bool IsAuraExclusiveBySpecificWith (SpellInfo const *spellInfo) const
 
bool IsAuraExclusiveBySpecificPerCasterWith (SpellInfo const *spellInfo) const
 
SpellCastResult CheckShapeshift (uint32 form) const
 
SpellCastResult CheckLocation (uint32 map_id, uint32 zone_id, uint32 area_id, Player const *player=nullptr) const
 
SpellCastResult CheckTarget (WorldObject const *caster, WorldObject const *target, bool implicit=true) const
 
SpellCastResult CheckExplicitTarget (WorldObject const *caster, WorldObject const *target, Item const *itemTarget=nullptr) const
 
SpellCastResult CheckVehicle (Unit const *caster) const
 
bool CheckTargetCreatureType (Unit const *target) const
 
SpellSchoolMask GetSchoolMask () const
 
uint64 GetAllEffectsMechanicMask () const
 
uint64 GetEffectMechanicMask (SpellEffIndex effIndex) const
 
uint64 GetSpellMechanicMaskByEffectMask (uint32 effectMask) const
 
Mechanics GetEffectMechanic (SpellEffIndex effIndex) const
 
uint32 GetDispelMask () const
 
uint32 GetExplicitTargetMask () const
 
AuraStateType GetAuraState () const
 
SpellSpecificType GetSpellSpecific () const
 
float GetMinRange (bool positive=false) const
 
float GetMaxRange (bool positive=false, WorldObject const *caster=nullptr, Spell *spell=nullptr) const
 
SpellRange GetMinMaxRange (bool positive=false, WorldObject const *caster=nullptr, Spell *spell=nullptr) const
 
int32 CalcDuration (WorldObject const *caster=nullptr) const
 
int32 GetDuration () const
 
int32 GetMaxDuration () const
 
uint32 CalcCastTime (Spell *spell=nullptr) const
 
uint32 GetRecoveryTime () const
 
Optional< SpellPowerCost > CalcPowerCost (Powers powerType, bool optionalCost, WorldObject const *caster, SpellSchoolMask schoolMask, Spell *spell=nullptr) const
 
Optional< SpellPowerCost > CalcPowerCost (SpellPowerEntry const *power, bool optionalCost, WorldObject const *caster, SpellSchoolMask schoolMask, Spell *spell=nullptr) const
 
std::vector< SpellPowerCost > CalcPowerCost (WorldObject const *caster, SpellSchoolMask schoolMask, Spell *spell=nullptr) const
 
float CalcProcPPM (Unit *caster, int32 itemLevel) const
 
bool IsRanked () const
 
uint8 GetRank () const
 
SpellInfo const * GetFirstRankSpell () const
 
SpellInfo const * GetLastRankSpell () const
 
SpellInfo const * GetNextRankSpell () const
 
SpellInfo const * GetPrevRankSpell () const
 
SpellInfo const * GetAuraRankForLevel (uint8 level) const
 
bool IsRankOf (SpellInfo const *spellInfo) const
 
bool IsDifferentRankOf (SpellInfo const *spellInfo) const
 
bool IsHighRankOf (SpellInfo const *spellInfo) const
 
uint32 GetSpellXSpellVisualId (WorldObject const *caster=nullptr, WorldObject const *viewer=nullptr) const
 
uint32 GetSpellVisual (WorldObject const *caster=nullptr, WorldObject const *viewer=nullptr) const
 
std::vector< SpellEffectInfo > const & GetEffects () const
 
SpellEffectInfo const & GetEffect (SpellEffIndex index) const
 
DiminishingGroup GetDiminishingReturnsGroupForSpell () const
 
DiminishingReturnsType GetDiminishingReturnsGroupType () const
 
DiminishingLevels GetDiminishingReturnsMaxLevel () const
 
int32 GetDiminishingReturnsLimitDuration () const
 
void ApplyAllSpellImmunitiesTo (Unit *target, SpellEffectInfo const &spellEffectInfo, bool apply) const
 
bool CanSpellProvideImmunityAgainstAura (SpellInfo const *auraSpellInfo) const
 
bool CanSpellEffectProvideImmunityAgainstAuraEffect (SpellEffectInfo const &immunityEffectInfo, SpellInfo const *auraSpellInfo, SpellEffectInfo const &auraEffectInfo) const
 
bool SpellCancelsAuraEffect (AuraEffect const *aurEff) const
 
uint64 GetAllowedMechanicMask () const
 
uint64 GetMechanicImmunityMask (Unit const *caster) const
 
bool MeetsFutureSpellPlayerCondition (Player const *player) const
 
bool HasLabel (uint32 labelId) const
 

Static Public Member Functions

static uint32 GetDispelMask (DispelType type)
 

Public Attributes

uint32 const Id = 0
 
::Difficulty const Difficulty = DIFFICULTY_NONE
 
uint32 CategoryId = 0
 
uint32 Dispel = 0
 
uint32 Mechanic = 0
 
uint32 Attributes = 0
 
uint32 AttributesEx = 0
 
uint32 AttributesEx2 = 0
 
uint32 AttributesEx3 = 0
 
uint32 AttributesEx4 = 0
 
uint32 AttributesEx5 = 0
 
uint32 AttributesEx6 = 0
 
uint32 AttributesEx7 = 0
 
uint32 AttributesEx8 = 0
 
uint32 AttributesEx9 = 0
 
uint32 AttributesEx10 = 0
 
uint32 AttributesEx11 = 0
 
uint32 AttributesEx12 = 0
 
uint32 AttributesEx13 = 0
 
uint32 AttributesEx14 = 0
 
uint32 AttributesEx15 = 0
 
uint32 AttributesEx16 = 0
 
uint32 AttributesCu = 0
 
std::bitset< MAX_SPELL_EFFECTS > NegativeEffects
 
uint64 Stances = 0
 
uint64 StancesNot = 0
 
uint32 Targets = 0
 
uint32 TargetCreatureType = 0
 
uint32 RequiresSpellFocus = 0
 
uint32 FacingCasterFlags = 0
 
uint32 CasterAuraState = 0
 
uint32 TargetAuraState = 0
 
uint32 ExcludeCasterAuraState = 0
 
uint32 ExcludeTargetAuraState = 0
 
uint32 CasterAuraSpell = 0
 
uint32 TargetAuraSpell = 0
 
uint32 ExcludeCasterAuraSpell = 0
 
uint32 ExcludeTargetAuraSpell = 0
 
AuraType CasterAuraType = SPELL_AURA_NONE
 
AuraType TargetAuraType = SPELL_AURA_NONE
 
AuraType ExcludeCasterAuraType = SPELL_AURA_NONE
 
AuraType ExcludeTargetAuraType = SPELL_AURA_NONE
 
SpellCastTimesEntry const * CastTimeEntry = nullptr
 
uint32 RecoveryTime = 0
 
uint32 CategoryRecoveryTime = 0
 
uint32 StartRecoveryCategory = 0
 
uint32 StartRecoveryTime = 0
 
uint32 CooldownAuraSpellId = 0
 
EnumFlag< SpellInterruptFlags > InterruptFlags = SpellInterruptFlags::None
 
EnumFlag< SpellAuraInterruptFlags > AuraInterruptFlags = SpellAuraInterruptFlags::None
 
EnumFlag< SpellAuraInterruptFlags2 > AuraInterruptFlags2 = SpellAuraInterruptFlags2::None
 
EnumFlag< SpellAuraInterruptFlags > ChannelInterruptFlags = SpellAuraInterruptFlags::None
 
EnumFlag< SpellAuraInterruptFlags2 > ChannelInterruptFlags2 = SpellAuraInterruptFlags2::None
 
ProcFlagsInit ProcFlags
 
uint32 ProcChance = 0
 
uint32 ProcCharges = 0
 
uint32 ProcCooldown = 0
 
float ProcBasePPM = 0.0f
 
std::vector< SpellProcsPerMinuteModEntry const * > ProcPPMMods
 
uint32 MaxLevel = 0
 
uint32 BaseLevel = 0
 
uint32 SpellLevel = 0
 
SpellDurationEntry const * DurationEntry = nullptr
 
std::array< SpellPowerEntry const *, MAX_POWERS_PER_SPELL > PowerCosts = {}
 
SpellRangeEntry const * RangeEntry = nullptr
 
float Speed = 0.0f
 
float LaunchDelay = 0.0f
 
float MinDuration = 0.0f
 
uint32 StackAmount = 0
 
std::array< int32, MAX_SPELL_TOTEMS > Totem = {}
 
std::array< uint16, MAX_SPELL_TOTEMS > TotemCategory = {}
 
std::array< int32, MAX_SPELL_REAGENTS > Reagent = {}
 
std::array< int16, MAX_SPELL_REAGENTS > ReagentCount = {}
 
std::vector< SpellReagentsCurrencyEntry const * > ReagentsCurrency
 
int32 EquippedItemClass = -1
 
int32 EquippedItemSubClassMask = 0
 
int32 EquippedItemInventoryTypeMask = 0
 
uint32 IconFileDataId = 0
 
uint32 ActiveIconFileDataId = 0
 
uint32 ContentTuningId = 0
 
uint32 ShowFutureSpellPlayerConditionID = 0
 
LocalizedString const * SpellName = nullptr
 
float ConeAngle = 0.0f
 
float Width = 0.0f
 
uint32 MaxTargetLevel = 0
 
uint32 MaxAffectedTargets = 0
 
uint32 SpellFamilyName = 0
 
flag128 SpellFamilyFlags
 
uint32 DmgClass = 0
 
uint32 PreventionType = 0
 
int32 RequiredAreasID = -1
 
uint32 SchoolMask = 0
 
uint32 ChargeCategoryId = 0
 
std::unordered_set< uint32 > Labels
 
std::vector< Milliseconds > EmpowerStageThresholds
 
struct SpellInfo::ScalingInfo Scaling
 
uint32 ExplicitTargetMask = 0
 
uint32 RequiredExplicitTargetMask = 0
 
SpellChainNode const * ChainEntry = nullptr
 
struct { 
 
   int32   MaxTargets = 0 
 
   int32   NumNonDiminishedTargets = 0 
 
} SqrtDamageAndHealingDiminishing 
 

Private Member Functions

void _InitializeExplicitTargetMask ()
 
void _InitializeSpellPositivity ()
 
void _LoadSpellSpecific ()
 
void _LoadAuraState ()
 
void _LoadSpellDiminishInfo ()
 
void _LoadImmunityInfo ()
 
void _LoadSqrtTargetLimit (int32 maxTargets, int32 numNonDiminishedTargets, Optional< uint32 > maxTargetsValueHolderSpell, Optional< SpellEffIndex > maxTargetsValueHolderEffect, Optional< uint32 > numNonDiminishedTargetsValueHolderSpell, Optional< SpellEffIndex > numNonDiminishedTargetsValueHolderEffect)
 
void _UnloadImplicitTargetConditionLists ()
 

Private Attributes

std::vector< SpellEffectInfo > _effects
 
SpellVisualVector _visuals
 
SpellSpecificType _spellSpecific = SPELL_SPECIFIC_NORMAL
 
AuraStateType _auraState = AURA_STATE_NONE
 
SpellDiminishInfo _diminishInfo
 
uint64 _allowedMechanicMask = 0
 

Friends

class SpellMgr
 

Detailed Description

Definition at line 323 of file SpellInfo.h.

Constructor & Destructor Documentation

◆ SpellInfo() [1/4]

SpellInfo::SpellInfo ( SpellNameEntry const *  spellName,
::Difficulty  difficulty,
SpellInfoLoadHelper const &  data 
)
explicit

Definition at line 1324 of file SpellInfo.cpp.

References _effects, _visuals, ActiveIconFileDataId, Attributes, AttributesEx, AttributesEx10, AttributesEx11, AttributesEx12, AttributesEx13, AttributesEx14, AttributesEx15, AttributesEx16, AttributesEx2, AttributesEx3, AttributesEx4, AttributesEx5, AttributesEx6, AttributesEx7, AttributesEx8, AttributesEx9, AuraInterruptFlags, AuraInterruptFlags2, SpellInfoLoadHelper::AuraOptions, SpellInfoLoadHelper::AuraRestrictions, BaseLevel, CasterAuraSpell, CasterAuraState, CasterAuraType, SpellInfoLoadHelper::CastingRequirements, CastTimeEntry, SpellInfoLoadHelper::Categories, CategoryId, CategoryRecoveryTime, ChannelInterruptFlags, ChannelInterruptFlags2, ChargeCategoryId, SpellInfoLoadHelper::ClassOptions, ConeAngle, ContentTuningId, CooldownAuraSpellId, SpellInfoLoadHelper::Cooldowns, Dispel, DmgClass, DurationEntry, SpellInfoLoadHelper::Effects, SpellInfoLoadHelper::EmpowerStages, EmpowerStageThresholds, Trinity::Containers::EnsureWritableVectorIndex(), EquippedItemClass, EquippedItemInventoryTypeMask, SpellInfoLoadHelper::EquippedItems, EquippedItemSubClassMask, ExcludeCasterAuraSpell, ExcludeCasterAuraState, ExcludeCasterAuraType, ExcludeTargetAuraSpell, ExcludeTargetAuraState, ExcludeTargetAuraType, FacingCasterFlags, IconFileDataId, InterruptFlags, SpellInfoLoadHelper::Interrupts, Labels, SpellInfoLoadHelper::Labels, LaunchDelay, SpellInfoLoadHelper::Levels, MAKE_PAIR64(), MaxAffectedTargets, MaxLevel, SpellInfo::ScalingInfo::MaxScalingLevel, MaxTargetLevel, Mechanic, MinDuration, SpellInfo::ScalingInfo::MinScalingLevel, SpellInfoLoadHelper::Misc, SpellNameEntry::Name, PowerCosts, SpellInfoLoadHelper::Powers, PreventionType, ProcBasePPM, ProcChance, ProcCharges, ProcCooldown, ProcPPMMods, RangeEntry, Reagent, ReagentCount, SpellInfoLoadHelper::Reagents, ReagentsCurrency, SpellInfoLoadHelper::ReagentsCurrency, RecoveryTime, RequiredAreasID, RequiresSpellFocus, Scaling, SpellInfoLoadHelper::Scaling, SchoolMask, sDB2Manager, SpellInfoLoadHelper::Shapeshift, ShowFutureSpellPlayerConditionID, Speed, SpellFamilyFlags, SpellFamilyName, SpellLevel, SpellName, sSpellCastTimesStore, sSpellDurationStore, sSpellProcsPerMinuteStore, sSpellRangeStore, StackAmount, Stances, StancesNot, StartRecoveryCategory, StartRecoveryTime, TargetAuraSpell, TargetAuraState, TargetAuraType, TargetCreatureType, SpellInfoLoadHelper::TargetRestrictions, Totem::Totem(), SpellInfoLoadHelper::Totems, SpellInfoLoadHelper::Visuals, and Width.

◆ SpellInfo() [2/4]

SpellInfo::SpellInfo ( SpellNameEntry const *  spellName,
::Difficulty  difficulty,
std::vector< SpellEffectEntry > const &  effects 
)
explicit

◆ SpellInfo() [3/4]

SpellInfo::SpellInfo ( SpellInfo const &  )
delete

◆ SpellInfo() [4/4]

SpellInfo::SpellInfo ( SpellInfo &&  )
delete

◆ ~SpellInfo()

SpellInfo::~SpellInfo ( )

Definition at line 1546 of file SpellInfo.cpp.

References _UnloadImplicitTargetConditionLists().

Member Function Documentation

◆ _InitializeExplicitTargetMask()

◆ _InitializeSpellPositivity()

◆ _LoadAuraState()

◆ _LoadImmunityInfo()

void SpellInfo::_LoadImmunityInfo ( )
private

◆ _LoadSpellDiminishInfo()

◆ _LoadSpellSpecific()

◆ _LoadSqrtTargetLimit()

void SpellInfo::_LoadSqrtTargetLimit ( int32  maxTargets,
int32  numNonDiminishedTargets,
Optional< uint32 >  maxTargetsValueHolderSpell,
Optional< SpellEffIndex >  maxTargetsValueHolderEffect,
Optional< uint32 >  numNonDiminishedTargetsValueHolderSpell,
Optional< SpellEffIndex >  numNonDiminishedTargetsValueHolderEffect 
)
private

◆ _UnloadImplicitTargetConditionLists()

void SpellInfo::_UnloadImplicitTargetConditionLists ( )
private

Definition at line 5116 of file SpellInfo.cpp.

References _effects.

Referenced by SpellMgr::UnloadSpellInfoImplicitTargetConditionLists(), and ~SpellInfo().

◆ ApplyAllSpellImmunitiesTo()

void SpellInfo::ApplyAllSpellImmunitiesTo ( Unit *  target,
SpellEffectInfo const &  spellEffectInfo,
bool  apply 
) const

◆ CalcCastTime()

◆ CalcDuration()

◆ CalcPowerCost() [1/3]

Optional< SpellPowerCost > SpellInfo::CalcPowerCost ( Powers  powerType,
bool  optionalCost,
WorldObject const *  caster,
SpellSchoolMask  schoolMask,
Spell *  spell = nullptr 
) const

◆ CalcPowerCost() [2/3]

Optional< SpellPowerCost > SpellInfo::CalcPowerCost ( SpellPowerEntry const *  power,
bool  optionalCost,
WorldObject const *  caster,
SpellSchoolMask  schoolMask,
Spell *  spell = nullptr 
) const

◆ CalcPowerCost() [3/3]

std::vector< SpellPowerCost > SpellInfo::CalcPowerCost ( WorldObject const *  caster,
SpellSchoolMask  schoolMask,
Spell *  spell = nullptr 
) const

◆ CalcProcPPM()

◆ CanBeInterrupted()

◆ CanBeUsedInCombat()

bool SpellInfo::CanBeUsedInCombat ( Unit const *  caster) const

◆ CanDispelAura()

bool SpellInfo::CanDispelAura ( SpellInfo const *  auraSpellInfo) const

Definition at line 2052 of file SpellInfo.cpp.

References HasAttribute(), and SPELL_ATTR0_NO_IMMUNITIES.

Referenced by ApplyAllSpellImmunitiesTo().

◆ CanPierceImmuneAura()

bool SpellInfo::CanPierceImmuneAura ( SpellInfo const *  auraSpellInfo) const

◆ CanSpellEffectProvideImmunityAgainstAuraEffect()

◆ CanSpellProvideImmunityAgainstAura()

◆ CheckExplicitTarget()

◆ CheckLocation()

◆ CheckShapeshift()

◆ CheckTarget()

SpellCastResult SpellInfo::CheckTarget ( WorldObject const *  caster,
WorldObject const *  target,
bool  implicit = true 
) const

Definition at line 2338 of file SpellInfo.cpp.

References AoETarget, BASE_ATTACK, Creature::CanHaveLoot(), WorldObject::CanSeeOrDetect(), CheckTargetCreatureType(), CORPSE_BONES, ExcludeTargetAuraSpell, ExcludeTargetAuraState, ExcludeTargetAuraType, ObjectAccessor::FindPlayer(), WorldObject::GetAffectingPlayer(), Creature::GetCreatureDifficulty(), BaseEntity::GetGUID(), WorldObject::GetMap(), Unit::GetSpellOtherImmunityMask(), TempSummon::GetSummonerGUID(), BaseEntity::GetTypeId(), Unit::GetVirtualItemId(), Player::GetWeaponForAttack(), HasAttribute(), Unit::HasAura(), Unit::HasAuraState(), Unit::HasAuraType(), Unit::HasBreakableByDamageCrowdControlAura(), HasEffect(), EnumFlag< T >::HasFlag(), Unit::HasUnitFlag(), Unit::HasUnitMovementFlag(), Unit::HasUnitState(), LootStore::HaveLootFor(), CanSeeOrDetectExtraArgs::ImplicitDetection, Unit::IsAlive(), IsAllowingDeadTarget(), Unit::IsControlledByPlayer(), ObjectGuid::IsEmpty(), Player::IsGameMaster(), Unit::IsInCombat(), BaseEntity::IsPlayer(), IsPositive(), Unit::IsSummon(), Player::IsUseEquipedWeapon(), Unit::IsVisible(), LootTemplates_Pickpocketing, Mechanic, MECHANIC_DISARM, MOVEMENTFLAG_ADV_FLYING, MOVEMENTFLAG_FALLING, MOVEMENTFLAG_FLYING, MOVEMENTFLAG_HOVER, MOVEMENTFLAG_SWIMMING, CreatureDifficulty::PickPocketLootID, SPELL_ATTR0_CU_ALLOW_INFLIGHT_TARGET, SPELL_ATTR0_CU_CAN_TARGET_ANY_PRIVATE_OBJECT, SPELL_ATTR0_CU_PICKPOCKET, SPELL_ATTR1_EXCLUDE_CASTER, SPELL_ATTR1_ONLY_PEACEFUL_TARGETS, SPELL_ATTR2_CANNOT_CAST_ON_TAPPED, SPELL_ATTR3_NOT_ON_AOE_IMMUNE, SPELL_ATTR3_ONLY_ON_GHOSTS, SPELL_ATTR3_ONLY_ON_PLAYER, SPELL_ATTR5_NOT_ON_PLAYER, SPELL_ATTR5_NOT_ON_PLAYER_CONTROLLED_NPC, SPELL_ATTR6_DO_NOT_CHAIN_TO_CROWD_CONTROLLED_TARGETS, SPELL_ATTR6_IGNORE_PHASE_SHIFT, SPELL_ATTR7_BYPASS_NO_RESURRECT_AURA, SPELL_ATTR8_ALLOW_TARGETS_HIDDEN_BY_SPAWN_TRACKING, SPELL_ATTR8_ENFORCE_IN_COMBAT_RESSURECTION_LIMIT, SPELL_ATTR8_ONLY_TARGET_IF_SAME_CREATOR, SPELL_ATTR8_ONLY_TARGET_OWN_SUMMONS, SPELL_ATTR9_TARGET_MUST_BE_GROUNDED, SPELL_AURA_GHOST, SPELL_AURA_PREVENT_RESURRECTION, SPELL_CAST_OK, SPELL_EFFECT_RESURRECT, SPELL_EFFECT_SELF_RESURRECT, SPELL_FAILED_BAD_TARGETS, SPELL_FAILED_BM_OR_INVISGOD, SPELL_FAILED_CANT_CAST_ON_TAPPED, SPELL_FAILED_TARGET_AFFECTING_COMBAT, SPELL_FAILED_TARGET_AURASTATE, SPELL_FAILED_TARGET_CANNOT_BE_RESURRECTED, SPELL_FAILED_TARGET_IS_PLAYER, SPELL_FAILED_TARGET_IS_PLAYER_CONTROLLED, SPELL_FAILED_TARGET_NO_POCKETS, SPELL_FAILED_TARGET_NO_WEAPONS, SPELL_FAILED_TARGET_NOT_GHOST, SPELL_FAILED_TARGET_NOT_GROUNDED, SPELL_FAILED_TARGET_NOT_PLAYER, SPELL_FAILED_TARGETS_DEAD, TargetAuraSpell, TargetAuraState, TargetAuraType, Object::ToCorpse(), Object::ToCreature(), Map::ToInstanceMap(), Object::ToPlayer(), Unit::ToTempSummon(), Object::ToUnit(), TYPEID_PLAYER, UNIT_FLAG_PET_IN_COMBAT, and UNIT_STATE_IN_FLIGHT.

Referenced by Spell::AddUnitTarget(), Spell::CheckCast(), Unit::GetMeleeHitRedirectTarget(), SpellTargetSelector::operator()(), Trinity::WorldObjectSpellTargetCheck::operator()(), and Spell::SelectImplicitTrajTargets().

◆ CheckTargetCreatureType()

◆ CheckVehicle()

◆ GetAllEffectsMechanicMask()

◆ GetAllowedMechanicMask()

uint64 SpellInfo::GetAllowedMechanicMask ( ) const

Definition at line 3928 of file SpellInfo.cpp.

References _allowedMechanicMask.

◆ GetAttackType()

◆ GetAuraRankForLevel()

◆ GetAuraState()

AuraStateType SpellInfo::GetAuraState ( ) const

Definition at line 2717 of file SpellInfo.cpp.

References _auraState.

Referenced by Unit::_ApplyAura(), Unit::_CreateAuraApplication(), and Unit::_UnapplyAura().

◆ GetCategory()

◆ GetDiminishingReturnsGroupForSpell()

◆ GetDiminishingReturnsGroupType()

DiminishingReturnsType SpellInfo::GetDiminishingReturnsGroupType ( ) const

◆ GetDiminishingReturnsLimitDuration()

int32 SpellInfo::GetDiminishingReturnsLimitDuration ( ) const

◆ GetDiminishingReturnsMaxLevel()

DiminishingLevels SpellInfo::GetDiminishingReturnsMaxLevel ( ) const

Definition at line 3476 of file SpellInfo.cpp.

References _diminishInfo, and SpellDiminishInfo::DiminishMaxLevel.

Referenced by Unit::IncrDiminishing().

◆ GetDispelMask() [1/2]

uint32 SpellInfo::GetDispelMask ( ) const

◆ GetDispelMask() [2/2]

uint32 SpellInfo::GetDispelMask ( DispelType  type)
static

Definition at line 2703 of file SpellInfo.cpp.

References DISPEL_ALL, and DISPEL_ALL_MASK.

◆ GetDuration()

◆ GetEffect()

SpellEffectInfo const & SpellInfo::GetEffect ( SpellEffIndex  index) const
inline

Definition at line 590 of file SpellInfo.h.

References ASSERT.

Referenced by _InitializeSpellPositivity(), _LoadSpellSpecific(), _LoadSqrtTargetLimit(), spell_valkyr_essences::Absorb(), ConditionMgr::addToSpellImplicitTargetConditions(), ApplySpellEffectFix(), spell_item_artifical_damage::CalculateAmount(), spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript::CalculateAttackPowerAmount(), spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript::CalculateDamageDoneAmount(), spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript::CalculateStaminaAmount(), spell_pri_prayer_of_mending_SpellScriptBase::CastPrayerOfMendingAura(), SpellScript::EffectBase::CheckEffect(), SpellScript::TargetHook::CheckEffect(), AuraScript::EffectBase::CheckEffect(), Spell::CheckItems(), spell_dk_rime::CheckProc(), spell_gen_proc_below_pct_damaged::CheckProc(), spell_item_crystal_spire_of_karabor::CheckProc(), Spell::EffectPersistentAA(), Spell::EffectWeaponDmg(), spell_edna_refracting_beam_selector::FilterTargets(), SpellScript::GetEffectInfo(), AuraScript::GetEffectInfo(), GetEffectMechanic(), GetEffectMechanicMask(), npc_firework::GetFireworkGameObjectId(), spell_warr_colossus_smash::HandleAfterCast(), spell_leotheras_the_blind_chaos_blast::HandleDummy(), spell_dk_blood_bond_periodic::HandleDummyTick(), spell_hun_concussive_shot::HandleDuration(), spell_akilzon_electrical_overload::HandleEffect(), spell_dru_thorns_of_iron_damage::HandleEffectHit(), spell_dru_twin_moonfire::HandleEffectHit(), spell_pri_harsh_discipline::HandleEffectHit(), spell_pri_power_leech_passive::HandleOnProc(), spell_torghast_uncontrolled_darkness_proc::HandleProc(), spell_pri_holy_words::HandleProc(), spell_igb_rocket_pack::HandleRemove(), spell_putricide_clear_aura_effect_value::HandleScript(), spell_putricide_mutated_plague::HandleTriggerSpell(), ConditionMgr::isConditionTypeValid(), IsExplicitDiscovery(), CriteriaData::IsValid(), Player::LearnQuestRewardedSpells(), spell_gen_absorb0_hitlimit1::Load(), spell_pri_holy_word_salvation::Load(), SpellMgr::LoadSpellPetAuras(), SpellMgr::LoadSpellTargetPositions(), WorldObject::ModSpellDuration(), at_abyssal_portal_harbinger::OnCreate(), at_dh_inner_demon::OnInitialize(), areatrigger_pri_divine_star::OnInitialize(), spell_putricide_mutated_plague::OnRemove(), spell_blood_queen_pact_of_the_darkfallen_dmg::PeriodicTick(), spell_gen_mounted_charge::Register(), spell_pri_ultimate_penitence_channel::SearchTargetCandidates(), Scripts::QuelThalas::MurderRow::KystiaManaheart::boss_kystia_manaheart_nibbles::UpdateAI(), areatrigger_pri_entropic_rift::UpdateTarget(), spell_dh_chaos_theory::Validate(), spell_dh_darkglare_boon::Validate(), spell_deathwhisper_dark_reckoning::Validate(), spell_garothi_fel_bombardment_periodic::Validate(), spell_garothi_annihilation_selector::Validate(), spell_arena_dalaran_sewers_pipe_flush_knockback_search_trigger::Validate(), spell_bg_seething_shore_parachute::Validate(), spell_lick_selector_guarm::Validate(), spell_volatile_foam_selector< ExcludeSpellId >::Validate(), spell_volatile_foam_aura< SpellIdOnExpire >::Validate(), spell_occuthar_eyes_of_occuthar::spell_occuthar_eyes_of_occuthar_SpellScript::Validate(), Scripts::EasternKingdoms::Gilneas::Chapter1::spell_gilneas_knocking::Validate(), spell_maiden_of_virtue_rtk_sacred_ground::Validate(), spell_chapter1_emblazon_runeblade_effect::Validate(), spell_kalecgos_tap_check::Validate(), spell_muru_negative_energy_periodic::Validate(), spell_silverpine_flurry_of_claws::Validate(), Scripts::EasternKingdoms::StormwindCity::spell_stormwind_harbor_to_boralus_transition::Validate(), Scripts::EasternKingdoms::Westfall::spell_westfall_reaping_blows::Validate(), spell_akilzon_eagle_swoop_primer::Validate(), spell_akilzon_electrical_overload_primer::Validate(), spell_akilzon_electrical_overload::Validate(), spell_akilzon_grab_passenger::Validate(), spell_love_is_in_the_air_heavily_perfumed::Validate(), spell_love_is_in_the_air_service_uniform::Validate(), spell_love_is_in_the_air_perfume_cologne_immune::Validate(), spell_pilgrims_bounty_feast_on::Validate(), spell_baleroc_decimating_strike::Validate(), spell_husam_hammer_fist::Validate(), spell_husam_bad_intentions::Validate(), spell_husam_hurl::Validate(), spell_lord_stormsong_surrender_to_the_void::Validate(), spell_lord_stormsong_disciple_of_the_vol_zith::Validate(), spell_tidesage_council_ward_selector::Validate(), spell_ahnkahet_yogg_saron_whisper::Validate(), spell_halion_combustion_consumption_periodic::Validate(), spell_black_knight_ghoul_explode::Validate(), spell_black_knight_ghoul_explode_risen_ghoul::Validate(), spell_mistress_kiss_area::Validate(), spell_fel_streak_visual::Validate(), spell_jormungars_slime_pool::Validate(), spell_icehowl_arctic_breath::Validate(), spell_trollgore_invader_taunt::Validate(), spell_putricide_ooze_tank_protection::Validate(), spell_rotface_mutated_infection_aura::Validate(), spell_grobbulus_poison_cloud::Validate(), spell_algalon_phase_constellation::Validate(), spell_tar_blaze::Validate(), spell_hodir_freeze::Validate(), spell_hodir_icicle::Validate(), spell_hodir_dispel_magic::Validate(), spell_hodir_melt_ice::Validate(), spell_borean_tundra_nerubar_web_random_unit_not_on_quest::Validate(), spell_borean_tundra_dispel_freed_soldier_debuff::Validate(), spell_borean_tundra_weakness_to_lightning_cast_on_master::Validate(), spell_borean_tundra_signal_alliance::Validate(), spell_borean_tundra_arcane_chains_character_force_cast::Validate(), spell_dragonblight_moti_hourglass_cast_see_invis_on_master::Validate(), spell_dragonblight_fill_blood_unholy_frost_gem::Validate(), spell_dragonblight_corrosive_spit::Validate(), spell_fjord_the_cleansing_on_death_cast_on_master::Validate(), spell_fjord_the_way_to_his_heart_reverse_cast::Validate(), spell_fjord_the_way_to_his_heart_quest_complete::Validate(), spell_icecrown_the_ocular_on_death::Validate(), spell_icecrown_summon_freed_crusader::Validate(), spell_icecrown_cannons_target::Validate(), spell_icecrown_bested_trigger::Validate(), spell_sholazar_take_sputum_sample::Validate(), spell_sholazar_flight_to_sholazar::Validate(), spell_sholazar_lifeblood_dummy::Validate(), spell_low_health_trigger::Validate(), spell_wintergrasp_tenacity_refresh::Validate(), spell_zuldrak_chains_of_the_scourge::Validate(), spell_mother_shahraz_saber_lash::Validate(), spell_mother_shahraz_generic_periodic::Validate(), spell_leotheras_the_blind_demon_link::Validate(), spell_the_lurker_below_spout_periodic::Validate(), spell_broggok_poison_cloud::Validate(), spell_omor_the_unscarred_orbital_strike_whip::Validate(), spell_astromancer_wrath_of_the_astromancer::Validate(), spell_kaelthas_nether_vapor_lightning::Validate(), spell_shadowmoon_quest_credit_crazed_colossus::Validate(), spell_pet_gen_lich_pet_focus::Validate(), spell_pet_gen_toxic_wasteling_find_target::Validate(), spell_azerite_gen_aura_calc_from_2nd_effect_triggered_spell::Validate(), spell_dh_deflecting_spikes::Validate(), spell_dh_shattered_destiny::Validate(), spell_dk_apply_bone_shield::Validate(), spell_dru_inner_peace::Validate(), spell_evo_fire_breath_damage::Validate(), spell_evo_ruby_embers::Validate(), spell_gen_arena_drink::Validate(), spell_gen_aura_of_fear::Validate(), spell_gen_burning_depths_necrolyte_image::Validate(), spell_gen_cancel_aura::Validate(), spell_gen_cast_caster_to_target::Validate(), spell_gen_cast_target_to_target::Validate(), spell_gen_player_say::Validate(), spell_gen_whisper_to_controller::Validate(), spell_gen_eject_passenger::Validate(), spell_gen_random_aggro_taunt::Validate(), spell_hun_aspect_of_the_fox::Validate(), spell_hun_bleak_arrows::Validate(), spell_hun_masters_call::Validate(), spell_hun_quick_draw_speed::Validate(), spell_hun_scouts_instincts::Validate(), spell_item_seal_of_darkshire_nobility::Validate(), spell_mage_arcane_explosion::Validate(), spell_mage_cauterize_AuraScript::Validate(), spell_monk_pressure_points::Validate(), spell_pal_blade_of_vengeance::Validate(), spell_pal_execution_sentence_aura::Validate(), spell_pal_judgment_of_justice::Validate(), spell_pri_divinity::Validate(), spell_pri_holy_word_salvation::Validate(), spell_pri_shadow_word_death::Validate(), spell_quest_portal_with_condition::Validate(), spell_sha_deeply_rooted_elements::Validate(), spell_sha_stormflurry::Validate(), spell_sha_thorims_invocation_primer::Validate(), spell_warr_execute::Validate(), spell_warr_frenzied_enrage::Validate(), spell_warr_powerful_enrage::Validate(), spell_warr_unbridled_ferocity::Validate(), and spell_sanguine_feast_selector::Validate().

◆ GetEffectMechanic()

Mechanics SpellInfo::GetEffectMechanic ( SpellEffIndex  effIndex) const

Definition at line 2687 of file SpellInfo.cpp.

References GetEffect(), SpellEffectInfo::Mechanic, Mechanic, and MECHANIC_NONE.

Referenced by Unit::GetMechanicResistChance().

◆ GetEffectMechanicMask()

uint64 SpellInfo::GetEffectMechanicMask ( SpellEffIndex  effIndex) const

Definition at line 2662 of file SpellInfo.cpp.

References GetEffect(), SpellEffectInfo::Mechanic, Mechanic, and UI64LIT.

◆ GetEffects()

std::vector< SpellEffectInfo > const & SpellInfo::GetEffects ( ) const
inline

Definition at line 589 of file SpellInfo.h.

Referenced by Spell::_cast(), Spell::_handle_immediate_phase(), Aura::_InitEffects(), _InitializeExplicitTargetMask(), _InitializeSpellPositivity(), _isPositiveEffectImpl(), _LoadAuraState(), _LoadSpellSpecific(), _LoadSqrtTargetLimit(), Unit::_TryStackingOrRefreshingExistingAura(), Player::ActivateTalentGroup(), Unit::AddAura(), Spell::AddCorpseTarget(), Spell::AddGOTarget(), Spell::AddItemTarget(), UnitAura::AddStaticApplication(), ConditionMgr::addToSpellImplicitTargetConditions(), Spell::AddUnitTarget(), Player::ApplyArtifactPowerRank(), ApplySpellEffectFix(), Aura::BuildEffectMaskForOwner(), CalcPredictedHealing(), Spell::CanAutoCast(), Aura::CanBeSaved(), CanSpellProvideImmunityAgainstAura(), Aura::CanStackWith(), Trainer::Trainer::CanTeachSpell(), Player::CastItemCombatSpell(), Spell::CheckCast(), SpellScript::EffectBase::CheckEffect(), SpellScript::TargetHook::CheckEffect(), AuraScript::EffectBase::CheckEffect(), Spell::CheckItems(), CheckLocation(), CheckVehicle(), Spell::TargetInfo::DoDamageAndTriggers(), Spell::DoProcessTargetContainer(), Spell::EffectForceCast(), Spell::EffectPersistentAA(), Spell::EffectTriggerMissileSpell(), Spell::EffectTriggerSpell(), Spell::EffectWeaponDmg(), UnitAI::FillAISpellInfo(), UnitAura::FillTargetMap(), DynObjAura::FillTargetMap(), SpellScriptBase::EffectHook::GetAffectedEffectsMask(), GetAllEffectsMechanicMask(), GetAuraRankForLevel(), Unit::GetMechanicResistChance(), GetSpellMechanicMaskByEffectMask(), npc_thorim_trashAI::AIHelper::GetTotalHeal(), AuraEffect::HandleAuraMounted(), Spell::HandleLaunchPhase(), AuraEffect::HandleLinkedSummon(), lookup_commandscript::HandleLookupSpellCommand(), lookup_commandscript::HandleLookupSpellIdCommand(), Player::HandlePassiveSpellLearn(), WorldSession::HandlePetActionHelper(), spell_putricide_choking_gas_bomb::HandleScript(), Unit::HandleSpellClick(), HasAreaAuraEffect(), HasAura(), Unit::HasAuraWithMechanic(), HasEffect(), Player::HasItemFitToSpellRequirements(), Aura::HasMoreThanOneEffectForType(), HasOnlyDamageEffects(), HasTargetType(), Player::IsAffectedBySpellmod(), IsAffectingArea(), IsAllowingDeadTarget(), Aura::IsArea(), ConditionMgr::isConditionTypeValid(), IsExplicitDiscovery(), IsGroupBuff(), Unit::IsImmunedToSpell(), IsPrimaryProfession(), IsProfession(), ConditionMgr::isSourceTypeValid(), SpellMgr::IsSpellValid(), IsTargetingArea(), IsUnitTargetSceneObjectAura(), CriteriaData::IsValid(), Player::LearnQuestRewardedSpells(), SmartAIMgr::LoadHelperStores(), SpellMgr::LoadSpellGroupStackRules(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellLinked(), SpellMgr::LoadSpellPetAuras(), SpellMgr::LoadSpellProcs(), SpellMgr::LoadSpellTargetPositions(), NeedsToBeTriggeredByCaster(), areatrigger_pri_divine_star::OnInitialize(), spell_gen_remove_on_full_health::PeriodicTick(), Spell::PreprocessSpellHit(), Player::RemoveSpell(), Player::RemoveTalent(), Spell::SelectImplicitChainTargets(), Spell::SelectSpellTargets(), Spell::SendChannelStart(), SpellCancelsAuraEffect(), Unit::SpellHealingBonusDone(), SpellValue::SpellValue(), Spell::UpdateChanneledTargetList(), Spell::UpdatePointers(), areatrigger_pri_entropic_rift::UpdateTarget(), Aura::UpdateTargetMap(), and SpellScriptBase::ValidateSpellEffectImpl().

◆ GetExplicitTargetMask()

◆ GetFirstRankSpell()

◆ GetLastRankSpell()

SpellInfo const * SpellInfo::GetLastRankSpell ( ) const

Definition at line 4443 of file SpellInfo.cpp.

References ChainEntry, and SpellChainNode::last.

◆ GetMaxDuration()

◆ GetMaxRange()

◆ GetMechanicImmunityMask()

uint64 SpellInfo::GetMechanicImmunityMask ( Unit const *  caster) const

◆ GetMinMaxRange()

◆ GetMinRange()

float SpellInfo::GetMinRange ( bool  positive = false) const

Definition at line 3950 of file SpellInfo.cpp.

References RangeEntry, and SpellRangeEntry::RangeMin.

◆ GetNextRankSpell()

SpellInfo const * SpellInfo::GetNextRankSpell ( ) const

◆ GetPrevRankSpell()

SpellInfo const * SpellInfo::GetPrevRankSpell ( ) const

Definition at line 4457 of file SpellInfo.cpp.

References ChainEntry, and SpellChainNode::prev.

Referenced by GetAuraRankForLevel().

◆ GetRank()

◆ GetRecoveryTime()

uint32 SpellInfo::GetRecoveryTime ( ) const

Definition at line 4023 of file SpellInfo.cpp.

References CategoryRecoveryTime, and RecoveryTime.

Referenced by Spell::CheckArenaAndRatedBattlegroundCastRules().

◆ GetSchoolMask()

◆ GetSpellMechanicMaskByEffectMask()

uint64 SpellInfo::GetSpellMechanicMaskByEffectMask ( uint32  effectMask) const

◆ GetSpellSpecific()

◆ GetSpellVisual()

uint32 SpellInfo::GetSpellVisual ( WorldObject const *  caster = nullptr,
WorldObject const *  viewer = nullptr 
) const

Definition at line 4564 of file SpellInfo.cpp.

References GetSpellXSpellVisualId(), and sSpellXSpellVisualStore.

Referenced by _LoadSpellDiminishInfo().

◆ GetSpellXSpellVisualId()

◆ HasAnyAuraInterruptFlag()

bool SpellInfo::HasAnyAuraInterruptFlag ( ) const

Definition at line 1630 of file SpellInfo.cpp.

References AuraInterruptFlags, AuraInterruptFlags2, and None.

Referenced by Unit::_CreateAuraApplication(), and Unit::_UnapplyAura().

◆ HasAreaAuraEffect()

bool SpellInfo::HasAreaAuraEffect ( ) const

Definition at line 1574 of file SpellInfo.cpp.

References GetEffects().

Referenced by AuraScript::_Validate().

◆ HasAttribute() [1/18]

bool SpellInfo::HasAttribute ( SpellAttr0  attribute) const
inline

Definition at line 456 of file SpellInfo.h.

Referenced by Spell::_cast(), AuraApplication::_InitFlags(), _InitializeExplicitTargetMask(), _isPositiveEffectImpl(), Pet::_LoadAuras(), Player::_LoadAuras(), _LoadImmunityInfo(), Battleground::_ProcessJoin(), Unit::_TryStackingOrRefreshingExistingAura(), Unit::AddAura(), Spell::AddCorpseTarget(), Spell::AddGOTarget(), Player::AddSpell(), ThreatManager::AddThreat(), Spell::AddUnitTarget(), ApplyAllSpellImmunitiesTo(), Player::ApplyEquipSpell(), Unit::AtEndOfEncounter(), Aura::Aura(), AuraApplication::BuildUpdatePacket(), Unit::CalcAbsorbResist(), SpellEffectInfo::CalcBaseValue(), CalcPowerCost(), SpellEffectInfo::CalcRadius(), Unit::CalcSpellResistedDamage(), Spell::CalculateDelayMomentForDst(), AuraEffect::CalculateEstimatedfTotalPeriodicAmount(), AuraEffect::CalculatePeriodic(), Unit::CalculateSpellDamageTaken(), SpellEffectInfo::CalcValue(), CanBeInterrupted(), Aura::CanBeSaved(), CanBeUsedInCombat(), Unit::CanCastSpellWhileMoving(), PlayerAI::CancelAllShapeshifts(), Unit::CancelMountAura(), Unit::CancelShapeshiftForm(), CanDispelAura(), Spell::CanExecuteTriggersOnHit(), Player::CanNoReagentCast(), CanPierceImmuneAura(), CanSpellEffectProvideImmunityAgainstAuraEffect(), CanSpellProvideImmunityAgainstAura(), Aura::CanStackWith(), WorldObject::CastSpell(), Spell::CheckArenaAndRatedBattlegroundCastRules(), Spell::CheckCast(), Spell::CheckCasterAuras(), AuraEffect::CheckEffectProc(), Spell::CheckEffectTarget(), Spell::CheckItems(), CheckLocation(), spell_dk_dark_simulacrum::CheckProc(), spell_dru_moonless_night::CheckProc(), CheckShapeshift(), CheckTarget(), CheckVehicle(), Unit::DealDamage(), Unit::DealHeal(), Spell::TargetInfo::DoDamageAndTriggers(), Spell::DoEffectOnLaunchTarget(), Spell::DoSpellEffectHit(), Spell::TargetInfo::DoTargetSpellHit(), Spell::EffectCastButtons(), Spell::EffectCharge(), Spell::EffectChargeDest(), Spell::EffectCreateItem(), Spell::EffectCreateItem2(), Spell::EffectCreateRandomItem(), Spell::EffectEnchantItemPerm(), Spell::EffectJump(), Spell::EffectJumpCharge(), Spell::EffectJumpDest(), Spell::EffectSchoolDMG(), Spell::EffectStealBeneficialBuff(), Spell::EffectTriggerSpell(), Spell::EffectWeaponDmg(), Player::ExecutePendingSpellCastRequest(), UnitAI::FillAISpellInfo(), Spell::FinalizeDataForTriggerSystem(), Spell::finish(), ThreatManager::ForwardThreatForAssistingMe(), GetAttackType(), GetAuraRankForLevel(), Unit::GetDispellableAuraList(), npc_thorim_trashAI::AIHelper::GetHealTarget(), WorldObject::GetMagicHitRedirectTarget(), Spell::GetMinMaxRange(), SpellEffectInfo::GetPeriodicTickCount(), Unit::GetProcAurasTriggeredOnEvent(), Aura::GetProcEffectMask(), Spell::GetSearcherTypeMask(), AuraEffect::GetTotalTicks(), WorldSession::HandleCancelAuraOpcode(), WorldSession::HandleCancelChanneling(), WorldSession::HandleCancelGrowthAuraOpcode(), WorldSession::HandleCancelModSpeedNoControlAuras(), WorldSession::HandleCancelMountAuraOpcode(), AuraEffect::HandleModTotalPercentStat(), Player::HandlePassiveSpellLearn(), WorldSession::HandlePetAction(), WorldSession::HandleSelfResOpcode(), AuraEffect::HandleShapeshiftBoosts(), Spell::HandleThreatSpells(), HasInitialAggro(), Player::HasItemFitToSpellRequirements(), CharmInfo::InitCharmCreateSpells(), CharmInfo::InitPossessCreateSpells(), Player::IsAffectedBySpellmod(), IsAffectedBySpellMods(), IsAllowingDeadTarget(), Spell::IsAutoActionResetSpell(), IsAutocastable(), IsAutocastEnabledByDefault(), IsAutoRepeatRangedSpell(), IsChanneled(), IsCooldownStartedOnEvent(), Unit::IsDamageReducedByArmor(), IsDeathPersistent(), Spell::IsFocusDisabled(), Unit::IsImmunedToAuraPeriodicTick(), Unit::IsImmunedToDamage(), Unit::IsImmunedToSpell(), Unit::IsImmunedToSpellEffect(), IsInterruptFlagIgnoredForSpell(), Spell::IsNeedSendToClient(), IsNextMeleeSwingSpell(), Unit::IsNonMeleeSpellCast(), IsPassive(), IsRangedWeaponSpell(), SpellHistory::IsReady(), Aura::IsRemovedOnShapeLost(), IsRequiringDeadTarget(), IsSingleTarget(), IsStackableOnOneSlotWithDifferentCasters(), WorldObject::IsValidAssistTarget(), WorldObject::IsValidAttackTarget(), Spell::IsWithinLOS(), Spell::IsWithinLOS(), list_commandscript::ListAurasCommand(), LoadLootTemplates_Spell(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellLearnSpells(), SpellHistory::LockSpellSchool(), WorldObject::MagicSpellHitResult(), Unit::MeleeDamageBonusDone(), Unit::MeleeSpellHitResult(), Unit::MeleeSpellMissChance(), WorldObject::ModSpellCastTime(), WorldObject::ModSpellDuration(), WorldObject::ModSpellDurationTime(), Aura::ModStackAmount(), Spell::MovePosition(), Trinity::AnyAoETargetUnitInObjectRangeCheck::operator()(), Trinity::WorldObjectSpellAreaTargetCheck::operator()(), Trinity::WorldObjectSpellConeTargetCheck::operator()(), AuraEffect::PeriodicTick(), Spell::prepare(), Spell::prepareDataForTriggerSystem(), Aura::PrepareProcChargeDrop(), Spell::TargetInfo::PreprocessTarget(), Unit::ProcSkillsAndAuras(), Aura::RefreshDuration(), Aura::RefreshTimers(), Spell::RefundPower(), Unit::RemoveArenaAuras(), Player::RemoveArenaSpellCooldowns(), Unit::RemoveAurasByShapeShift(), Unit::RemoveAurasDueToSpellByDispel(), Unit::RemoveAurasDueToSpellBySteal(), Unit::RemoveAurasWithAttribute(), Player::RemoveSpell(), AuraEffect::ResetPeriodic(), DuelResetScript::ResetSpellCooldowns(), Spell::SearchChainTargets(), Spell::SelectImplicitAreaTargets(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitChainTargets(), Spell::SelectImplicitChannelTargets(), Spell::SelectImplicitDestDestTargets(), Spell::SelectImplicitNearbyTargets(), Spell::SelectImplicitTargetDestTargets(), Spell::SelectImplicitTrajTargets(), Spell::SelectSpellTargets(), Spell::SendCastResult(), Spell::SendChannelStart(), Spell::SendResurrectRequest(), Spell::SendSpellGo(), Spell::SendSpellStart(), Unit::SetCurrentCastSpell(), Creature::SetSpellFocus(), Spell::Spell(), Unit::SpellAbsorbBonusDone(), Unit::SpellAbsorbBonusTaken(), SpellCancelsAuraEffect(), CharacterDatabaseCleaner::SpellCheck(), Unit::SpellCritChanceDone(), Unit::SpellCritChanceTaken(), Unit::SpellDamageBonusDone(), Unit::SpellDamageBonusTaken(), Unit::SpellDamagePctDone(), Unit::SpellHealingBonusDone(), Unit::SpellHealingBonusTaken(), Unit::SpellHealingPctDone(), WorldObject::SpellHitResult(), SpellHistory::StartCooldown(), Trinity::Hyperlinks::LinkTags::enchant::StoreTo(), Spell::TakePower(), Spell::TakeReagents(), Spell::TriggerGlobalCooldown(), Unit::Update(), TotemAI::UpdateAI(), Player::UpdateCraftSkill(), Spell::UpdateSpellCastDataTargets(), and Player::VehicleSpellInitialize().

◆ HasAttribute() [2/18]

bool SpellInfo::HasAttribute ( SpellAttr1  attribute) const
inline

Definition at line 457 of file SpellInfo.h.

◆ HasAttribute() [3/18]

bool SpellInfo::HasAttribute ( SpellAttr10  attribute) const
inline

Definition at line 466 of file SpellInfo.h.

◆ HasAttribute() [4/18]

bool SpellInfo::HasAttribute ( SpellAttr11  attribute) const
inline

Definition at line 467 of file SpellInfo.h.

◆ HasAttribute() [5/18]

bool SpellInfo::HasAttribute ( SpellAttr12  attribute) const
inline

Definition at line 468 of file SpellInfo.h.

◆ HasAttribute() [6/18]

bool SpellInfo::HasAttribute ( SpellAttr13  attribute) const
inline

Definition at line 469 of file SpellInfo.h.

◆ HasAttribute() [7/18]

bool SpellInfo::HasAttribute ( SpellAttr14  attribute) const
inline

Definition at line 470 of file SpellInfo.h.

◆ HasAttribute() [8/18]

bool SpellInfo::HasAttribute ( SpellAttr15  attribute) const
inline

Definition at line 471 of file SpellInfo.h.

◆ HasAttribute() [9/18]

bool SpellInfo::HasAttribute ( SpellAttr16  attribute) const
inline

Definition at line 472 of file SpellInfo.h.

◆ HasAttribute() [10/18]

bool SpellInfo::HasAttribute ( SpellAttr2  attribute) const
inline

Definition at line 458 of file SpellInfo.h.

◆ HasAttribute() [11/18]

bool SpellInfo::HasAttribute ( SpellAttr3  attribute) const
inline

Definition at line 459 of file SpellInfo.h.

◆ HasAttribute() [12/18]

bool SpellInfo::HasAttribute ( SpellAttr4  attribute) const
inline

Definition at line 460 of file SpellInfo.h.

◆ HasAttribute() [13/18]

bool SpellInfo::HasAttribute ( SpellAttr5  attribute) const
inline

Definition at line 461 of file SpellInfo.h.

◆ HasAttribute() [14/18]

bool SpellInfo::HasAttribute ( SpellAttr6  attribute) const
inline

Definition at line 462 of file SpellInfo.h.

◆ HasAttribute() [15/18]

bool SpellInfo::HasAttribute ( SpellAttr7  attribute) const
inline

Definition at line 463 of file SpellInfo.h.

◆ HasAttribute() [16/18]

bool SpellInfo::HasAttribute ( SpellAttr8  attribute) const
inline

Definition at line 464 of file SpellInfo.h.

◆ HasAttribute() [17/18]

bool SpellInfo::HasAttribute ( SpellAttr9  attribute) const
inline

Definition at line 465 of file SpellInfo.h.

◆ HasAttribute() [18/18]

bool SpellInfo::HasAttribute ( SpellCustomAttributes  customAttribute) const
inline

Definition at line 473 of file SpellInfo.h.

◆ HasAura()

◆ HasAuraInterruptFlag() [1/2]

bool SpellInfo::HasAuraInterruptFlag ( SpellAuraInterruptFlags  flag) const
inline

◆ HasAuraInterruptFlag() [2/2]

bool SpellInfo::HasAuraInterruptFlag ( SpellAuraInterruptFlags2  flag) const
inline

Definition at line 479 of file SpellInfo.h.

References EnumFlag< T >::HasFlag().

◆ HasChannelInterruptFlag() [1/2]

bool SpellInfo::HasChannelInterruptFlag ( SpellAuraInterruptFlags  flag) const
inline

Definition at line 481 of file SpellInfo.h.

References EnumFlag< T >::HasFlag().

Referenced by CanBeInterrupted(), and Unit::IsNonMeleeSpellCast().

◆ HasChannelInterruptFlag() [2/2]

bool SpellInfo::HasChannelInterruptFlag ( SpellAuraInterruptFlags2  flag) const
inline

Definition at line 482 of file SpellInfo.h.

References EnumFlag< T >::HasFlag().

◆ HasEffect()

◆ HasHitDelay()

bool SpellInfo::HasHitDelay ( ) const

Definition at line 1935 of file SpellInfo.cpp.

References LaunchDelay, and Speed.

Referenced by WorldObject::GetMagicHitRedirectTarget(), and Spell::IsNeedSendToClient().

◆ HasInitialAggro()

◆ HasLabel()

◆ HasOnlyDamageEffects()

◆ HasTargetType()

bool SpellInfo::HasTargetType ( ::Targets  target) const

Definition at line 1609 of file SpellInfo.cpp.

References GetEffects().

Referenced by Player::AddQuest(), and Player::RewardQuest().

◆ IsAbilityOfSkillType()

bool SpellInfo::IsAbilityOfSkillType ( uint32  skillType) const

Definition at line 1686 of file SpellInfo.cpp.

References Id, and sSpellMgr.

◆ IsAffected()

◆ IsAffectedBySpellMod()

◆ IsAffectedBySpellMods()

bool SpellInfo::IsAffectedBySpellMods ( ) const

◆ IsAffectingArea()

bool SpellInfo::IsAffectingArea ( ) const

◆ IsAllowingDeadTarget()

◆ IsAuraExclusiveBySpecificPerCasterWith()

bool SpellInfo::IsAuraExclusiveBySpecificPerCasterWith ( SpellInfo const *  spellInfo) const

◆ IsAuraExclusiveBySpecificWith()

◆ IsAutocastable()

◆ IsAutocastEnabledByDefault()

bool SpellInfo::IsAutocastEnabledByDefault ( ) const

◆ IsAutoRepeatRangedSpell()

bool SpellInfo::IsAutoRepeatRangedSpell ( ) const

◆ IsAutoShot()

bool SpellInfo::IsAutoShot ( ) const

◆ IsChanneled()

◆ IsCooldownStartedOnEvent()

◆ IsCooldownStartedOnEventAfterCombat()

bool SpellInfo::IsCooldownStartedOnEventAfterCombat ( ) const

◆ IsDeathPersistent()

bool SpellInfo::IsDeathPersistent ( ) const

◆ IsDifferentRankOf()

bool SpellInfo::IsDifferentRankOf ( SpellInfo const *  spellInfo) const

Definition at line 4510 of file SpellInfo.cpp.

References Id, and IsRankOf().

Referenced by Pet::addSpell(), Player::AddSpell(), and Aura::CanStackWith().

◆ IsEmpowerSpell()

bool SpellInfo::IsEmpowerSpell ( ) const

Definition at line 1925 of file SpellInfo.cpp.

References EmpowerStageThresholds.

Referenced by Aura::CalcMaxDuration(), and Spell::Spell().

◆ IsExplicitDiscovery()

bool SpellInfo::IsExplicitDiscovery ( ) const

◆ IsGroupBuff()

bool SpellInfo::IsGroupBuff ( ) const

◆ IsHighRankOf()

bool SpellInfo::IsHighRankOf ( SpellInfo const *  spellInfo) const

Definition at line 4517 of file SpellInfo.cpp.

References ChainEntry, SpellChainNode::first, and SpellChainNode::rank.

Referenced by Pet::addSpell(), and Player::AddSpell().

◆ IsItemFitToSpellRequirements()

bool SpellInfo::IsItemFitToSpellRequirements ( Item const *  item) const

Definition at line 1966 of file SpellInfo.cpp.

References EquippedItemClass, and Item::IsFitToSpellRequirements().

Referenced by Unit::CalcArmorReducedDamage().

◆ IsLootCrafting()

bool SpellInfo::IsLootCrafting ( ) const

◆ IsMoveAllowedChannel()

bool SpellInfo::IsMoveAllowedChannel ( ) const

◆ IsMultiSlotAura()

bool SpellInfo::IsMultiSlotAura ( ) const

Definition at line 1807 of file SpellInfo.cpp.

References Id, and IsPassive().

Referenced by Unit::_TryStackingOrRefreshingExistingAura(), and Aura::CanStackWith().

◆ IsNextMeleeSwingSpell()

bool SpellInfo::IsNextMeleeSwingSpell ( ) const

◆ IsPassive()

◆ IsPassiveStackableWithRanks()

bool SpellInfo::IsPassiveStackableWithRanks ( ) const

Definition at line 1802 of file SpellInfo.cpp.

References HasEffect(), IsPassive(), and SPELL_EFFECT_APPLY_AURA.

Referenced by Unit::_RemoveNoStackAurasDueToAura().

◆ IsPositive()

◆ IsPositiveEffect()

◆ IsPrimaryProfession()

bool SpellInfo::IsPrimaryProfession ( ) const

◆ IsPrimaryProfessionFirstRank()

bool SpellInfo::IsPrimaryProfessionFirstRank ( ) const

◆ IsProfession()

bool SpellInfo::IsProfession ( ) const

Definition at line 1651 of file SpellInfo.cpp.

References GetEffects(), IsProfessionSkill(), and SPELL_EFFECT_SKILL.

◆ IsRangedWeaponSpell()

◆ IsRanked()

bool SpellInfo::IsRanked ( ) const

◆ IsRankOf()

bool SpellInfo::IsRankOf ( SpellInfo const *  spellInfo) const

◆ IsRequiringDeadTarget()

bool SpellInfo::IsRequiringDeadTarget ( ) const

◆ IsSingleTarget()

bool SpellInfo::IsSingleTarget ( ) const

◆ IsStackableOnOneSlotWithDifferentCasters()

bool SpellInfo::IsStackableOnOneSlotWithDifferentCasters ( ) const

TODO: Re-verify meaning of SPELL_ATTR3_STACK_FOR_DIFF_CASTERS and update conditions here

Definition at line 1812 of file SpellInfo.cpp.

References HasAttribute(), IsChanneled(), SPELL_ATTR3_DOT_STACKING_RULE, and StackAmount.

Referenced by Unit::_TryStackingOrRefreshingExistingAura().

◆ IsStackableWithRanks()

◆ IsTargetingArea()

bool SpellInfo::IsTargetingArea ( ) const

Definition at line 1707 of file SpellInfo.cpp.

References GetEffects().

Referenced by Spell::CheckCast().

◆ IsUpdatingTemporaryAuraValuesBySpellMod()

bool SpellInfo::IsUpdatingTemporaryAuraValuesBySpellMod ( ) const

Definition at line 2030 of file SpellInfo.cpp.

References Id.

◆ MeetsFutureSpellPlayerCondition()

bool SpellInfo::MeetsFutureSpellPlayerCondition ( Player const *  player) const

◆ NeedsExplicitUnitTarget()

◆ NeedsToBeTriggeredByCaster()

bool SpellInfo::NeedsToBeTriggeredByCaster ( SpellInfo const *  triggeringSpell) const

◆ operator=() [1/2]

SpellInfo & SpellInfo::operator= ( SpellInfo &&  )
deletenoexcept

◆ operator=() [2/2]

SpellInfo & SpellInfo::operator= ( SpellInfo const &  )
delete

◆ SpellCancelsAuraEffect()

Friends And Related Symbol Documentation

◆ SpellMgr

friend class SpellMgr
friend

Definition at line 325 of file SpellInfo.h.

Member Data Documentation

◆ _allowedMechanicMask

uint64 SpellInfo::_allowedMechanicMask = 0
private

Definition at line 635 of file SpellInfo.h.

Referenced by _LoadImmunityInfo(), and GetAllowedMechanicMask().

◆ _auraState

AuraStateType SpellInfo::_auraState = AURA_STATE_NONE
private

Definition at line 632 of file SpellInfo.h.

Referenced by _LoadAuraState(), and GetAuraState().

◆ _diminishInfo

◆ _effects

std::vector<SpellEffectInfo> SpellInfo::_effects
private

◆ _spellSpecific

SpellSpecificType SpellInfo::_spellSpecific = SPELL_SPECIFIC_NORMAL
private

Definition at line 631 of file SpellInfo.h.

Referenced by _LoadSpellSpecific(), and GetSpellSpecific().

◆ _visuals

SpellVisualVector SpellInfo::_visuals
private

◆ ActiveIconFileDataId

uint32 SpellInfo::ActiveIconFileDataId = 0

Definition at line 406 of file SpellInfo.h.

Referenced by SpellMgr::LoadSpellInfoCorrections(), and SpellInfo().

◆ Attributes

uint32 SpellInfo::Attributes = 0

◆ AttributesCu

uint32 SpellInfo::AttributesCu = 0

◆ AttributesEx

uint32 SpellInfo::AttributesEx = 0

◆ AttributesEx10

uint32 SpellInfo::AttributesEx10 = 0

Definition at line 343 of file SpellInfo.h.

Referenced by SpellMgr::LoadSpellInfoServerside(), and SpellInfo().

◆ AttributesEx11

uint32 SpellInfo::AttributesEx11 = 0

Definition at line 344 of file SpellInfo.h.

Referenced by SpellMgr::LoadSpellInfoServerside(), and SpellInfo().

◆ AttributesEx12

uint32 SpellInfo::AttributesEx12 = 0

Definition at line 345 of file SpellInfo.h.

Referenced by SpellMgr::LoadSpellInfoServerside(), and SpellInfo().

◆ AttributesEx13

uint32 SpellInfo::AttributesEx13 = 0

Definition at line 346 of file SpellInfo.h.

Referenced by SpellMgr::LoadSpellInfoServerside(), and SpellInfo().

◆ AttributesEx14

uint32 SpellInfo::AttributesEx14 = 0

Definition at line 347 of file SpellInfo.h.

Referenced by SpellMgr::LoadSpellInfoServerside(), and SpellInfo().

◆ AttributesEx15

uint32 SpellInfo::AttributesEx15 = 0

Definition at line 348 of file SpellInfo.h.

Referenced by SpellMgr::LoadSpellInfoServerside(), and SpellInfo().

◆ AttributesEx16

uint32 SpellInfo::AttributesEx16 = 0

Definition at line 349 of file SpellInfo.h.

Referenced by SpellMgr::LoadSpellInfoServerside(), and SpellInfo().

◆ AttributesEx2

uint32 SpellInfo::AttributesEx2 = 0

◆ AttributesEx3

uint32 SpellInfo::AttributesEx3 = 0

◆ AttributesEx4

uint32 SpellInfo::AttributesEx4 = 0

◆ AttributesEx5

uint32 SpellInfo::AttributesEx5 = 0

◆ AttributesEx6

uint32 SpellInfo::AttributesEx6 = 0

◆ AttributesEx7

uint32 SpellInfo::AttributesEx7 = 0

Definition at line 340 of file SpellInfo.h.

Referenced by SpellMgr::LoadSpellInfoServerside(), and SpellInfo().

◆ AttributesEx8

uint32 SpellInfo::AttributesEx8 = 0

◆ AttributesEx9

uint32 SpellInfo::AttributesEx9 = 0

◆ AuraInterruptFlags

◆ AuraInterruptFlags2

◆ BaseLevel

◆ CasterAuraSpell

uint32 SpellInfo::CasterAuraSpell = 0

Definition at line 362 of file SpellInfo.h.

Referenced by Spell::CheckCast(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().

◆ CasterAuraState

◆ CasterAuraType

AuraType SpellInfo::CasterAuraType = SPELL_AURA_NONE

Definition at line 366 of file SpellInfo.h.

Referenced by Spell::CheckCast(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().

◆ CastTimeEntry

SpellCastTimesEntry const* SpellInfo::CastTimeEntry = nullptr

Definition at line 370 of file SpellInfo.h.

Referenced by CalcCastTime(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().

◆ CategoryId

◆ CategoryRecoveryTime

◆ ChainEntry

◆ ChannelInterruptFlags

◆ ChannelInterruptFlags2

◆ ChargeCategoryId

◆ ConeAngle

float SpellInfo::ConeAngle = 0.0f

◆ ContentTuningId

uint32 SpellInfo::ContentTuningId = 0

◆ CooldownAuraSpellId

uint32 SpellInfo::CooldownAuraSpellId = 0

Definition at line 375 of file SpellInfo.h.

Referenced by SpellHistory::HasCooldown(), and SpellInfo().

◆ Difficulty

◆ Dispel

◆ DmgClass

◆ DurationEntry

◆ EmpowerStageThresholds

std::vector<Milliseconds> SpellInfo::EmpowerStageThresholds

Definition at line 422 of file SpellInfo.h.

Referenced by Spell::handle_immediate(), IsEmpowerSpell(), and SpellInfo().

◆ EquippedItemClass

◆ EquippedItemInventoryTypeMask

int32 SpellInfo::EquippedItemInventoryTypeMask = 0

◆ EquippedItemSubClassMask

◆ ExcludeCasterAuraSpell

◆ ExcludeCasterAuraState

uint32 SpellInfo::ExcludeCasterAuraState = 0

Definition at line 360 of file SpellInfo.h.

Referenced by Spell::CheckCast(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().

◆ ExcludeCasterAuraType

AuraType SpellInfo::ExcludeCasterAuraType = SPELL_AURA_NONE

Definition at line 368 of file SpellInfo.h.

Referenced by Spell::CheckCast(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().

◆ ExcludeTargetAuraSpell

◆ ExcludeTargetAuraState

uint32 SpellInfo::ExcludeTargetAuraState = 0

Definition at line 361 of file SpellInfo.h.

Referenced by CheckTarget(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().

◆ ExcludeTargetAuraType

AuraType SpellInfo::ExcludeTargetAuraType = SPELL_AURA_NONE

Definition at line 369 of file SpellInfo.h.

Referenced by CheckTarget(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().

◆ ExplicitTargetMask

uint32 SpellInfo::ExplicitTargetMask = 0

Definition at line 431 of file SpellInfo.h.

Referenced by _InitializeExplicitTargetMask(), and GetExplicitTargetMask().

◆ FacingCasterFlags

uint32 SpellInfo::FacingCasterFlags = 0

Definition at line 357 of file SpellInfo.h.

Referenced by Spell::CheckRange(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().

◆ IconFileDataId

uint32 SpellInfo::IconFileDataId = 0

Definition at line 405 of file SpellInfo.h.

Referenced by Spell::finish(), and SpellInfo().

◆ Id

uint32 const SpellInfo::Id = 0

Definition at line 328 of file SpellInfo.h.

Referenced by Spell::_cast(), Unit::_CreateAuraApplication(), Spell::_handle_finish_phase(), _isPositiveEffectImpl(), Pet::_LoadAuras(), Player::_LoadAuras(), _LoadAuraState(), _LoadImmunityInfo(), _LoadSpellDiminishInfo(), _LoadSpellSpecific(), _LoadSqrtTargetLimit(), Unit::_TryStackingOrRefreshingExistingAura(), Aura::_UnapplyForTarget(), SpellScriptBase::_Validate(), SpellScript::_Validate(), AuraScript::_Validate(), spell_valkyr_essences::Absorb(), spell_monk_stagger::AddAndRefreshStagger(), Unit::AddAura(), Player::AddQuest(), SpellMgr::AddSameEffectStackRuleSpellGroups(), CharmInfo::AddSpellToActionBar(), ApplyAllSpellImmunitiesTo(), Player::ApplyEquipSpell(), ApplySpellEffectFix(), Unit::CalcAbsorbResist(), Unit::CalcHealAbsorb(), CalcPowerCost(), Unit::CalculateAverageResistReduction(), ThreatManager::CalculateModifiedThreat(), SpellEffectInfo::CalcValue(), Spell::CanAutoCast(), CanBeInterrupted(), Spell::cancel(), Spell::CanOpenLock(), Aura::CanStackWith(), Player::CanUseBattlegroundObject(), Player::CastItemCombatSpell(), Spell::CheckCast(), Spell::CheckEffectTarget(), CheckLocation(), spell_item_wracking_brilliance::CheckProc(), spell_dk_rime::CheckProc(), spell_gen_boost_2_0_paladin_priest_watch_for_shield::CheckProc(), spell_sha_deeply_rooted_elements::CheckProc(), spell_dk_dark_simulacrum_buff::CheckProc(), spell_sha_mastery_elemental_overload::CheckProc(), spell_pri_heavens_wrath::CheckProc(), spell_pri_surge_of_light::CheckProc(), spell_sha_ancestral_guidance::CheckProc(), spell_sha_voltaic_blaze_aura::CheckProc(), spell_sha_ascendance_restoration::CheckProc(), spell_sha_earthen_rage_passive::CheckProc(), spell_eredar_twins_dark_flame_aura_shadow::CheckProc(), spell_eredar_twins_dark_flame_aura_fire::CheckProc(), spell_tutorial_health_dnt_proc_aura::CheckProc(), spell_dru_t10_restoration_4p_bonus_dummy::CheckProc(), spell_monk_crackling_jade_lightning_knockback_proc_aura::CheckProc(), spell_torghast_touch_of_the_unseen::CheckProc(), spell_mage_hot_streak::CheckProc(), cast_commandscript::CheckSpellExistsAndIsValid(), SpellMgr::CheckSpellGroupStackRules(), AreaTrigger::Create(), DynamicObject::CreateDynamicObject(), npc_silverpine_forest_ettin::DamageTaken(), Unit::DealDamage(), Unit::DealMeleeDamage(), Spell::DelayedChannel(), ScriptedAI::DoCastSpell(), Spell::DoCreateItem(), Spell::DoTriggersOnSpellHit(), Spell::EffectActivateObject(), Spell::EffectCastButtons(), Spell::EffectCreateItem2(), Spell::EffectCreateRandomItem(), Spell::EffectCreateTamedPet(), Spell::EffectDispel(), Spell::EffectDuel(), Spell::EffectDummy(), Spell::EffectEnchantHeldItem(), Spell::EffectEnchantItemPrismatic(), Spell::EffectEnchantItemTmp(), Spell::EffectEnergize(), Spell::EffectForceCast(), Spell::EffectForceCast2(), Spell::EffectHeal(), Spell::EffectInstaKill(), Spell::EffectInterruptCast(), Spell::EffectLearnPetSpell(), Spell::EffectOpenLock(), Spell::EffectPlayMusic(), Spell::EffectPlaySound(), Spell::EffectPullTowards(), Spell::EffectPullTowardsDest(), Spell::EffectRedirectThreat(), Spell::EffectScriptEffect(), Spell::EffectSendEvent(), Spell::EffectSendTaxi(), Spell::EffectSkinning(), Spell::EffectStealBeneficialBuff(), Spell::EffectSummonObject(), Spell::EffectSummonObjectWild(), Spell::EffectSummonPersonalGameObject(), Spell::EffectSummonPet(), Spell::EffectSummonType(), Spell::EffectTameCreature(), Spell::EffectTaunt(), Spell::EffectTeleportUnits(), Spell::EffectTeleportUnitsWithVisualLoadingScreen(), Spell::EffectTransmitted(), Spell::EffectTriggerMissileSpell(), Spell::EffectTriggerRitualOfSummoning(), Spell::EffectTriggerSpell(), Unit::EnergizeBySpell(), Player::ExecutePendingSpellCastRequest(), UnitAI::FillAISpellInfo(), FillSpellCastFailedArgs(), Spell::finish(), Unit::GetCastSpellInfo(), Player::GetCastSpellInfo(), Unit::GetCastSpellXSpellVisualId(), SpellHistory::GetCooldownDurations(), Spell::GetDebugInfo(), SpellMgr::GetFirstSpellInChain(), Unit::GetHighestExclusiveSameEffectSpellGroupValue(), SpellHistory::GetRemainingCooldown(), SpellMgr::GetSpellProcEntry(), spell_ioc_seaforium_blast_credit::HandleAchievementCredit(), AuraEffect::HandleAuraDummy(), AuraEffect::HandleAuraModPacifyAndSilence(), WorldSession::HandleCancelChanneling(), cast_commandscript::HandleCastBackCommand(), cast_commandscript::HandleCastCommand(), cast_commandscript::HandleCastDestCommand(), cast_commandscript::HandleCastDistCommand(), cast_commandscript::HandleCastSelfCommand(), cast_commandscript::HandleCastTargetCommad(), spell_item_deadly_precision_dummy::HandleDummy(), learn_commandscript::HandleLearnCommand(), learn_commandscript::HandleLearnMySpellsCommand(), AuraEffect::HandleLinkedSummon(), spell_dru_thrash::HandleOnHitTarget(), spell_pri_power_leech_passive::HandleOnProc(), Player::HandlePassiveSpellLearn(), WorldSession::HandlePetCastSpellOpcode(), pet_commandscript::HandlePetLearnCommand(), pet_commandscript::HandlePetUnlearnCommand(), spell_azhiccar_player_detection::HandlePlayerDetection(), spell_pri_holy_words::HandleProc(), spell_warr_sweeping_strikes::HandleProc(), spell_warl_seed_of_corruption_dummy_aura::HandleProc(), spell_dk_dark_simulacrum::HandleProc(), spell_sha_mastery_elemental_overload::HandleProc(), spell_dru_power_of_the_archdruid::HandleProc(), spell_pri_power_surge::HandleProc(), spell_pri_divine_word::HandleProc(), spell_dru_eclipse_aura::HandleRemoved(), spell_sartura_whirlwind::HandleScript(), spell_leotheras_the_blind_whirlwind_effect::HandleScript(), spell_gen_dalaran_disguise::HandleScript(), spell_gen_profession_research::HandleScript(), spell_item_book_of_glyph_mastery::HandleScript(), Unit::HandleSpellClick(), WorldSession::HandleSpellEmpowerRelease(), WorldSession::HandleSpellEmpowerRestart(), spell_thaddius_polarity_charge::HandleTargets(), spell_capacitus_polarity_charge::HandleTargets(), Spell::HandleThreatSpells(), learn_commandscript::HandleUnLearnCommand(), WorldSession::HandleUpdateAuraVisual(), WorldSession::HandleUpdateMissileTrajectory(), SpellHistory::HasCooldown(), CharmInfo::InitCharmCreateSpells(), Pet::InitLevelupSpellsForLevel(), CharmInfo::InitPossessCreateSpells(), IsAbilityOfSkillType(), IsDifferentRankOf(), IsExplicitDiscovery(), Unit::IsImmunedToSpell(), IsMultiSlotAura(), SpellMgr::IsSpellValid(), LinkValidator< LinkTags::enchant >::IsTextValid(), IsUpdatingTemporaryAuraValuesBySpellMod(), Spell::IsWithinLOS(), Spell::IsWithinLOS(), npc_guard_generic::JustEngagedWith(), spell_yogg_saron_psychosis::spell_yogg_saron_psychosis_SpellScript::Load(), spell_yogg_saron_lunatic_gaze::spell_yogg_saron_lunatic_gaze_SpellScript::Load(), spell_pri_entropic_rift::Load(), ObjectMgr::LoadCreatureAddons(), ObjectMgr::LoadCreatureTemplateAddons(), SmartAIMgr::LoadHelperStores(), LoadLootTemplates_Spell(), SpellMgr::LoadPetFamilySpellsStore(), SpellMgr::LoadPetLevelupSpellMap(), Aura::LoadScripts(), Spell::LoadScripts(), LoadSkillDiscoveryTable(), SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellProcs(), SpellMgr::LoadSpellRanks(), ObjectMgr::LoadSpellScriptNames(), SpellHistory::ModifyCooldown(), WorldObject::ModSpellCastTime(), WorldObject::ModSpellDuration(), boss_ymiron_the_fallen_king::OnChannelFinished(), npc_jayce_darkweaver_cryptic_hollow_private::OnChannelFinished(), boss_leymor::OnChannelFinished(), boss_the_curator_rtk::OnChannelFinished(), boss_skarmorak::OnChannelFinished(), Scripts::QuelThalas::MurderRow::KystiaManaheart::boss_kystia_manaheart::OnChannelFinished(), Scripts::QuelThalas::MurderRow::KystiaManaheart::boss_kystia_manaheart_nibbles::OnChannelFinished(), boss_cragmaw_the_infested::OnChannelFinished(), boss_garothi_worldbreaker::OnSpellCast(), npc_fel_lord_caza_cryptic_hollow::OnSpellCast(), boss_baron_geddon::OnSpellCast(), boss_garr::OnSpellCast(), npc_core_rager::OnSpellCast(), boss_magmadar::OnSpellCast(), boss_maiden_of_virtue::OnSpellCast(), boss_moroes::OnSpellCast(), boss_doctor_theolen_krastinov::OnSpellCast(), boss_kormok::OnSpellCast(), boss_brutallus::OnSpellCast(), boss_sacrolash::OnSpellCast(), boss_alythess::OnSpellCast(), npc_shadow_image::OnSpellCast(), boss_muru::OnSpellCast(), boss_ayamiss::OnSpellCast(), boss_kurinnaxx::OnSpellCast(), boss_moam::OnSpellCast(), boss_rajaxx::OnSpellCast(), boss_huhuran::OnSpellCast(), boss_sartura::OnSpellCast(), boss_king_dred::OnSpellCast(), boss_magus_telestra::OnSpellCast(), boss_drakos::OnSpellCast(), boss_krystallus::OnSpellCast(), boss_maiden_of_grief::OnSpellCast(), boss_ingvar_the_plunderer::OnSpellCast(), boss_warbringer_omrogg::OnSpellCast(), npc_millhouse_manastorm::OnSpellCast(), boss_dalliah_the_doomsayer::OnSpellCast(), boss_harbinger_skyriss::OnSpellCast(), boss_wrath_scryer_soccothrates::OnSpellCast(), boss_zereketh_the_unbound::OnSpellCast(), boss_commander_sarannis::OnSpellCast(), boss_thorngrin_the_tender::OnSpellCast(), boss_warp_splinter::OnSpellCast(), boss_alar::OnSpellCast(), boss_void_reaver::OnSpellCast(), boss_gatewatcher_gyrokill::OnSpellCast(), boss_gatewatcher_iron_hand::OnSpellCast(), boss_nethermancer_sepethrea::OnSpellCast(), boss_pathaleon_the_calculator::OnSpellCast(), boss_majordomo::OnSpellCast(), boss_ragnaros::OnSpellCast(), boss_tinhead::OnSpellCast(), boss_big_bad_wolf::OnSpellCast(), Scripts::EasternKingdoms::Vashjir::AbyssalDepths::npc_abyssal_depths_whirlpool_vehicle::OnSpellCast(), boss_akilzon::OnSpellCast(), boss_halazzi::OnSpellCast(), boss_hexlord_malacrass::OnSpellCast(), boss_janalai::OnSpellCast(), boss_nalorakk::OnSpellCast(), boss_anetheron::OnSpellCast(), boss_archimonde::OnSpellCast(), boss_azgalor::OnSpellCast(), boss_kazrogal::OnSpellCast(), boss_rage_winterchill::OnSpellCast(), boss_aeonus::OnSpellCast(), boss_chrono_lord_deja::OnSpellCast(), boss_temporus::OnSpellCast(), boss_hodir::OnSpellCast(), boss_exarch_maladaar::OnSpellCast(), boss_nexusprince_shaffar::OnSpellCast(), boss_darkweaver_syth::OnSpellCast(), boss_talon_king_ikiss::OnSpellCast(), boss_doom_lord_kazzak::OnSpellCast(), boss_lady_vashj::OnSpellCast(), boss_leotheras_the_blind::OnSpellCast(), boss_morogrim_tidewalker::OnSpellCast(), boss_hydromancer_thespia::OnSpellCast(), boss_mekgineer_steamrigger::OnSpellCast(), boss_swamplord_muselek::OnSpellCast(), boss_gruul::OnSpellCast(), boss_high_king_maulgar::OnSpellCast(), boss_blindeye_the_seer::OnSpellCast(), boss_omor_the_unscarred::OnSpellCast(), boss_watchkeeper_gargolmar::OnSpellCast(), boss_kaelthas::OnSpellCast(), npc_phoenix_the_eye::OnSpellCast(), npc_volatile_sapling::OnSpellFailed(), npc_shambling_horror_icc::OnSpellFailed(), boss_shade_of_medivh::OnSpellFailed(), boss_kaelthas::OnSpellFailed(), boss_drakos::OnSpellStart(), boss_ingvar_the_plunderer::OnSpellStart(), npc_millhouse_manastorm::OnSpellStart(), boss_commander_sarannis::OnSpellStart(), boss_thorngrin_the_tender::OnSpellStart(), boss_gatewatcher_iron_hand::OnSpellStart(), boss_shade_of_medivh::OnSpellStart(), boss_azhiccar::OnSpellStart(), boss_the_candle_king::OnSpellStart(), boss_hodir::OnSpellStart(), boss_exarch_maladaar::OnSpellStart(), boss_pandemonius::OnSpellStart(), boss_the_lurker_below::OnSpellStart(), boss_magtheridon::OnSpellStart(), boss_kaelthas::OnSpellStart(), Scripts::QuelThalas::MurderRow::KystiaManaheart::boss_kystia_manaheart::OnSpellStart(), Spell::prepare(), Spell::PreprocessSpellHit(), Spell::TargetInfo::PreprocessTarget(), spell_garfrost_permafrost::PreventHitByLoS(), SmartScript::ProcessEvent(), Unit::RemoveAurasWithInterruptFlags(), Player::ResetSpells(), Player::RewardQuest(), spell_sha_molten_thunder_sundering::RollReset(), Spell::SelectEffectImplicitTargets(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitChannelTargets(), Spell::SelectImplicitNearbyTargets(), Spell::SendChannelStart(), SpellHistory::SendCooldownEvent(), Unit::SendHealSpellLog(), Spell::SendInterrupted(), Spell::SendResurrectRequest(), Spell::SendSpellExecuteLog(), Spell::SendSpellGo(), Spell::SendSpellInterruptLog(), Unit::SendSpellNonMeleeDamageLog(), Spell::SendSpellStart(), AuraEffect::SendTickImmune(), CharmInfo::SetSpellAutocast(), list_commandscript::ShouldListAura(), Spell::Spell(), Unit::SpellDamagePctDone(), npc_redridge_huge_boulder::SpellHit(), npc_ley_line_sprouts::SpellHit(), boss_pyroguard_emberseer::SpellHit(), boss_garr::SpellHit(), npc_firesworn::SpellHit(), boss_shazzrah::SpellHit(), boss_attumen::boss_attumenAI::SpellHit(), netherspite_infernal::netherspite_infernalAI::SpellHit(), boss_terestian_illhoof::boss_terestianAI::SpellHit(), boss_romulo::SpellHit(), boss_shade_of_medivh::SpellHit(), npc_sir_thomas::SpellHit(), boss_scarlet_commander_mograine::SpellHit(), npc_summoned_skeleton::SpellHit(), npc_spectral_ghostly_citizen::npc_spectral_ghostly_citizenAI::SpellHit(), npc_muru_portal::SpellHit(), npc_earthen_hallshaper_custodian::SpellHit(), npc_earthen_guardian::SpellHit(), npc_vault_warder::SpellHit(), npc_silverpine_forsaken_bat::SpellHit(), npc_silverpine_orc_sea_pup::SpellHit(), npc_silverpine_agatha_fenris_isle::SpellHit(), npc_silverpine_hillsbrad_refugee::SpellHit(), npc_silverpine_fenris_keep_stalker::SpellHit(), npc_silverpine_fenris_keep_camera::SpellHit(), npc_silverpine_crowley_bloodfang_fenris_keep::SpellHit(), npc_silverpine_generic_actor_fenris_keep::SpellHit(), npc_fire_bomb_zulaman::SpellHit(), npc_dragonhawk_egg::SpellHit(), npc_omen::SpellHit(), npc_garrick_summoned_beach::SpellHit(), npc_grimaxe_summoned_beach::SpellHit(), npc_leader_northbound::SpellHit(), npc_lindie_springstock_q56034::SpellHit(), npc_cork_fizzlepop_q59941::SpellHit(), npc_captain_garrick_q55879::SpellHit(), npc_giant_boar_vehicle_q55879::SpellHit(), npc_warlord_grimaxe_q59942::SpellHit(), boss_archimonde::SpellHit(), npc_crate_helper::npc_crate_helperAI::SpellHit(), boss_onyxia::SpellHit(), npc_hive_zara_swarmer::SpellHit(), boss_buru::SpellHit(), npc_buru_egg::SpellHit(), npc_taskmaster_fizzule::npc_taskmaster_fizzuleAI::SpellHit(), npc_azhiccar_intro_creature::SpellHit(), npc_drustvar_charging_familiar::SpellHit(), boss_aqusirr::SpellHit(), npc_aqusirr_intro_lord_stormsong::SpellHit(), boss_soulbound_goliath::SpellHit(), npc_taelia_get_your_bearings::SpellHit(), boss_anub_arak::SpellHit(), boss_krik_thir::SpellHit(), npc_gatewatcher_petAI::SpellHit(), boss_halion::SpellHit(), boss_twilight_halion::SpellHit(), npc_open_portal_target_toc::SpellHit(), boss_king_dred::SpellHit(), boss_gal_darah::SpellHit(), boss_moorabi::SpellHit(), BloodPrincesBossAI::SpellHit(), boss_deathbringer_saurfang::SpellHit(), npc_high_overlord_saurfang_icc::SpellHit(), npc_muradin_bronzebeard_icc::SpellHit(), npc_saurfang_event::SpellHit(), npc_cult_fanatic::SpellHit(), npc_cult_adherent::SpellHit(), npc_putricide_oozeAI::SpellHit(), npc_argent_captainAI::SpellHit(), boss_the_lich_king::SpellHit(), npc_tirion_fordring_tft::SpellHit(), boss_valithria_dreamwalker::SpellHit(), npc_gothik_trigger::SpellHit(), boss_kelthuzad::SpellHit(), npc_portal_eoe::SpellHit(), npc_arcane_overload::SpellHit(), boss_magus_telestra::SpellHit(), boss_urom::SpellHit(), npc_ruby_emerald_amber_drake::SpellHit(), boss_ionar::SpellHit(), npc_black_hole::SpellHit(), boss_flame_leviathan::boss_flame_leviathanAI::SpellHit(), npc_toasty_fire::SpellHit(), boss_razorscale::SpellHit(), npc_razorscale_harpoon_fire_state::SpellHit(), boss_thorim::boss_thorimAI::SpellHit(), npc_sif::npc_sifAI::SpellHit(), boss_yogg_saron::boss_yogg_saronAI::SpellHit(), npc_grauf::SpellHit(), boss_xevozz::SpellHit(), npc_wyrmrest_defender::SpellHit(), npc_frostbrood_skytalon::SpellHit(), npc_focus_fire::SpellHit(), boss_shade_of_akama::SpellHit(), npc_akama_shade::SpellHit(), boss_najentus::SpellHit(), boss_fathomlord_karathress::SpellHit(), boss_ahune::SpellHit(), npc_shaman_bonfire_bunny::SpellHit(), boss_swamplord_muselek::SpellHit(), npc_claw::SpellHit(), boss_gruul::SpellHit(), boss_kelidan_the_breaker::SpellHit(), boss_vazruden_the_herald::SpellHit(), boss_magtheridon::SpellHit(), npc_fel_orc_convert::SpellHit(), npc_warden_mellichar::SpellHit(), boss_dalliah_the_doomsayer::SpellHit(), boss_high_botanist_freywinn::SpellHit(), npc_warp_splinter_sapling::SpellHit(), boss_alar::SpellHit(), boss_kaelthas::SpellHit(), AdvisorBaseAI::SpellHit(), npc_nagrand_banner::npc_nagrand_bannerAI::SpellHit(), npc_infernal_attacker::npc_infernal_attackerAI::SpellHit(), npc_shadowmoon_tuber_node::npc_shadowmoon_tuber_nodeAI::SpellHit(), Scripts::QuelThalas::MurderRow::KystiaManaheart::boss_kystia_manaheart::SpellHit(), boss_volkaal::SpellHit(), npc_animated_gold::SpellHit(), npc_sporecaller_zancha_musashitake::SpellHit(), npc_wounded_coldridge_mountaineer::npc_wounded_coldridge_mountaineerAI::SpellHit(), npc_wounded_milita::npc_wounded_militaAI::SpellHit(), npc_redridge_subdued_canyon_ettin::SpellHit(), Scripts::Kalimdor::Durotar::npc_lazy_peon::npc_lazy_peonAI::SpellHit(), npc_death_knight_initiate::npc_death_knight_initiateAI::SpellHit(), npc_restless_soul::npc_restless_soulAI::SpellHit(), boss_felmyst::SpellHit(), boss_sathrovarr::SpellHit(), Scripts::EasternKingdoms::Vashjir::Chapter1::npc_vashjir_drowning_soldier::SpellHit(), npc_silverpine_forest_ettin::SpellHit(), npc_troll_volunteer::SpellHit(), npc_survivors_healed_by_leader_beach_private< PathId, WaitTime >::SpellHit(), npc_alliance_survivors_beach_laying< ConversationId >::SpellHit(), npc_bo_beach_laying::SpellHit(), npc_mithran_dawntracker_beach_laying::SpellHit(), npc_lana_jordan_beach_laying::SpellHit(), npc_sparring_partner_enhanced_combat_training_warrior::SpellHit(), npc_sparring_partner_enhanced_combat_training_paladin::SpellHit(), npc_sparring_partner_enhanced_combat_training_rogue::SpellHit(), npc_sparring_partner_enhanced_combat_training_priest::SpellHit(), npc_sparring_partner_enhanced_combat_training_shaman::SpellHit(), npc_sparring_partner_enhanced_combat_training_mage::SpellHit(), npc_sparring_partner_enhanced_combat_training_warlock::SpellHit(), npc_sparring_partner_enhanced_combat_training_monk::SpellHit(), npc_sparring_partner_enhanced_combat_training_druid::SpellHit(), npc_scoutomatic_5000::SpellHit(), npc_choppy_booster_scout::SpellHit(), boss_ossirian::boss_ossirianAI::SpellHit(), boss_twinemperorsAI::SpellHit(), npc_aged_dying_ancient_kodo::npc_aged_dying_ancient_kodoAI::SpellHit(), npc_drustvar_frightend_woodsman::SpellHit(), boss_sister_svalna::SpellHit(), npc_icc_orb_controller::SpellHit(), boss_faerlina::SpellHit(), boss_razuvious::SpellHit(), npc_stalagg::SpellHit(), npc_feugen::SpellHit(), boss_malygos::SpellHit(), npc_living_constellation::SpellHit(), npc_ichor_globule::SpellHit(), go_caribou_trap::SpellHit(), go_mammoth_trap::SpellHit(), npc_outhouse_bunny::SpellHit(), npc_wounded_skirmisher::SpellHit(), npc_venture_co_straggler::SpellHit(), npc_tournament_training_dummy::SpellHit(), npc_jungle_punch_target::SpellHit(), npc_brunnhildar_prisoner::SpellHit(), npc_wild_wyrm::SpellHit(), npc_storm_cloud::SpellHit(), npc_nether_drake::npc_nether_drakeAI::SpellHit(), npc_mature_netherwing_drake::npc_mature_netherwing_drakeAI::SpellHit(), npc_enslaved_netherwing_drake::npc_enslaved_netherwing_drakeAI::SpellHit(), npc_pet_dk_ebon_gargoyle::SpellHit(), npc_injured_patient::npc_injured_patientAI::SpellHit(), npc_dark_fiend::SpellHitTarget(), npc_shard_of_torment::SpellHitTarget(), boss_krik_thir::SpellHitTarget(), boss_devourer_of_souls::SpellHitTarget(), npc_vengeful_shade::SpellHitTarget(), npc_putricide_oozeAI::SpellHitTarget(), boss_rotface::SpellHitTarget(), boss_four_horsemen_baron::SpellHitTarget(), boss_four_horsemen_thane::SpellHitTarget(), boss_four_horsemen_sir::SpellHitTarget(), boss_sara::boss_saraAI::SpellHitTarget(), npc_maghar_captive::npc_maghar_captiveAI::SpellHitTarget(), npc_kurenai_captive::npc_kurenai_captiveAI::SpellHitTarget(), npc_train_wrecker::npc_train_wreckerAI::SpellHitTarget(), npc_fel_lord_caza_cryptic_hollow::SpellHitTarget(), boss_felblood_kaelthas::SpellHitTarget(), boss_shade_of_medivh::SpellHitTarget(), npc_dark_rider_of_acherus::SpellHitTarget(), boss_high_inquisitor_whitemane::SpellHitTarget(), boss_tunk::SpellHitTarget(), boss_epoch::boss_epochAI::SpellHitTarget(), boss_infinite_corruptor::boss_infinite_corruptorAI::SpellHitTarget(), boss_onyxia::SpellHitTarget(), boss_the_candle_king::SpellHitTarget(), boss_lord_stormsong::SpellHitTarget(), boss_soulbound_goliath::SpellHitTarget(), boss_volazj::SpellHitTarget(), npc_anub_ar_skirmisher::SpellHitTarget(), boss_garfrost::SpellHitTarget(), boss_drakkari_elemental::SpellHitTarget(), boss_deathbringer_saurfang::SpellHitTarget(), boss_festergut::SpellHitTarget(), boss_lady_deathwhisper::SpellHitTarget(), boss_sindragosa::SpellHitTarget(), boss_sister_svalna::SpellHitTarget(), boss_grobbulus::SpellHitTarget(), boss_sapphiron::SpellHitTarget(), npc_azure_ring_captain::SpellHitTarget(), npc_malformed_ooze::SpellHitTarget(), boss_flame_leviathan::boss_flame_leviathanAI::SpellHitTarget(), npc_unstable_sun_beam::npc_unstable_sun_beamAI::SpellHitTarget(), boss_general_vezax::boss_general_vezaxAI::SpellHitTarget(), boss_thorim::boss_thorimAI::SpellHitTarget(), boss_ymiron::SpellHitTarget(), npc_haiphoon::SpellHitTarget(), npc_water_globule::SpellHitTarget(), boss_kiggler_the_crazed::SpellHitTarget(), boss_warchief_kargath_bladefist::SpellHitTarget(), npc_simon_bunny::npc_simon_bunnyAI::SpellHitTarget(), Scripts::Pandaria::TheWanderingIsle::npc_jaomin_ro::SpellHitTarget(), Scripts::Pandaria::TheWanderingIsle::npc_jaomin_ro_hawk::SpellHitTarget(), boss_lethon::boss_lethonAI::SpellHitTarget(), SpellHistory::StartCooldown(), Spell::SummonGuardian(), Spell::TakeCastItem(), Pet::ToggleAutocast(), CharmInfo::ToggleCreatureAutocast(), DivineImageHelpers::Trigger(), GameObject::TriggeringLinkedGameObject(), Spell::update(), Spell::UpdateChanneledTargetList(), Player::UpdateCraftSkill(), spell_deathwhisper_dark_reckoning::Validate(), spell_garothi_fel_bombardment_periodic::Validate(), spell_garothi_annihilation_selector::Validate(), spell_bg_seething_shore_parachute::Validate(), spell_lick_selector_guarm::Validate(), spell_volatile_foam_aura< SpellIdOnExpire >::Validate(), spell_occuthar_eyes_of_occuthar::spell_occuthar_eyes_of_occuthar_SpellScript::Validate(), spell_kalecgos_tap_check::Validate(), spell_muru_negative_energy_periodic::Validate(), Scripts::EasternKingdoms::Westfall::spell_westfall_reaping_blows::Validate(), spell_pilgrims_bounty_feast_on::Validate(), spell_baleroc_decimating_strike::Validate(), spell_husam_hammer_fist::Validate(), spell_husam_bad_intentions::Validate(), spell_husam_hurl::Validate(), spell_ooze_zap::Validate(), spell_halion_combustion_consumption_periodic::Validate(), spell_mistress_kiss_area::Validate(), spell_fel_streak_visual::Validate(), spell_jormungars_slime_pool::Validate(), spell_icehowl_arctic_breath::Validate(), spell_trollgore_invader_taunt::Validate(), spell_putricide_ooze_tank_protection::Validate(), spell_rotface_mutated_infection_aura::Validate(), spell_frostwarden_handler_focus_fire_aura::Validate(), spell_grobbulus_poison_cloud::Validate(), spell_krystallus_shatter_effect::Validate(), spell_algalon_phase_constellation::Validate(), spell_tar_blaze::Validate(), spell_hodir_freeze::Validate(), spell_hodir_dispel_magic::Validate(), spell_hodir_melt_ice::Validate(), spell_ulduar_cancel_stone_grip::spell_ulduar_cancel_stone_gripSpellScript::Validate(), spell_borean_tundra_nerubar_web_random_unit_not_on_quest::Validate(), spell_borean_tundra_dispel_freed_soldier_debuff::Validate(), spell_icecrown_cannons_target::Validate(), spell_icecrown_bested_trigger::Validate(), spell_sholazar_take_sputum_sample::Validate(), spell_wintergrasp_tenacity_refresh::Validate(), spell_mother_shahraz_saber_lash::Validate(), spell_mother_shahraz_generic_periodic::Validate(), spell_leotheras_the_blind_demon_link::Validate(), spell_gruul_shatter_effect::Validate(), spell_broggok_poison_cloud::Validate(), spell_astromancer_wrath_of_the_astromancer::Validate(), spell_anduin_wrynn_befouled_barrier_absorb::Validate(), spell_azerite_gen_aura_calc_from_2nd_effect_triggered_spell::Validate(), spell_dh_calcified_spikes_periodic::Validate(), spell_dh_darkness::Validate(), spell_dh_deflecting_spikes::Validate(), spell_dh_last_resort::Validate(), spell_dh_shattered_destiny::Validate(), spell_dh_soul_carver::Validate(), spell_dk_anti_magic_shell::Validate(), spell_dk_apply_bone_shield::Validate(), spell_dk_death_pact::Validate(), spell_dk_death_strike::Validate(), spell_dk_ghoul_explode::Validate(), spell_dk_improved_death_strike::Validate(), spell_dk_rime::Validate(), spell_dru_embrace_of_the_dream::Validate(), spell_dru_flower_walk::Validate(), spell_dru_flower_walk_heal::Validate(), spell_dru_inner_peace::Validate(), spell_dru_mangle::Validate(), spell_dru_natures_grace::Validate(), spell_dru_pulverize::Validate(), spell_dru_rake::Validate(), spell_dru_wild_growth::Validate(), spell_evo_emerald_blossom_heal::Validate(), spell_evo_fire_breath_damage::Validate(), spell_evo_ruby_embers::Validate(), spell_gen_arena_drink::Validate(), spell_gen_aura_of_fear::Validate(), spell_gen_burning_depths_necrolyte_image::Validate(), spell_gen_dalaran_disguise::Validate(), spell_gen_gift_of_naaru::Validate(), spell_gen_oracle_wolvar_reputation::Validate(), spell_gen_remove_on_health_pct::Validate(), spell_gen_eject_passenger::Validate(), spell_gen_mixology_bonus::Validate(), spell_gen_face_rage::Validate(), spell_gen_random_aggro_taunt::Validate(), spell_hun_aspect_of_the_fox::Validate(), spell_hun_bleak_arrows::Validate(), spell_hun_cobra_sting::Validate(), spell_hun_masters_call::Validate(), spell_hun_quick_draw_speed::Validate(), spell_hun_scouts_instincts::Validate(), spell_item_crystal_spire_of_karabor::Validate(), spell_item_artifical_stamina::Validate(), spell_item_artifical_damage::Validate(), spell_item_water_strider::Validate(), spell_item_seal_of_darkshire_nobility::Validate(), spell_item_grips_of_forsaken_sanity::Validate(), spell_mage_arcane_barrage::Validate(), spell_mage_arcane_explosion::Validate(), spell_mage_cauterize_AuraScript::Validate(), spell_mage_flame_on::Validate(), spell_mage_prismatic_barrier::Validate(), spell_mage_scald::Validate(), spell_monk_pressure_points::Validate(), spell_monk_save_them_all::Validate(), spell_pal_ardent_defender::Validate(), spell_pal_awakening::Validate(), spell_pal_blade_of_vengeance::Validate(), spell_pal_eternal_flame::Validate(), spell_pal_eternal_flame_aura::Validate(), spell_pal_execution_sentence_aura::Validate(), spell_pal_judgment_of_justice::Validate(), spell_pal_justicars_vengeance::Validate(), spell_pal_shield_of_vengeance::Validate(), spell_pri_angelic_bulwark::Validate(), spell_pri_answered_prayers::Validate(), spell_pri_atonement::Validate(), spell_pri_circle_of_healing::Validate(), spell_pri_deaths_torment::Validate(), spell_pri_dispersing_light::Validate(), spell_pri_divine_word::Validate(), spell_pri_divine_word_sanctuary_heal::Validate(), spell_pri_divinity::Validate(), spell_pri_guardian_spirit::Validate(), spell_pri_holy_word_salvation::Validate(), spell_pri_lights_wrath::Validate(), spell_pri_shadow_word_death::Validate(), spell_pri_void_volley::Validate(), spell_quest_portal_with_condition::Validate(), spell_rog_backstab::Validate(), spell_rog_cheat_death::Validate(), spell_sha_deeply_rooted_elements::Validate(), spell_sha_downpour::Validate(), spell_sha_earthquake_tick::Validate(), spell_sha_lava_lash::Validate(), spell_sha_stormflurry::Validate(), spell_sha_swirling_maelstrom::Validate(), spell_sha_thorims_invocation_primer::Validate(), spell_warl_burning_rush::Validate(), spell_warl_dark_pact::Validate(), spell_warl_devour_magic::Validate(), spell_warl_drain_soul::Validate(), spell_warl_shadowburn::Validate(), spell_warr_bloodthirst_enrage::Validate(), spell_warr_devastator::Validate(), spell_warr_execute::Validate(), spell_warr_frenzied_enrage::Validate(), spell_warr_powerful_enrage::Validate(), spell_warr_improved_whirlwind::Validate(), spell_warr_item_t10_prot_4p_bonus::Validate(), spell_warr_unbridled_ferocity::Validate(), spell_sanguine_feast_selector::Validate(), ObjectMgr::ValidateSpellScripts(), Player::VehicleSpellInitialize(), Spell::~Spell(), and SpellEvent::~SpellEvent().

◆ InterruptFlags

◆ Labels

std::unordered_set<uint32> SpellInfo::Labels

◆ LaunchDelay

◆ MaxAffectedTargets

◆ MaxLevel

uint32 SpellInfo::MaxLevel = 0

◆ MaxTargetLevel

uint32 SpellInfo::MaxTargetLevel = 0

Definition at line 412 of file SpellInfo.h.

Referenced by SpellMgr::LoadSpellInfoServerside(), and SpellInfo().

◆ MaxTargets

int32 SpellInfo::MaxTargets = 0

Definition at line 436 of file SpellInfo.h.

Referenced by Spell::DoEffectOnLaunchTarget().

◆ Mechanic

◆ MinDuration

◆ NegativeEffects

std::bitset<MAX_SPELL_EFFECTS> SpellInfo::NegativeEffects

◆ NumNonDiminishedTargets

int32 SpellInfo::NumNonDiminishedTargets = 0

Definition at line 437 of file SpellInfo.h.

Referenced by Spell::DoEffectOnLaunchTarget().

◆ PowerCosts

◆ PreventionType

◆ ProcBasePPM

float SpellInfo::ProcBasePPM = 0.0f

Definition at line 385 of file SpellInfo.h.

Referenced by CalcProcPPM(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().

◆ ProcChance

◆ ProcCharges

◆ ProcCooldown

uint32 SpellInfo::ProcCooldown = 0

◆ ProcFlags

◆ ProcPPMMods

std::vector<SpellProcsPerMinuteModEntry const*> SpellInfo::ProcPPMMods

Definition at line 386 of file SpellInfo.h.

Referenced by CalcProcPPM(), and SpellInfo().

◆ RangeEntry

◆ Reagent

std::array<int32, MAX_SPELL_REAGENTS> SpellInfo::Reagent = {}

◆ ReagentCount

std::array<int16, MAX_SPELL_REAGENTS> SpellInfo::ReagentCount = {}

Definition at line 400 of file SpellInfo.h.

Referenced by Spell::CheckItems(), Player::RemovePet(), SpellInfo(), and Spell::TakeReagents().

◆ ReagentsCurrency

std::vector<SpellReagentsCurrencyEntry const*> SpellInfo::ReagentsCurrency

Definition at line 401 of file SpellInfo.h.

Referenced by Spell::CheckItems(), SpellInfo(), and Spell::TakeReagents().

◆ RecoveryTime

◆ RequiredAreasID

int32 SpellInfo::RequiredAreasID = -1

◆ RequiredExplicitTargetMask

uint32 SpellInfo::RequiredExplicitTargetMask = 0

Definition at line 432 of file SpellInfo.h.

Referenced by _InitializeExplicitTargetMask(), and CheckExplicitTarget().

◆ RequiresSpellFocus

◆ Scaling

struct SpellInfo::ScalingInfo SpellInfo::Scaling

◆ SchoolMask

◆ ShowFutureSpellPlayerConditionID

uint32 SpellInfo::ShowFutureSpellPlayerConditionID = 0

◆ Speed

◆ SpellFamilyFlags

◆ SpellFamilyName

◆ SpellLevel

◆ SpellName

◆ [struct]

struct { ... } SpellInfo::SqrtDamageAndHealingDiminishing

◆ StackAmount

◆ Stances

◆ StancesNot

uint64 SpellInfo::StancesNot = 0

Definition at line 353 of file SpellInfo.h.

Referenced by CheckShapeshift(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().

◆ StartRecoveryCategory

◆ StartRecoveryTime

◆ TargetAuraSpell

uint32 SpellInfo::TargetAuraSpell = 0

Definition at line 363 of file SpellInfo.h.

Referenced by CheckTarget(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().

◆ TargetAuraState

uint32 SpellInfo::TargetAuraState = 0

Definition at line 359 of file SpellInfo.h.

Referenced by CheckTarget(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().

◆ TargetAuraType

AuraType SpellInfo::TargetAuraType = SPELL_AURA_NONE

Definition at line 367 of file SpellInfo.h.

Referenced by CheckTarget(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().

◆ TargetCreatureType

uint32 SpellInfo::TargetCreatureType = 0

◆ Targets

uint32 SpellInfo::Targets = 0

◆ Totem

std::array<int32, MAX_SPELL_TOTEMS> SpellInfo::Totem = {}

◆ TotemCategory

std::array<uint16, MAX_SPELL_TOTEMS> SpellInfo::TotemCategory = {}

◆ Width


The documentation for this class was generated from the following files: