TrinityCore
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 ()
 
SpellInfooperator= (SpellInfo const &)=delete
 
SpellInfooperator= (SpellInfo &&) noexcept=delete
 
uint32 GetCategory () const
 
bool HasEffect (SpellEffectName 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 (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 IsStackableWithRanks () const
 
bool IsPassiveStackableWithRanks () const
 
bool IsMultiSlotAura () const
 
bool IsStackableOnOneSlotWithDifferentCasters () const
 
bool IsCooldownStartedOnEvent () 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 IsRangedWeaponSpell () const
 
bool IsAutoRepeatRangedSpell () 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
 
bool IsAffectedBySpellMod (SpellModifier const *mod) 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 *caster=nullptr, Spell *spell=nullptr) const
 
int32 CalcDuration (WorldObject const *caster=nullptr) const
 
int32 GetDuration () const
 
int32 GetMaxDuration () const
 
uint32 GetMaxTicks () const
 
uint32 CalcCastTime (Spell *spell=nullptr) const
 
uint32 GetRecoveryTime () const
 
Optional< SpellPowerCostCalcPowerCost (Powers powerType, bool optionalCost, WorldObject const *caster, SpellSchoolMask schoolMask, Spell *spell=nullptr) const
 
Optional< SpellPowerCostCalcPowerCost (SpellPowerEntry const *power, bool optionalCost, WorldObject const *caster, SpellSchoolMask schoolMask, Spell *spell=nullptr) const
 
std::vector< SpellPowerCostCalcPowerCost (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 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 AttributesCu = 0
 
std::bitset< MAX_SPELL_EFFECTSNegativeEffects
 
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< SpellInterruptFlagsInterruptFlags = SpellInterruptFlags::None
 
EnumFlag< SpellAuraInterruptFlagsAuraInterruptFlags = SpellAuraInterruptFlags::None
 
EnumFlag< SpellAuraInterruptFlags2AuraInterruptFlags2 = SpellAuraInterruptFlags2::None
 
EnumFlag< SpellAuraInterruptFlagsChannelInterruptFlags = SpellAuraInterruptFlags::None
 
EnumFlag< SpellAuraInterruptFlags2ChannelInterruptFlags2 = 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_SPELLPowerCosts = {}
 
SpellRangeEntry const * RangeEntry = nullptr
 
float Speed = 0.0f
 
float LaunchDelay = 0.0f
 
uint32 StackAmount = 0
 
std::array< int32, MAX_SPELL_TOTEMSTotem = {}
 
std::array< uint16, MAX_SPELL_TOTEMSTotemCategory = {}
 
std::array< int32, MAX_SPELL_REAGENTSReagent = {}
 
std::array< int16, MAX_SPELL_REAGENTSReagentCount = {}
 
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< uint32Labels
 
struct SpellInfo::ScalingInfo Scaling
 
uint32 ExplicitTargetMask = 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< SpellEffIndex > maxTargetsEffectValueHolder, Optional< SpellEffIndex > numNonDiminishedTargetsEffectValueHolder)
 
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 320 of file SpellInfo.h.

Constructor & Destructor Documentation

◆ SpellInfo() [1/4]

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

Definition at line 1164 of file SpellInfo.cpp.

+ Here is the call graph for this function:

◆ SpellInfo() [2/4]

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

Definition at line 1362 of file SpellInfo.cpp.

+ Here is the call graph for this function:

◆ SpellInfo() [3/4]

SpellInfo::SpellInfo ( SpellInfo const &  )
delete

◆ SpellInfo() [4/4]

SpellInfo::SpellInfo ( SpellInfo &&  )
delete

◆ ~SpellInfo()

SpellInfo::~SpellInfo ( )

Definition at line 1381 of file SpellInfo.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ _InitializeExplicitTargetMask()

void SpellInfo::_InitializeExplicitTargetMask ( )
private

Definition at line 4394 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _InitializeSpellPositivity()

void SpellInfo::_InitializeSpellPositivity ( )
private

Definition at line 4882 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadAuraState()

void SpellInfo::_LoadAuraState ( )
private

Definition at line 2543 of file SpellInfo.cpp.

+ Here is the call graph for this function:

◆ _LoadImmunityInfo()

void SpellInfo::_LoadImmunityInfo ( )
private

Definition at line 3308 of file SpellInfo.cpp.

+ Here is the call graph for this function:

◆ _LoadSpellDiminishInfo()

void SpellInfo::_LoadSpellDiminishInfo ( )
private

Definition at line 2817 of file SpellInfo.cpp.

+ Here is the call graph for this function:

◆ _LoadSpellSpecific()

void SpellInfo::_LoadSpellSpecific ( )
private

@workaround For non-stacking tracking spells (We need generic solution)

Definition at line 2629 of file SpellInfo.cpp.

+ Here is the call graph for this function:

◆ _LoadSqrtTargetLimit()

void SpellInfo::_LoadSqrtTargetLimit ( int32  maxTargets,
int32  numNonDiminishedTargets,
Optional< SpellEffIndex maxTargetsEffectValueHolder,
Optional< SpellEffIndex numNonDiminishedTargetsEffectValueHolder 
)
private

Definition at line 3472 of file SpellInfo.cpp.

+ Here is the call graph for this function:

◆ _UnloadImplicitTargetConditionLists()

void SpellInfo::_UnloadImplicitTargetConditionLists ( )
private

Definition at line 4921 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ ApplyAllSpellImmunitiesTo()

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

Definition at line 3507 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CalcCastTime()

uint32 SpellInfo::CalcCastTime ( Spell spell = nullptr) const

Definition at line 3805 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CalcDuration()

int32 SpellInfo::CalcDuration ( WorldObject const *  caster = nullptr) const

Definition at line 3780 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CalcPowerCost() [1/3]

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

Definition at line 3870 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CalcPowerCost() [2/3]

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

Definition at line 3887 of file SpellInfo.cpp.

+ Here is the call graph for this function:

◆ CalcPowerCost() [3/3]

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

Definition at line 4096 of file SpellInfo.cpp.

+ Here is the call graph for this function:

◆ CalcProcPPM()

float SpellInfo::CalcProcPPM ( Unit caster,
int32  itemLevel 
) const

Definition at line 4202 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanBeInterrupted()

bool SpellInfo::CanBeInterrupted ( WorldObject const *  interruptCaster,
Unit const *  interruptTarget,
bool  ignoreImmunity = false 
) const

Definition at line 1453 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanBeUsedInCombat()

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

Definition at line 1703 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanDispelAura()

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

Definition at line 1868 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanPierceImmuneAura()

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

Definition at line 1841 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanSpellProvideImmunityAgainstAura()

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

Definition at line 3609 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckExplicitTarget()

SpellCastResult SpellInfo::CheckExplicitTarget ( WorldObject const *  caster,
WorldObject const *  target,
Item const *  itemTarget = nullptr 
) const

Definition at line 2359 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckLocation()

SpellCastResult SpellInfo::CheckLocation ( uint32  map_id,
uint32  zone_id,
uint32  area_id,
Player const *  player = nullptr 
) const

Definition at line 1995 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckShapeshift()

SpellCastResult SpellInfo::CheckShapeshift ( uint32  form) const

Definition at line 1946 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckTarget()

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

Definition at line 2175 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckTargetCreatureType()

bool SpellInfo::CheckTargetCreatureType ( Unit const *  target) const

Definition at line 2445 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckVehicle()

SpellCastResult SpellInfo::CheckVehicle ( Unit const *  caster) const

Definition at line 2395 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetAllEffectsMechanicMask()

uint64 SpellInfo::GetAllEffectsMechanicMask ( ) const

Definition at line 2470 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetAllowedMechanicMask()

uint64 SpellInfo::GetAllowedMechanicMask ( ) const

Definition at line 3739 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetAttackType()

WeaponAttackType SpellInfo::GetAttackType ( ) const

Definition at line 1756 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetAuraRankForLevel()

SpellInfo const * SpellInfo::GetAuraRankForLevel ( uint8  level) const

Definition at line 4300 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetAuraState()

AuraStateType SpellInfo::GetAuraState ( ) const

Definition at line 2538 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetCategory()

uint32 SpellInfo::GetCategory ( ) const

Definition at line 1386 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetDiminishingReturnsGroupForSpell()

DiminishingGroup SpellInfo::GetDiminishingReturnsGroupForSpell ( ) const

Definition at line 3288 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetDiminishingReturnsGroupType()

DiminishingReturnsType SpellInfo::GetDiminishingReturnsGroupType ( ) const

Definition at line 3293 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetDiminishingReturnsLimitDuration()

int32 SpellInfo::GetDiminishingReturnsLimitDuration ( ) const

Definition at line 3303 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetDiminishingReturnsMaxLevel()

DiminishingLevels SpellInfo::GetDiminishingReturnsMaxLevel ( ) const

Definition at line 3298 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetDispelMask() [1/2]

uint32 SpellInfo::GetDispelMask ( ) const

Definition at line 2519 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetDispelMask() [2/2]

uint32 SpellInfo::GetDispelMask ( DispelType  type)
static

Definition at line 2524 of file SpellInfo.cpp.

◆ GetDuration()

int32 SpellInfo::GetDuration ( ) const

Definition at line 3791 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetEffect()

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

Definition at line 577 of file SpellInfo.h.

+ Here is the caller graph for this function:

◆ GetEffectMechanic()

Mechanics SpellInfo::GetEffectMechanic ( SpellEffIndex  effIndex) const

Definition at line 2508 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetEffectMechanicMask()

uint64 SpellInfo::GetEffectMechanicMask ( SpellEffIndex  effIndex) const

Definition at line 2483 of file SpellInfo.cpp.

+ Here is the call graph for this function:

◆ GetEffects()

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

Definition at line 576 of file SpellInfo.h.

+ Here is the caller graph for this function:

◆ GetExplicitTargetMask()

uint32 SpellInfo::GetExplicitTargetMask ( ) const

Definition at line 2533 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetFirstRankSpell()

SpellInfo const * SpellInfo::GetFirstRankSpell ( ) const

Definition at line 4272 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetLastRankSpell()

SpellInfo const * SpellInfo::GetLastRankSpell ( ) const

Definition at line 4279 of file SpellInfo.cpp.

◆ GetMaxDuration()

int32 SpellInfo::GetMaxDuration ( ) const

Definition at line 3798 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetMaxRange()

float SpellInfo::GetMaxRange ( bool  positive = false,
WorldObject caster = nullptr,
Spell spell = nullptr 
) const

Definition at line 3768 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetMaxTicks()

uint32 SpellInfo::GetMaxTicks ( ) const

Definition at line 3823 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetMechanicImmunityMask()

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

Definition at line 3744 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetMinRange()

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

Definition at line 3761 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetNextRankSpell()

SpellInfo const * SpellInfo::GetNextRankSpell ( ) const

Definition at line 4286 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetPrevRankSpell()

SpellInfo const * SpellInfo::GetPrevRankSpell ( ) const

Definition at line 4293 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetRank()

uint8 SpellInfo::GetRank ( ) const

Definition at line 4265 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetRecoveryTime()

uint32 SpellInfo::GetRecoveryTime ( ) const

Definition at line 3865 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetSchoolMask()

SpellSchoolMask SpellInfo::GetSchoolMask ( ) const

Definition at line 2465 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetSpellMechanicMaskByEffectMask()

uint64 SpellInfo::GetSpellMechanicMaskByEffectMask ( uint32  effectMask) const

Definition at line 2495 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetSpellSpecific()

SpellSpecificType SpellInfo::GetSpellSpecific ( ) const

Definition at line 2624 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetSpellVisual()

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

Definition at line 4381 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetSpellXSpellVisualId()

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

Definition at line 4363 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasAnyAuraInterruptFlag()

bool SpellInfo::HasAnyAuraInterruptFlag ( ) const

Definition at line 1465 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ HasAreaAuraEffect()

bool SpellInfo::HasAreaAuraEffect ( ) const

Definition at line 1409 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasAttribute() [1/16]

bool SpellInfo::HasAttribute ( SpellAttr0  attribute) const
inline

Definition at line 449 of file SpellInfo.h.

◆ HasAttribute() [2/16]

bool SpellInfo::HasAttribute ( SpellAttr1  attribute) const
inline

Definition at line 450 of file SpellInfo.h.

◆ HasAttribute() [3/16]

bool SpellInfo::HasAttribute ( SpellAttr10  attribute) const
inline

Definition at line 459 of file SpellInfo.h.

◆ HasAttribute() [4/16]

bool SpellInfo::HasAttribute ( SpellAttr11  attribute) const
inline

Definition at line 460 of file SpellInfo.h.

◆ HasAttribute() [5/16]

bool SpellInfo::HasAttribute ( SpellAttr12  attribute) const
inline

Definition at line 461 of file SpellInfo.h.

◆ HasAttribute() [6/16]

bool SpellInfo::HasAttribute ( SpellAttr13  attribute) const
inline

Definition at line 462 of file SpellInfo.h.

◆ HasAttribute() [7/16]

bool SpellInfo::HasAttribute ( SpellAttr14  attribute) const
inline

Definition at line 463 of file SpellInfo.h.

◆ HasAttribute() [8/16]

bool SpellInfo::HasAttribute ( SpellAttr2  attribute) const
inline

Definition at line 451 of file SpellInfo.h.

◆ HasAttribute() [9/16]

bool SpellInfo::HasAttribute ( SpellAttr3  attribute) const
inline

Definition at line 452 of file SpellInfo.h.

◆ HasAttribute() [10/16]

bool SpellInfo::HasAttribute ( SpellAttr4  attribute) const
inline

Definition at line 453 of file SpellInfo.h.

◆ HasAttribute() [11/16]

bool SpellInfo::HasAttribute ( SpellAttr5  attribute) const
inline

Definition at line 454 of file SpellInfo.h.

◆ HasAttribute() [12/16]

bool SpellInfo::HasAttribute ( SpellAttr6  attribute) const
inline

Definition at line 455 of file SpellInfo.h.

◆ HasAttribute() [13/16]

bool SpellInfo::HasAttribute ( SpellAttr7  attribute) const
inline

Definition at line 456 of file SpellInfo.h.

◆ HasAttribute() [14/16]

bool SpellInfo::HasAttribute ( SpellAttr8  attribute) const
inline

Definition at line 457 of file SpellInfo.h.

◆ HasAttribute() [15/16]

bool SpellInfo::HasAttribute ( SpellAttr9  attribute) const
inline

Definition at line 458 of file SpellInfo.h.

◆ HasAttribute() [16/16]

bool SpellInfo::HasAttribute ( SpellCustomAttributes  customAttribute) const
inline

Definition at line 464 of file SpellInfo.h.

◆ HasAura()

bool SpellInfo::HasAura ( AuraType  aura) const

Definition at line 1400 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasAuraInterruptFlag() [1/2]

bool SpellInfo::HasAuraInterruptFlag ( SpellAuraInterruptFlags  flag) const
inline

Definition at line 469 of file SpellInfo.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasAuraInterruptFlag() [2/2]

bool SpellInfo::HasAuraInterruptFlag ( SpellAuraInterruptFlags2  flag) const
inline

Definition at line 470 of file SpellInfo.h.

+ Here is the call graph for this function:

◆ HasChannelInterruptFlag() [1/2]

bool SpellInfo::HasChannelInterruptFlag ( SpellAuraInterruptFlags  flag) const
inline

Definition at line 472 of file SpellInfo.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasChannelInterruptFlag() [2/2]

bool SpellInfo::HasChannelInterruptFlag ( SpellAuraInterruptFlags2  flag) const
inline

Definition at line 473 of file SpellInfo.h.

+ Here is the call graph for this function:

◆ HasEffect()

bool SpellInfo::HasEffect ( SpellEffectName  effect) const

Definition at line 1391 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasHitDelay()

bool SpellInfo::HasHitDelay ( ) const

Definition at line 1751 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ HasInitialAggro()

bool SpellInfo::HasInitialAggro ( ) const

Definition at line 1746 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasLabel()

bool SpellInfo::HasLabel ( uint32  labelId) const

Definition at line 4937 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ HasOnlyDamageEffects()

bool SpellInfo::HasOnlyDamageEffects ( ) const

Definition at line 1418 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasTargetType()

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

Definition at line 1444 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsAbilityOfSkillType()

bool SpellInfo::IsAbilityOfSkillType ( uint32  skillType) const

Definition at line 1521 of file SpellInfo.cpp.

◆ IsAffected()

bool SpellInfo::IsAffected ( uint32  familyName,
flag128 const &  familyFlags 
) const

Definition at line 1795 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ IsAffectedBySpellMod()

bool SpellInfo::IsAffectedBySpellMod ( SpellModifier const *  mod) const

Definition at line 1814 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsAffectedBySpellMods()

bool SpellInfo::IsAffectedBySpellMods ( ) const

Definition at line 1809 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsAffectingArea()

bool SpellInfo::IsAffectingArea ( ) const

Definition at line 1532 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsAllowingDeadTarget()

bool SpellInfo::IsAllowingDeadTarget ( ) const

Definition at line 1668 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsAuraExclusiveBySpecificPerCasterWith()

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

Definition at line 1927 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsAuraExclusiveBySpecificWith()

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

Definition at line 1895 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsAutocastable()

bool SpellInfo::IsAutocastable ( ) const

Definition at line 1597 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsAutoRepeatRangedSpell()

bool SpellInfo::IsAutoRepeatRangedSpell ( ) const

Definition at line 1741 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsChanneled()

bool SpellInfo::IsChanneled ( ) const

Definition at line 1719 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsCooldownStartedOnEvent()

bool SpellInfo::IsCooldownStartedOnEvent ( ) const

Definition at line 1649 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsDeathPersistent()

bool SpellInfo::IsDeathPersistent ( ) const

Definition at line 1658 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsDifferentRankOf()

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

Definition at line 4346 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsExplicitDiscovery()

bool SpellInfo::IsExplicitDiscovery ( ) const

Definition at line 1470 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsGroupBuff()

bool SpellInfo::IsGroupBuff ( ) const

Definition at line 1685 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsHighRankOf()

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

Definition at line 4353 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ IsItemFitToSpellRequirements()

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

Definition at line 1782 of file SpellInfo.cpp.

+ Here is the call graph for this function:

◆ IsLootCrafting()

bool SpellInfo::IsLootCrafting ( ) const

Definition at line 1481 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsMoveAllowedChannel()

bool SpellInfo::IsMoveAllowedChannel ( ) const

Definition at line 1724 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsMultiSlotAura()

bool SpellInfo::IsMultiSlotAura ( ) const

Definition at line 1638 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsNextMeleeSwingSpell()

bool SpellInfo::IsNextMeleeSwingSpell ( ) const

Definition at line 1729 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsPassive()

bool SpellInfo::IsPassive ( ) const

Definition at line 1592 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsPassiveStackableWithRanks()

bool SpellInfo::IsPassiveStackableWithRanks ( ) const

Definition at line 1633 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsPositive()

bool SpellInfo::IsPositive ( ) const

Definition at line 1709 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ IsPositiveEffect()

bool SpellInfo::IsPositiveEffect ( uint8  effIndex) const

Definition at line 1714 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ IsPrimaryProfession()

bool SpellInfo::IsPrimaryProfession ( ) const

Definition at line 1501 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsPrimaryProfessionFirstRank()

bool SpellInfo::IsPrimaryProfessionFirstRank ( ) const

Definition at line 1516 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsProfession()

bool SpellInfo::IsProfession ( ) const

Definition at line 1486 of file SpellInfo.cpp.

+ Here is the call graph for this function:

◆ IsRangedWeaponSpell()

bool SpellInfo::IsRangedWeaponSpell ( ) const

Definition at line 1734 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ IsRanked()

bool SpellInfo::IsRanked ( ) const

Definition at line 4260 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ IsRankOf()

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

Definition at line 4341 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsRequiringDeadTarget()

bool SpellInfo::IsRequiringDeadTarget ( ) const

Definition at line 1663 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsSingleTarget()

bool SpellInfo::IsSingleTarget ( ) const

Definition at line 1886 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsStackableOnOneSlotWithDifferentCasters()

bool SpellInfo::IsStackableOnOneSlotWithDifferentCasters ( ) const

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

Definition at line 1643 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsStackableWithRanks()

bool SpellInfo::IsStackableWithRanks ( ) const

Definition at line 1606 of file SpellInfo.cpp.

+ Here is the call graph for this function:

◆ IsTargetingArea()

bool SpellInfo::IsTargetingArea ( ) const

Definition at line 1542 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ MeetsFutureSpellPlayerCondition()

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

Definition at line 4928 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ NeedsExplicitUnitTarget()

bool SpellInfo::NeedsExplicitUnitTarget ( ) const

Definition at line 1551 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ NeedsToBeTriggeredByCaster()

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

Definition at line 1556 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ SpellCancelsAuraEffect()

bool SpellInfo::SpellCancelsAuraEffect ( AuraEffect const *  aurEff) const

Definition at line 3693 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Friends And Related Function Documentation

◆ SpellMgr

friend class SpellMgr
friend

Definition at line 322 of file SpellInfo.h.

Member Data Documentation

◆ _allowedMechanicMask

uint64 SpellInfo::_allowedMechanicMask = 0
private

Definition at line 621 of file SpellInfo.h.

◆ _auraState

AuraStateType SpellInfo::_auraState = AURA_STATE_NONE
private

Definition at line 618 of file SpellInfo.h.

◆ _diminishInfo

SpellDiminishInfo SpellInfo::_diminishInfo
private

Definition at line 620 of file SpellInfo.h.

◆ _effects

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

Definition at line 615 of file SpellInfo.h.

◆ _spellSpecific

SpellSpecificType SpellInfo::_spellSpecific = SPELL_SPECIFIC_NORMAL
private

Definition at line 617 of file SpellInfo.h.

◆ _visuals

SpellVisualVector SpellInfo::_visuals
private

Definition at line 616 of file SpellInfo.h.

◆ ActiveIconFileDataId

uint32 SpellInfo::ActiveIconFileDataId = 0

Definition at line 400 of file SpellInfo.h.

◆ Attributes

uint32 SpellInfo::Attributes = 0

Definition at line 330 of file SpellInfo.h.

◆ AttributesCu

uint32 SpellInfo::AttributesCu = 0

Definition at line 345 of file SpellInfo.h.

◆ AttributesEx

uint32 SpellInfo::AttributesEx = 0

Definition at line 331 of file SpellInfo.h.

◆ AttributesEx10

uint32 SpellInfo::AttributesEx10 = 0

Definition at line 340 of file SpellInfo.h.

◆ AttributesEx11

uint32 SpellInfo::AttributesEx11 = 0

Definition at line 341 of file SpellInfo.h.

◆ AttributesEx12

uint32 SpellInfo::AttributesEx12 = 0

Definition at line 342 of file SpellInfo.h.

◆ AttributesEx13

uint32 SpellInfo::AttributesEx13 = 0

Definition at line 343 of file SpellInfo.h.

◆ AttributesEx14

uint32 SpellInfo::AttributesEx14 = 0

Definition at line 344 of file SpellInfo.h.

◆ AttributesEx2

uint32 SpellInfo::AttributesEx2 = 0

Definition at line 332 of file SpellInfo.h.

◆ AttributesEx3

uint32 SpellInfo::AttributesEx3 = 0

Definition at line 333 of file SpellInfo.h.

◆ AttributesEx4

uint32 SpellInfo::AttributesEx4 = 0

Definition at line 334 of file SpellInfo.h.

◆ AttributesEx5

uint32 SpellInfo::AttributesEx5 = 0

Definition at line 335 of file SpellInfo.h.

◆ AttributesEx6

uint32 SpellInfo::AttributesEx6 = 0

Definition at line 336 of file SpellInfo.h.

◆ AttributesEx7

uint32 SpellInfo::AttributesEx7 = 0

Definition at line 337 of file SpellInfo.h.

◆ AttributesEx8

uint32 SpellInfo::AttributesEx8 = 0

Definition at line 338 of file SpellInfo.h.

◆ AttributesEx9

uint32 SpellInfo::AttributesEx9 = 0

Definition at line 339 of file SpellInfo.h.

◆ AuraInterruptFlags

Definition at line 372 of file SpellInfo.h.

◆ AuraInterruptFlags2

Definition at line 373 of file SpellInfo.h.

◆ BaseLevel

uint32 SpellInfo::BaseLevel = 0

Definition at line 383 of file SpellInfo.h.

◆ CasterAuraSpell

uint32 SpellInfo::CasterAuraSpell = 0

Definition at line 357 of file SpellInfo.h.

◆ CasterAuraState

uint32 SpellInfo::CasterAuraState = 0

Definition at line 353 of file SpellInfo.h.

◆ CasterAuraType

AuraType SpellInfo::CasterAuraType = SPELL_AURA_NONE

Definition at line 361 of file SpellInfo.h.

◆ CastTimeEntry

SpellCastTimesEntry const* SpellInfo::CastTimeEntry = nullptr

Definition at line 365 of file SpellInfo.h.

◆ CategoryId

uint32 SpellInfo::CategoryId = 0

Definition at line 327 of file SpellInfo.h.

◆ CategoryRecoveryTime

uint32 SpellInfo::CategoryRecoveryTime = 0

Definition at line 367 of file SpellInfo.h.

◆ ChainEntry

SpellChainNode const* SpellInfo::ChainEntry = nullptr

Definition at line 426 of file SpellInfo.h.

◆ ChannelInterruptFlags

EnumFlag<SpellAuraInterruptFlags> SpellInfo::ChannelInterruptFlags = SpellAuraInterruptFlags::None

Definition at line 374 of file SpellInfo.h.

◆ ChannelInterruptFlags2

Definition at line 375 of file SpellInfo.h.

◆ ChargeCategoryId

uint32 SpellInfo::ChargeCategoryId = 0

Definition at line 414 of file SpellInfo.h.

◆ ConeAngle

float SpellInfo::ConeAngle = 0.0f

Definition at line 404 of file SpellInfo.h.

◆ ContentTuningId

uint32 SpellInfo::ContentTuningId = 0

Definition at line 401 of file SpellInfo.h.

◆ CooldownAuraSpellId

uint32 SpellInfo::CooldownAuraSpellId = 0

Definition at line 370 of file SpellInfo.h.

◆ Difficulty

::Difficulty const SpellInfo::Difficulty = DIFFICULTY_NONE

Definition at line 326 of file SpellInfo.h.

◆ Dispel

uint32 SpellInfo::Dispel = 0

Definition at line 328 of file SpellInfo.h.

◆ DmgClass

uint32 SpellInfo::DmgClass = 0

Definition at line 410 of file SpellInfo.h.

◆ DurationEntry

SpellDurationEntry const* SpellInfo::DurationEntry = nullptr

Definition at line 385 of file SpellInfo.h.

◆ EquippedItemClass

int32 SpellInfo::EquippedItemClass = -1

Definition at line 396 of file SpellInfo.h.

◆ EquippedItemInventoryTypeMask

int32 SpellInfo::EquippedItemInventoryTypeMask = 0

Definition at line 398 of file SpellInfo.h.

◆ EquippedItemSubClassMask

int32 SpellInfo::EquippedItemSubClassMask = 0

Definition at line 397 of file SpellInfo.h.

◆ ExcludeCasterAuraSpell

uint32 SpellInfo::ExcludeCasterAuraSpell = 0

Definition at line 359 of file SpellInfo.h.

◆ ExcludeCasterAuraState

uint32 SpellInfo::ExcludeCasterAuraState = 0

Definition at line 355 of file SpellInfo.h.

◆ ExcludeCasterAuraType

AuraType SpellInfo::ExcludeCasterAuraType = SPELL_AURA_NONE

Definition at line 363 of file SpellInfo.h.

◆ ExcludeTargetAuraSpell

uint32 SpellInfo::ExcludeTargetAuraSpell = 0

Definition at line 360 of file SpellInfo.h.

◆ ExcludeTargetAuraState

uint32 SpellInfo::ExcludeTargetAuraState = 0

Definition at line 356 of file SpellInfo.h.

◆ ExcludeTargetAuraType

AuraType SpellInfo::ExcludeTargetAuraType = SPELL_AURA_NONE

Definition at line 364 of file SpellInfo.h.

◆ ExplicitTargetMask

uint32 SpellInfo::ExplicitTargetMask = 0

Definition at line 425 of file SpellInfo.h.

◆ FacingCasterFlags

uint32 SpellInfo::FacingCasterFlags = 0

Definition at line 352 of file SpellInfo.h.

◆ IconFileDataId

uint32 SpellInfo::IconFileDataId = 0

Definition at line 399 of file SpellInfo.h.

◆ Id

uint32 const SpellInfo::Id = 0

Definition at line 325 of file SpellInfo.h.

◆ InterruptFlags

Definition at line 371 of file SpellInfo.h.

◆ Labels

std::unordered_set<uint32> SpellInfo::Labels

Definition at line 415 of file SpellInfo.h.

◆ LaunchDelay

float SpellInfo::LaunchDelay = 0.0f

Definition at line 389 of file SpellInfo.h.

◆ MaxAffectedTargets

uint32 SpellInfo::MaxAffectedTargets = 0

Definition at line 407 of file SpellInfo.h.

◆ MaxLevel

uint32 SpellInfo::MaxLevel = 0

Definition at line 382 of file SpellInfo.h.

◆ MaxTargetLevel

uint32 SpellInfo::MaxTargetLevel = 0

Definition at line 406 of file SpellInfo.h.

◆ MaxTargets

int32 SpellInfo::MaxTargets = 0

Definition at line 429 of file SpellInfo.h.

◆ Mechanic

uint32 SpellInfo::Mechanic = 0

Definition at line 329 of file SpellInfo.h.

◆ NegativeEffects

std::bitset<MAX_SPELL_EFFECTS> SpellInfo::NegativeEffects

Definition at line 346 of file SpellInfo.h.

◆ NumNonDiminishedTargets

int32 SpellInfo::NumNonDiminishedTargets = 0

Definition at line 430 of file SpellInfo.h.

◆ PowerCosts

std::array<SpellPowerEntry const*, MAX_POWERS_PER_SPELL> SpellInfo::PowerCosts = {}

Definition at line 386 of file SpellInfo.h.

◆ PreventionType

uint32 SpellInfo::PreventionType = 0

Definition at line 411 of file SpellInfo.h.

◆ ProcBasePPM

float SpellInfo::ProcBasePPM = 0.0f

Definition at line 380 of file SpellInfo.h.

◆ ProcChance

uint32 SpellInfo::ProcChance = 0

Definition at line 377 of file SpellInfo.h.

◆ ProcCharges

uint32 SpellInfo::ProcCharges = 0

Definition at line 378 of file SpellInfo.h.

◆ ProcCooldown

uint32 SpellInfo::ProcCooldown = 0

Definition at line 379 of file SpellInfo.h.

◆ ProcFlags

ProcFlagsInit SpellInfo::ProcFlags

Definition at line 376 of file SpellInfo.h.

◆ ProcPPMMods

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

Definition at line 381 of file SpellInfo.h.

◆ RangeEntry

SpellRangeEntry const* SpellInfo::RangeEntry = nullptr

Definition at line 387 of file SpellInfo.h.

◆ Reagent

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

Definition at line 393 of file SpellInfo.h.

◆ ReagentCount

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

Definition at line 394 of file SpellInfo.h.

◆ ReagentsCurrency

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

Definition at line 395 of file SpellInfo.h.

◆ RecoveryTime

uint32 SpellInfo::RecoveryTime = 0

Definition at line 366 of file SpellInfo.h.

◆ RequiredAreasID

int32 SpellInfo::RequiredAreasID = -1

Definition at line 412 of file SpellInfo.h.

◆ RequiresSpellFocus

uint32 SpellInfo::RequiresSpellFocus = 0

Definition at line 351 of file SpellInfo.h.

◆ Scaling

struct SpellInfo::ScalingInfo SpellInfo::Scaling

◆ SchoolMask

uint32 SpellInfo::SchoolMask = 0

Definition at line 413 of file SpellInfo.h.

◆ ShowFutureSpellPlayerConditionID

uint32 SpellInfo::ShowFutureSpellPlayerConditionID = 0

Definition at line 402 of file SpellInfo.h.

◆ Speed

float SpellInfo::Speed = 0.0f

Definition at line 388 of file SpellInfo.h.

◆ SpellFamilyFlags

flag128 SpellInfo::SpellFamilyFlags

Definition at line 409 of file SpellInfo.h.

◆ SpellFamilyName

uint32 SpellInfo::SpellFamilyName = 0

Definition at line 408 of file SpellInfo.h.

◆ SpellLevel

uint32 SpellInfo::SpellLevel = 0

Definition at line 384 of file SpellInfo.h.

◆ SpellName

LocalizedString const* SpellInfo::SpellName = nullptr

Definition at line 403 of file SpellInfo.h.

◆ 

struct { ... } SpellInfo::SqrtDamageAndHealingDiminishing

◆ StackAmount

uint32 SpellInfo::StackAmount = 0

Definition at line 390 of file SpellInfo.h.

◆ Stances

uint64 SpellInfo::Stances = 0

Definition at line 347 of file SpellInfo.h.

◆ StancesNot

uint64 SpellInfo::StancesNot = 0

Definition at line 348 of file SpellInfo.h.

◆ StartRecoveryCategory

uint32 SpellInfo::StartRecoveryCategory = 0

Definition at line 368 of file SpellInfo.h.

◆ StartRecoveryTime

uint32 SpellInfo::StartRecoveryTime = 0

Definition at line 369 of file SpellInfo.h.

◆ TargetAuraSpell

uint32 SpellInfo::TargetAuraSpell = 0

Definition at line 358 of file SpellInfo.h.

◆ TargetAuraState

uint32 SpellInfo::TargetAuraState = 0

Definition at line 354 of file SpellInfo.h.

◆ TargetAuraType

AuraType SpellInfo::TargetAuraType = SPELL_AURA_NONE

Definition at line 362 of file SpellInfo.h.

◆ TargetCreatureType

uint32 SpellInfo::TargetCreatureType = 0

Definition at line 350 of file SpellInfo.h.

◆ Targets

uint32 SpellInfo::Targets = 0

Definition at line 349 of file SpellInfo.h.

◆ Totem

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

Definition at line 391 of file SpellInfo.h.

◆ TotemCategory

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

Definition at line 392 of file SpellInfo.h.

◆ Width

float SpellInfo::Width = 0.0f

Definition at line 405 of file SpellInfo.h.


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