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

#include <SpellInfo.h>

Public Member Functions

 SpellInfo (SpellEntry const *spellEntry)
 
 ~SpellInfo ()
 
uint32 GetCategory () const
 
bool HasEffect (SpellEffects effect) const
 
bool HasAura (AuraType aura) const
 
bool HasAreaAuraEffect () const
 
bool HasOnlyDamageEffects () 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 (SpellCustomAttributes customAttribute) const
 
bool IsExplicitDiscovery () const
 
bool IsLootCrafting () const
 
bool IsProfessionOrRiding () const
 
bool IsProfession () const
 
bool IsPrimaryProfession () const
 
bool IsPrimaryProfessionFirstRank () const
 
bool IsAbilityLearnedWithProfession () const
 
bool IsAbilityOfSkillType (uint32 skillType) const
 
bool IsAffectingArea () const
 
bool IsTargetingArea () const
 
bool NeedsExplicitUnitTarget () const
 
bool NeedsToBeTriggeredByCaster (SpellInfo const *triggeringSpell) const
 
bool IsSelfCast () 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 () const
 
bool IsPositive () const
 
bool IsPositiveEffect (uint8 effIndex) const
 
bool IsChanneled () const
 
bool IsMoveAllowedChannel () const
 
bool NeedsComboPoints () const
 
bool IsNextMeleeSwingSpell () const
 
bool IsBreakingStealth () const
 
bool IsRangedWeaponSpell () const
 
bool IsAutoRepeatRangedSpell () const
 
bool HasInitialAggro () const
 
WeaponAttackType GetAttackType () const
 
bool IsItemFitToSpellRequirements (Item const *item) const
 
bool IsAffected (uint32 familyName, flag96 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, bool strict=true) 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
 
uint32 GetAllEffectsMechanicMask () const
 
uint32 GetEffectMechanicMask (SpellEffIndex effIndex) const
 
uint32 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 GetDuration () const
 
int32 GetMaxDuration () const
 
uint32 GetMaxTicks () const
 
uint32 CalcCastTime (Spell *spell=nullptr) const
 
uint32 GetRecoveryTime () const
 
int32 CalcPowerCost (WorldObject const *caster, SpellSchoolMask schoolMask, Spell *spell=nullptr) 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
 
std::array< SpellEffectInfo, MAX_SPELL_EFFECTS > const & GetEffects () const
 
SpellEffectInfo const & GetEffect (SpellEffIndex index) const
 
DiminishingGroup GetDiminishingReturnsGroupForSpell (bool triggered) const
 
DiminishingReturnsType GetDiminishingReturnsGroupType (bool triggered) const
 
DiminishingLevels GetDiminishingReturnsMaxLevel (bool triggered) const
 
int32 GetDiminishingReturnsLimitDuration (bool triggered) const
 
void ApplyAllSpellImmunitiesTo (Unit *target, SpellEffectInfo const &spellEffectInfo, bool apply) const
 
bool CanSpellProvideImmunityAgainstAura (SpellInfo const *auraSpellInfo) const
 
bool SpellCancelsAuraEffect (AuraEffect const *aurEff) const
 
uint32 GetAllowedMechanicMask () const
 
uint32 GetMechanicImmunityMask (Unit *caster) const
 

Static Public Member Functions

static uint32 GetDispelMask (DispelType type)
 

Public Attributes

uint32 Id
 
SpellCategoryEntry const * CategoryEntry
 
uint32 Dispel
 
uint32 Mechanic
 
uint32 Attributes
 
uint32 AttributesEx
 
uint32 AttributesEx2
 
uint32 AttributesEx3
 
uint32 AttributesEx4
 
uint32 AttributesEx5
 
uint32 AttributesEx6
 
uint32 AttributesEx7
 
uint32 AttributesCu
 
uint64 Stances
 
uint64 StancesNot
 
uint32 Targets
 
uint32 TargetCreatureType
 
uint32 RequiresSpellFocus
 
uint32 FacingCasterFlags
 
uint32 CasterAuraState
 
uint32 TargetAuraState
 
uint32 ExcludeCasterAuraState
 
uint32 ExcludeTargetAuraState
 
uint32 CasterAuraSpell
 
uint32 TargetAuraSpell
 
uint32 ExcludeCasterAuraSpell
 
uint32 ExcludeTargetAuraSpell
 
SpellCastTimesEntry const * CastTimeEntry
 
uint32 RecoveryTime
 
uint32 CategoryRecoveryTime
 
uint32 StartRecoveryCategory
 
uint32 StartRecoveryTime
 
uint32 InterruptFlags
 
uint32 AuraInterruptFlags
 
uint32 ChannelInterruptFlags
 
uint32 ProcFlags
 
uint32 ProcChance
 
uint32 ProcCharges
 
uint32 MaxLevel
 
uint32 BaseLevel
 
uint32 SpellLevel
 
SpellDurationEntry const * DurationEntry
 
Powers PowerType
 
uint32 ManaCost
 
uint32 ManaCostPerlevel
 
uint32 ManaPerSecond
 
uint32 ManaPerSecondPerLevel
 
uint32 ManaCostPercentage
 
uint32 RuneCostID
 
SpellRangeEntry const * RangeEntry
 
float Speed
 
uint32 StackAmount
 
std::array< uint32, 2 > Totem
 
std::array< int32, MAX_SPELL_REAGENTS > Reagent
 
std::array< uint32, MAX_SPELL_REAGENTS > ReagentCount
 
int32 EquippedItemClass
 
int32 EquippedItemSubClassMask
 
int32 EquippedItemInventoryTypeMask
 
std::array< uint32, 2 > TotemCategory
 
std::array< uint32, 2 > SpellVisual
 
uint32 SpellIconID
 
uint32 ActiveIconID
 
uint32 Priority
 
std::array< char const *, 16 > SpellName
 
std::array< char const *, 16 > Rank
 
uint32 MaxTargetLevel
 
uint32 MaxAffectedTargets
 
uint32 SpellFamilyName
 
flag96 SpellFamilyFlags
 
uint32 DmgClass
 
uint32 PreventionType
 
int32 RequiredAreasID
 
uint32 SchoolMask
 
std::array< SpellEffectInfo, MAX_SPELL_EFFECTS > _effects
 
uint32 ExplicitTargetMask
 
SpellChainNode const * ChainEntry
 

Private Member Functions

void _InitializeExplicitTargetMask ()
 
void _InitializeSpellPositivity ()
 
void _LoadSpellSpecific ()
 
void _LoadAuraState ()
 
void _LoadSpellDiminishInfo ()
 
void _LoadImmunityInfo ()
 
std::array< SpellEffectInfo, MAX_SPELL_EFFECTS > & _GetEffects ()
 
SpellEffectInfo & _GetEffect (SpellEffIndex index)
 
void _UnloadImplicitTargetConditionLists ()
 

Private Attributes

SpellSpecificType _spellSpecific
 
AuraStateType _auraState
 
SpellDiminishInfo _diminishInfoNonTriggered
 
SpellDiminishInfo _diminishInfoTriggered
 
uint32 _allowedMechanicMask
 

Friends

class SpellMgr
 

Detailed Description

Definition at line 284 of file SpellInfo.h.

Constructor & Destructor Documentation

◆ SpellInfo()

SpellInfo::SpellInfo ( SpellEntry const *  spellEntry)

Definition at line 803 of file SpellInfo.cpp.

References _allowedMechanicMask, _auraState, _effects, _spellSpecific, ActiveIconID, SpellEntry::ActiveIconID, Attributes, SpellEntry::Attributes, AttributesCu, AttributesEx, SpellEntry::AttributesEx, AttributesEx2, AttributesEx3, AttributesEx4, AttributesEx5, AttributesEx6, AttributesEx7, SpellEntry::AttributesExB, SpellEntry::AttributesExC, SpellEntry::AttributesExD, SpellEntry::AttributesExE, SpellEntry::AttributesExF, SpellEntry::AttributesExG, AURA_STATE_NONE, AuraInterruptFlags, SpellEntry::AuraInterruptFlags, BaseLevel, SpellEntry::BaseLevel, CasterAuraSpell, SpellEntry::CasterAuraSpell, CasterAuraState, SpellEntry::CasterAuraState, SpellEntry::CastingTimeIndex, CastTimeEntry, SpellEntry::Category, CategoryEntry, CategoryRecoveryTime, SpellEntry::CategoryRecoveryTime, ChainEntry, ChannelInterruptFlags, SpellEntry::ChannelInterruptFlags, SpellEntry::CumulativeAura, SpellEntry::DefenseType, Dispel, SpellEntry::DispelType, DmgClass, DurationEntry, SpellEntry::DurationIndex, EquippedItemClass, SpellEntry::EquippedItemClass, EquippedItemInventoryTypeMask, SpellEntry::EquippedItemInvTypes, SpellEntry::EquippedItemSubclass, EquippedItemSubClassMask, ExcludeCasterAuraSpell, SpellEntry::ExcludeCasterAuraSpell, ExcludeCasterAuraState, SpellEntry::ExcludeCasterAuraState, ExcludeTargetAuraSpell, SpellEntry::ExcludeTargetAuraSpell, ExcludeTargetAuraState, SpellEntry::ExcludeTargetAuraState, ExplicitTargetMask, FacingCasterFlags, SpellEntry::FacingCasterFlags, Id, SpellEntry::ID, InterruptFlags, SpellEntry::InterruptFlags, MAKE_PAIR64(), ManaCost, SpellEntry::ManaCost, SpellEntry::ManaCostPct, ManaCostPercentage, ManaCostPerlevel, SpellEntry::ManaCostPerLevel, ManaPerSecond, SpellEntry::ManaPerSecond, ManaPerSecondPerLevel, SpellEntry::ManaPerSecondPerLevel, MAX_SPELL_EFFECTS, MaxAffectedTargets, MaxLevel, SpellEntry::MaxLevel, MaxTargetLevel, SpellEntry::MaxTargetLevel, SpellEntry::MaxTargets, Mechanic, SpellEntry::Mechanic, SpellEntry::Name, SpellEntry::NameSubtext, SpellEntry::PowerType, PreventionType, SpellEntry::PreventionType, Priority, ProcChance, SpellEntry::ProcChance, ProcCharges, SpellEntry::ProcCharges, SpellEntry::ProcTypeMask, RangeEntry, SpellEntry::RangeIndex, Rank, Reagent, SpellEntry::Reagent, ReagentCount, SpellEntry::ReagentCount, RecoveryTime, SpellEntry::RecoveryTime, RequiredAreasID, SpellEntry::RequiredAreasID, SpellEntry::RequiredTotemCategoryID, RequiresSpellFocus, SpellEntry::RequiresSpellFocus, RuneCostID, SpellEntry::RuneCostID, SchoolMask, SpellEntry::SchoolMask, SpellEntry::ShapeshiftExclude, SpellEntry::ShapeshiftMask, Speed, SpellEntry::Speed, SPELL_SPECIFIC_NORMAL, SpellEntry::SpellClassMask, SpellEntry::SpellClassSet, SpellFamilyFlags, SpellFamilyName, SpellIconID, SpellEntry::SpellIconID, SpellLevel, SpellEntry::SpellLevel, SpellName, SpellEntry::SpellPriority, SpellVisual, SpellEntry::SpellVisualID, sSpellCastTimesStore, sSpellCategoryStore, sSpellDurationStore, sSpellRangeStore, StackAmount, Stances, StancesNot, StartRecoveryCategory, SpellEntry::StartRecoveryCategory, StartRecoveryTime, SpellEntry::StartRecoveryTime, TargetAuraSpell, SpellEntry::TargetAuraSpell, TargetAuraState, SpellEntry::TargetAuraState, TargetCreatureType, SpellEntry::TargetCreatureType, SpellEntry::Targets, and SpellEntry::Totem.

◆ ~SpellInfo()

SpellInfo::~SpellInfo ( )

Definition at line 890 of file SpellInfo.cpp.

References _UnloadImplicitTargetConditionLists().

Member Function Documentation

◆ _GetEffect()

SpellEffectInfo & SpellInfo::_GetEffect ( SpellEffIndex  index)
inlineprivate

Definition at line 510 of file SpellInfo.h.

References ASSERT.

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

◆ _GetEffects()

std::array< SpellEffectInfo, MAX_SPELL_EFFECTS > & SpellInfo::_GetEffects ( )
inlineprivate

Definition at line 509 of file SpellInfo.h.

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

◆ _InitializeExplicitTargetMask()

◆ _InitializeSpellPositivity()

◆ _LoadAuraState()

◆ _LoadImmunityInfo()

void SpellInfo::_LoadImmunityInfo ( )
private

Definition at line 2581 of file SpellInfo.cpp.

References _allowedMechanicMask, _GetEffects(), SpellEffectInfo::ImmunityInfo::ApplyHarmfulAuraImmuneMask, SpellEffectInfo::ImmunityInfo::AuraTypeImmune, SpellEffectInfo::ImmunityInfo::DamageSchoolMask, SpellEffectInfo::ImmunityInfo::DispelImmune, Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::empty(), GetMaxDuration(), HasAttribute(), Id, IMMUNE_TO_MOVEMENT_IMPAIRMENT_AND_LOSS_CONTROL_MASK, Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::insert(), MECHANIC_DISORIENTED, MECHANIC_FEAR, MECHANIC_FREEZE, MECHANIC_HORROR, MECHANIC_INTERRUPT, MECHANIC_KNOCKOUT, MECHANIC_ROOT, MECHANIC_SILENCE, MECHANIC_SLEEP, MECHANIC_SNARE, MECHANIC_STUN, SpellEffectInfo::ImmunityInfo::MechanicImmuneMask, SpellEffectInfo::ImmunityInfo::RemoveEffectsWithMechanic, SpellEffectInfo::ImmunityInfo::SchoolImmuneMask, Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::shrink_to_fit(), SPELL_ATTR5_USABLE_WHILE_CONFUSED, SPELL_ATTR5_USABLE_WHILE_FEARED, SPELL_ATTR5_USABLE_WHILE_STUNNED, SPELL_AURA_DAMAGE_IMMUNITY, SPELL_AURA_DISPEL_IMMUNITY, SPELL_AURA_EFFECT_IMMUNITY, SPELL_AURA_MECHANIC_IMMUNITY, SPELL_AURA_MECHANIC_IMMUNITY_MASK, SPELL_AURA_MOD_CONFUSE, SPELL_AURA_MOD_DECREASE_SPEED, SPELL_AURA_MOD_DISARM, SPELL_AURA_MOD_FEAR, SPELL_AURA_MOD_IMMUNE_AURA_APPLY_SCHOOL, SPELL_AURA_MOD_ROOT, SPELL_AURA_MOD_STUN, SPELL_AURA_MOD_TAUNT, SPELL_AURA_SCHOOL_IMMUNITY, SPELL_AURA_STATE_IMMUNITY, SPELL_AURA_TRANSFORM, SPELL_AURA_USE_NORMAL_MOVEMENT_SPEED, SPELL_EFFECT_ATTACK_ME, SPELL_EFFECT_KNOCK_BACK, SPELL_EFFECT_KNOCK_BACK_DEST, and SpellEffectInfo::ImmunityInfo::SpellEffectImmune.

◆ _LoadSpellDiminishInfo()

◆ _LoadSpellSpecific()

void SpellInfo::_LoadSpellSpecific ( )
private

◆ _UnloadImplicitTargetConditionLists()

void SpellInfo::_UnloadImplicitTargetConditionLists ( )
private

Definition at line 3978 of file SpellInfo.cpp.

References _GetEffect(), GetEffect(), GetEffects(), and SpellEffectInfo::ImplicitTargetConditions.

Referenced by ~SpellInfo().

◆ ApplyAllSpellImmunitiesTo()

◆ CalcCastTime()

◆ CalcPowerCost()

◆ CanBeUsedInCombat()

bool SpellInfo::CanBeUsedInCombat ( ) const

Definition at line 1216 of file SpellInfo.cpp.

References HasAttribute(), and SPELL_ATTR0_CANT_USED_IN_COMBAT.

Referenced by Spell::CheckCast(), and PetAI::UpdateAI().

◆ CanDispelAura()

◆ CanPierceImmuneAura()

◆ CanSpellProvideImmunityAgainstAura()

◆ CheckExplicitTarget()

◆ CheckLocation()

◆ CheckShapeshift()

◆ CheckTarget()

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

Definition at line 1642 of file SpellInfo.cpp.

References BASE_ATTACK, Unit::CanFreeMove(), WorldObject::CanSeeOrDetect(), CheckTargetCreatureType(), CORPSE_BONES, CREATURE_TYPEMASK_HUMANOID_OR_UNDEAD, ExcludeTargetAuraSpell, ExcludeTargetAuraState, ObjectAccessor::FindPlayer(), WorldObject::GetAffectingPlayer(), Unit::GetCreatureTypeMask(), Object::GetTypeId(), Unit::GetVirtualItemId(), Player::GetWeaponForAttack(), HasAttribute(), Unit::HasAura(), Unit::HasAuraState(), Unit::HasAuraType(), HasEffect(), Unit::HasUnitFlag(), Unit::HasUnitState(), Unit::IsAlive(), IsAllowingDeadTarget(), Player::IsGameMaster(), Unit::IsInCombat(), IsPositive(), Player::IsUseEquipedWeapon(), Unit::IsVisible(), Mechanic, MECHANIC_DISARM, SPELL_ATTR0_CU_ALLOW_INFLIGHT_TARGET, SPELL_ATTR0_CU_PICKPOCKET, SPELL_ATTR1_CANT_TARGET_IN_COMBAT, SPELL_ATTR1_CANT_TARGET_SELF, SPELL_ATTR2_CANT_TARGET_TAPPED, SPELL_ATTR3_ONLY_TARGET_GHOSTS, SPELL_ATTR3_ONLY_TARGET_PLAYERS, SPELL_ATTR6_CAN_TARGET_INVISIBLE, SPELL_ATTR6_CANT_TARGET_CROWD_CONTROLLED, SPELL_ATTR7_BYPASS_NO_RESURRECT_AURA, SPELL_AURA_GHOST, SPELL_AURA_PREVENT_RESURRECTION, SPELL_CAST_OK, SPELL_EFFECT_RESURRECT, SPELL_EFFECT_RESURRECT_NEW, 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_NO_POCKETS, SPELL_FAILED_TARGET_NO_WEAPONS, SPELL_FAILED_TARGET_NOT_GHOST, SPELL_FAILED_TARGET_NOT_PLAYER, SPELL_FAILED_TARGETS_DEAD, sSpellMgr, TargetAuraSpell, TargetAuraState, Object::ToCorpse(), Object::ToCreature(), Object::ToPlayer(), 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()

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

◆ CheckVehicle()

◆ GetAllEffectsMechanicMask()

◆ GetAllowedMechanicMask()

uint32 SpellInfo::GetAllowedMechanicMask ( ) const

Definition at line 3106 of file SpellInfo.cpp.

References _allowedMechanicMask.

◆ GetAttackType()

◆ GetAuraRankForLevel()

◆ GetAuraState()

AuraStateType SpellInfo::GetAuraState ( ) const

Definition at line 1968 of file SpellInfo.cpp.

References _auraState.

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

◆ GetCategory()

◆ GetDiminishingReturnsGroupForSpell()

◆ GetDiminishingReturnsGroupType()

DiminishingReturnsType SpellInfo::GetDiminishingReturnsGroupType ( bool  triggered) const

◆ GetDiminishingReturnsLimitDuration()

int32 SpellInfo::GetDiminishingReturnsLimitDuration ( bool  triggered) const

◆ GetDiminishingReturnsMaxLevel()

DiminishingLevels SpellInfo::GetDiminishingReturnsMaxLevel ( bool  triggered) const

◆ GetDispelMask() [1/2]

uint32 SpellInfo::GetDispelMask ( ) const

◆ GetDispelMask() [2/2]

uint32 SpellInfo::GetDispelMask ( DispelType  type)
static

Definition at line 1954 of file SpellInfo.cpp.

References DISPEL_ALL, and DISPEL_ALL_MASK.

◆ GetDuration()

◆ GetEffect()

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

Definition at line 483 of file SpellInfo.h.

References ASSERT.

Referenced by _InitializeSpellPositivity(), _LoadSpellSpecific(), _UnloadImplicitTargetConditionLists(), spell_valkyr_essences::Absorb(), spell_dk_will_of_the_necropolis::Absorb(), ConditionMgr::addToSpellImplicitTargetConditions(), spell_dragonblight_corrosive_spit::AfterApply(), spell_dk_anti_magic_zone::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_dk_pet_scaling_01::spell_dk_pet_scaling_01_AuraScript::CalculateStrengthAmount(), _SpellScript::EffectNameCheck::Check(), _SpellScript::EffectAuraNameCheck::Check(), SpellScript::TargetHook::CheckEffect(), Spell::CheckItems(), Spell::EffectPersistentAA(), Spell::EffectSchoolDMG(), Spell::EffectScriptEffect(), Spell::EffectWeaponDmg(), SpellScript::GetEffectInfo(), AuraScript::GetEffectInfo(), GetEffectMechanic(), GetEffectMechanicMask(), npc_firework::GetFireworkGameObjectId(), spell_dk_raise_dead::GetGhoulSpellId(), AuraEffect::HandleAuraModShapeshift(), spell_leotheras_the_blind_chaos_blast::HandleDummy(), spell_akilzon_electrical_overload::HandleEffect(), spell_warr_bloodthirst_heal::HandleHeal(), lookup_commandscript::HandleLookupSpellCommand(), spell_dru_leader_of_the_pack::HandleProc(), spell_gen_blade_warding::HandleProc(), spell_item_charm_witch_doctor::HandleProc(), spell_pal_glyph_of_holy_light_dummy::HandleProc(), spell_pal_illumination::HandleProc(), spell_pal_judgement_of_wisdom_mana::HandleProc(), spell_sha_frozen_power::HandleProc(), spell_sha_glyph_of_totem_of_wrath::HandleProc(), spell_sha_lightning_overload::HandleProc(), spell_sha_windfury_weapon::HandleProc(), spell_warl_drain_soul::HandleProc(), spell_igb_rocket_pack::HandleRemove(), spell_warl_demonic_empowerment::HandleScriptEffect(), spell_pal_seal_of_vengeance< DoTSpellId, DamageSpellId >::spell_pal_seal_of_vengeance_AuraScript< DoTSpell, DamageSpell >::HandleSeal(), spell_putricide_mutated_plague::HandleTriggerSpell(), IsExplicitDiscovery(), IsLootCrafting(), AchievementCriteriaData::IsValid(), Player::LearnQuestRewardedSpells(), SpellMgr::LoadSpellPetAuras(), SpellMgr::LoadSpellTargetPositions(), WorldObject::ModSpellDuration(), spell_deathwhisper_dark_reckoning::OnPeriodic(), spell_pal_glyph_of_divinity::OnProc(), spell_putricide_mutated_plague::OnRemove(), spell_blood_queen_pact_of_the_darkfallen_dmg::PeriodicTick(), spell_dragonblight_corrosive_spit::PeriodicTick(), Spell::PreprocessSpellHit(), spell_gen_defend::Register(), spell_gen_mounted_charge::Register(), Spell::SetSpellValue(), Trinity::Hyperlinks::LinkTags::trade::StoreTo(), Guardian::UpdateAttackPowerAndDamage(), Guardian::UpdateStats(), spell_deathwhisper_dark_reckoning::Validate(), spell_mage_living_bomb::Validate(), spell_chapter1_emblazon_runeblade_effect::Validate(), spell_kalecgos_tap_check::Validate(), spell_muru_negative_energy_periodic::Validate(), spell_akilzon_eagle_swoop_primer::Validate(), spell_akilzon_electrical_overload_primer::Validate(), spell_akilzon_electrical_overload::Validate(), spell_zuljin_claw_rage_periodic::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_silithus_summon_cultist_periodic::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_hor_quel_delars_will::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_dk_corpse_explosion::Validate(), spell_dk_ghoul_explode::Validate(), spell_dk_raise_dead::Validate(), spell_dk_raise_ally_initial::Validate(), spell_dru_savage_defense::Validate(), spell_dru_wild_growth::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_hun_cobra_strikes::Validate(), spell_hun_masters_call::Validate(), spell_hun_rapid_recuperation::Validate(), spell_mage_mirror_image::Validate(), spell_pal_beacon_of_light::Validate(), spell_pal_improved_lay_of_hands::Validate(), spell_quest_portal_with_condition::Validate(), spell_rog_honor_among_thieves::Validate(), spell_rog_turn_the_tables::Validate(), spell_sha_mana_tide::Validate(), and spell_warr_deep_wounds_aura::Validate().

◆ GetEffectMechanic()

Mechanics SpellInfo::GetEffectMechanic ( SpellEffIndex  effIndex) const

Definition at line 1938 of file SpellInfo.cpp.

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

Referenced by Unit::GetMechanicResistChance().

◆ GetEffectMechanicMask()

uint32 SpellInfo::GetEffectMechanicMask ( SpellEffIndex  effIndex) const

Definition at line 1913 of file SpellInfo.cpp.

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

◆ GetEffects()

std::array< SpellEffectInfo, MAX_SPELL_EFFECTS > const & SpellInfo::GetEffects ( ) const
inline

Definition at line 482 of file SpellInfo.h.

Referenced by Spell::_cast(), Spell::_handle_immediate_phase(), Aura::_InitEffects(), AuraApplication::_InitFlags(), _InitializeExplicitTargetMask(), _InitializeSpellPositivity(), _isPositiveEffectImpl(), _LoadAuraState(), _LoadSpellSpecific(), Unit::_TryStackingOrRefreshingExistingAura(), _UnloadImplicitTargetConditionLists(), Unit::AddAura(), Spell::AddCorpseTarget(), Spell::AddGOTarget(), Spell::AddItemTarget(), Player::AddSpell(), UnitAura::AddStaticApplication(), ConditionMgr::addToSpellImplicitTargetConditions(), Spell::AddUnitTarget(), Aura::BuildEffectMaskForOwner(), Spell::CanAutoCast(), Aura::CanBeSaved(), Spell::CanExecuteTriggersOnHit(), CanSpellProvideImmunityAgainstAura(), Aura::CanStackWith(), Trainer::Trainer::CanTeachSpell(), Player::CastItemCombatSpell(), Spell::CheckCast(), Spell::CheckItems(), CheckVehicle(), Spell::TargetInfo::DoDamageAndTriggers(), Spell::DoProcessTargetContainer(), Spell::EffectPersistentAA(), Spell::EffectWeaponDmg(), EquippedOk(), UnitAI::FillAISpellInfo(), ScriptMgr::FillSpellSummary(), UnitAura::FillTargetMap(), DynObjAura::FillTargetMap(), GetAllEffectsMechanicMask(), GetAuraRankForLevel(), Unit::GetCastingTimeForBonus(), GetMaxTicks(), Unit::GetMechanicResistChance(), GetSpellMechanicMaskByEffectMask(), npc_thorim_trashAI::AIHelper::GetTotalHeal(), AuraEffect::HandleAuraMounted(), Spell::HandleLaunchPhase(), Player::HandlePassiveSpellLearn(), WorldSession::HandlePetActionHelper(), spell_item_alchemists_stone::HandleProc(), spell_putricide_choking_gas_bomb::HandleScript(), Unit::HandleSpellClick(), Player::Has310Flyer(), HasAreaAuraEffect(), HasAura(), Unit::HasAuraWithMechanic(), HasEffect(), Player::HasItemFitToSpellRequirements(), Aura::HasMoreThanOneEffectForType(), HasOnlyDamageEffects(), IsAffectingArea(), Aura::IsArea(), IsGroupBuff(), Unit::IsImmunedToSpell(), Creature::IsImmunedToSpell(), IsPrimaryProfession(), IsProfession(), IsProfessionOrRiding(), IsSelfCast(), ConditionMgr::isSourceTypeValid(), SpellMgr::IsSpellValid(), IsTargetingArea(), Player::LearnQuestRewardedSpells(), SpellMgr::LoadEnchantCustomAttr(), SmartAIMgr::LoadHelperStores(), SpellMgr::LoadPetDefaultSpells(), ObjectMgr::LoadQuests(), SpellMgr::LoadSpellGroupStackRules(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellLearnSpells(), SpellMgr::LoadSpellLinked(), SpellMgr::LoadSpellProcs(), WorldObject::MagicSpellHitResult(), NeedsToBeTriggeredByCaster(), Spell::prepare(), Spell::PreprocessSpellHit(), Player::RemoveSpell(), Player::ResetTalents(), Aura::SaveCasterInfo(), Spell::SelectImplicitChainTargets(), Spell::SelectSpellTargets(), Spell::SendLogExecute(), Trainer::Trainer::SendSpells(), SpellCancelsAuraEffect(), Unit::SpellHealingBonusDone(), SpellValue::SpellValue(), Spell::UpdateChanneledTargetList(), Spell::UpdatePointers(), and Aura::UpdateTargetMap().

◆ GetExplicitTargetMask()

◆ GetFirstRankSpell()

◆ GetLastRankSpell()

SpellInfo const * SpellInfo::GetLastRankSpell ( ) const

Definition at line 3353 of file SpellInfo.cpp.

References ChainEntry, and SpellChainNode::last.

◆ GetMaxDuration()

◆ GetMaxRange()

◆ GetMaxTicks()

uint32 SpellInfo::GetMaxTicks ( ) const

Definition at line 3185 of file SpellInfo.cpp.

References GetDuration(), GetEffects(), HasAttribute(), SPELL_ATTR5_START_PERIODIC_AT_APPLY, SPELL_AURA_MOD_ATTACK_POWER_OF_ARMOR, SPELL_AURA_OBS_MOD_HEALTH, SPELL_AURA_OBS_MOD_POWER, SPELL_AURA_PERIODIC_DAMAGE, SPELL_AURA_PERIODIC_DAMAGE_PERCENT, SPELL_AURA_PERIODIC_DUMMY, SPELL_AURA_PERIODIC_ENERGIZE, SPELL_AURA_PERIODIC_HEAL, SPELL_AURA_PERIODIC_HEALTH_FUNNEL, SPELL_AURA_PERIODIC_LEECH, SPELL_AURA_PERIODIC_MANA_LEECH, SPELL_AURA_PERIODIC_TRIGGER_SPELL, SPELL_AURA_PERIODIC_TRIGGER_SPELL_FROM_CLIENT, SPELL_AURA_PERIODIC_TRIGGER_SPELL_WITH_VALUE, SPELL_AURA_POWER_BURN, and SPELL_EFFECT_APPLY_AURA.

Referenced by Unit::CalculateDefaultCoefficient(), Spell::EffectSchoolDMG(), npc_thorim_trashAI::AIHelper::GetTotalHeal(), spell_warr_deep_wounds::HandleDummy(), spell_dk_unholy_blight::HandleProc(), spell_dru_glyph_of_innervate::HandleProc(), spell_dru_t10_balance_4p_bonus::HandleProc(), spell_hun_piercing_shots::HandleProc(), spell_mage_ignite::HandleProc(), spell_pal_righteous_vengeance::HandleProc(), spell_pal_sheath_of_light::HandleProc(), spell_pal_t8_2p_bonus::HandleProc(), spell_pri_blessed_recovery::HandleProc(), spell_pri_glyph_of_prayer_of_healing::HandleProc(), spell_pri_t10_heal_2p_bonus::HandleProc(), spell_sha_t8_elemental_4p_bonus::HandleProc(), spell_sha_t9_elemental_4p_bonus::HandleProc(), spell_sha_t10_restoration_4p_bonus::HandleProc(), spell_sartura_whirlwind::HandleScript(), and spell_leotheras_the_blind_whirlwind_effect::HandleScript().

◆ GetMechanicImmunityMask()

uint32 SpellInfo::GetMechanicImmunityMask ( Unit *  caster) const

◆ GetMinRange()

◆ GetNextRankSpell()

◆ GetPrevRankSpell()

SpellInfo const * SpellInfo::GetPrevRankSpell ( ) const

Definition at line 3365 of file SpellInfo.cpp.

References ChainEntry, and SpellChainNode::prev.

Referenced by GetAuraRankForLevel().

◆ GetRank()

◆ GetRecoveryTime()

uint32 SpellInfo::GetRecoveryTime ( ) const

◆ GetSchoolMask()

◆ GetSpellMechanicMaskByEffectMask()

uint32 SpellInfo::GetSpellMechanicMaskByEffectMask ( uint32  effectMask) const

Definition at line 1925 of file SpellInfo.cpp.

References GetEffects(), and Mechanic.

Referenced by WorldObject::ModSpellDuration(), and Unit::RemoveAurasWithMechanic().

◆ GetSpellSpecific()

◆ HasAreaAuraEffect()

bool SpellInfo::HasAreaAuraEffect ( ) const

Definition at line 918 of file SpellInfo.cpp.

References GetEffects().

Referenced by AuraScript::_Validate(), and Aura::CanBeSentToClient().

◆ HasAttribute() [1/9]

bool SpellInfo::HasAttribute ( SpellAttr0  attribute) const
inline

Definition at line 375 of file SpellInfo.h.

Referenced by Spell::_cast(), _isPositiveEffectImpl(), Pet::_LoadAuras(), Player::_LoadAuras(), _LoadImmunityInfo(), Battleground::_ProcessJoin(), Unit::_TryStackingOrRefreshingExistingAura(), Unit::AddAura(), Player::AddSpell(), ThreatManager::AddThreat(), ApplyAllSpellImmunitiesTo(), AuraApplication::BuildUpdatePacket(), CalcCastTime(), CalcPowerCost(), Unit::CalcSpellResistedDamage(), Unit::CalculateAverageResistReduction(), AuraEffect::CalculatePeriodic(), Unit::CalculateSpellDamageTaken(), SpellEffectInfo::CalcValue(), Aura::CanBeSaved(), CanBeUsedInCombat(), PlayerAI::CancelAllShapeshifts(), CanDispelAura(), Spell::CanExecuteTriggersOnHit(), Player::CanFlyInZone(), Player::CanNoReagentCast(), CanPierceImmuneAura(), CanSpellProvideImmunityAgainstAura(), Aura::CanStackWith(), Spell::CheckArenaCastRules(), Spell::CheckCast(), Spell::CheckCasterAuras(), AuraEffect::CheckEffectProc(), Spell::CheckEffectTarget(), Spell::CheckItems(), CheckLocation(), CheckShapeshift(), CheckTarget(), CheckVehicle(), Unit::DealDamage(), Spell::TargetInfo::DoDamageAndTriggers(), Spell::DoEffectOnLaunchTarget(), Spell::DoSpellEffectHit(), Spell::EffectCastButtons(), Spell::EffectEnergize(), Spell::EffectEnergizePct(), Spell::EffectSchoolDMG(), Spell::EffectStealBeneficialBuff(), Spell::EffectWeaponDmg(), UnitAI::FillAISpellInfo(), Spell::finish(), ThreatManager::ForwardThreatForAssistingMe(), GetAttackType(), GetAuraRankForLevel(), Unit::GetDispellableAuraList(), npc_thorim_trashAI::AIHelper::GetHealTarget(), WorldObject::GetMagicHitRedirectTarget(), GetMaxTicks(), Spell::GetMinMaxRange(), Aura::GetProcEffectMask(), Spell::GetSearcherTypeMask(), AuraEffect::GetTotalTicks(), AuraEffect::HandleAuraModSchoolImmunity(), WorldSession::HandleCancelAuraOpcode(), WorldSession::HandleCancelChanneling(), WorldSession::HandleCancelGrowthAuraOpcode(), WorldSession::HandleCancelMountAuraOpcode(), Spell::HandleLaunchPhase(), lookup_commandscript::HandleLookupSpellCommand(), AuraEffect::HandleModTotalPercentStat(), Player::HandlePassiveSpellLearn(), AuraEffect::HandlePeriodicEnergizeAuraTick(), WorldSession::HandlePetAction(), AuraEffect::HandleShapeshiftBoosts(), Spell::HandleThreatSpells(), HasInitialAggro(), Player::IsAffectedBySpellmod(), IsAffectedBySpellMods(), IsAllowingDeadTarget(), Spell::IsAutoActionResetSpell(), IsAutocastable(), IsAutoRepeatRangedSpell(), IsBreakingStealth(), IsChanneled(), IsCooldownStartedOnEvent(), Unit::IsDamageReducedByArmor(), IsDeathPersistent(), Spell::IsFocusDisabled(), Unit::IsImmunedToDamage(), Unit::IsImmunedToSpell(), Unit::IsImmunedToSpellEffect(), IsMoveAllowedChannel(), IsNextMeleeSwingSpell(), IsPassive(), IsPositive(), IsPositiveEffect(), IsRangedWeaponSpell(), Aura::IsRemovedOnShapeLost(), IsRequiringDeadTarget(), IsSingleTarget(), IsStackableOnOneSlotWithDifferentCasters(), WorldObject::IsValidAssistTarget(), WorldObject::IsValidAttackTarget(), list_commandscript::ListAurasCommand(), SpellMgr::LoadEnchantCustomAttr(), LoadLootTemplates_Spell(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellLearnSpells(), WorldObject::MagicSpellHitResult(), Unit::MeleeDamageBonusDone(), Unit::MeleeSpellHitResult(), Unit::MeleeSpellMissChance(), WorldObject::ModSpellCastTime(), WorldObject::ModSpellDuration(), WorldObject::ModSpellDurationTime(), Aura::ModStackAmount(), NeedsComboPoints(), Trinity::AnyAoETargetUnitInObjectRangeCheck::operator()(), Trinity::WorldObjectSpellConeTargetCheck::operator()(), AuraEffect::PeriodicTick(), Spell::prepareDataForTriggerSystem(), Aura::PrepareProcToTrigger(), Spell::TargetInfo::PreprocessTarget(), Aura::RefreshDuration(), Unit::RemoveArenaAuras(), Unit::RemoveAurasByShapeShift(), Unit::RemoveAurasDueToSpellByDispel(), Unit::RemoveAurasDueToSpellBySteal(), Unit::RemoveAurasWithAttribute(), Player::RemoveSpell(), AuraEffect::ResetPeriodic(), DuelResetScript::ResetSpellCooldowns(), Spell::SearchChainTargets(), Spell::SelectSpellTargets(), Spell::SendResurrectRequest(), Spell::SendSpellGo(), Spell::SendSpellStart(), Creature::SetSpellFocus(), Spell::Spell(), SpellCancelsAuraEffect(), CharacterDatabaseCleaner::SpellCheck(), Unit::SpellCritChanceDone(), Unit::SpellCritChanceTaken(), Unit::SpellDamageBonusDone(), Unit::SpellDamageBonusTaken(), Unit::SpellDamagePctDone(), Unit::SpellHealingPctDone(), WorldObject::SpellHitResult(), SpellHistory::StartCooldown(), Trinity::Hyperlinks::LinkTags::enchant::StoreTo(), Unit::TriggerAurasProcOnEvent(), Spell::TriggerGlobalCooldown(), and Spell::UpdateSpellCastDataTargets().

◆ HasAttribute() [2/9]

bool SpellInfo::HasAttribute ( SpellAttr1  attribute) const
inline

Definition at line 376 of file SpellInfo.h.

◆ HasAttribute() [3/9]

bool SpellInfo::HasAttribute ( SpellAttr2  attribute) const
inline

Definition at line 377 of file SpellInfo.h.

◆ HasAttribute() [4/9]

bool SpellInfo::HasAttribute ( SpellAttr3  attribute) const
inline

Definition at line 378 of file SpellInfo.h.

◆ HasAttribute() [5/9]

bool SpellInfo::HasAttribute ( SpellAttr4  attribute) const
inline

Definition at line 379 of file SpellInfo.h.

◆ HasAttribute() [6/9]

bool SpellInfo::HasAttribute ( SpellAttr5  attribute) const
inline

Definition at line 380 of file SpellInfo.h.

◆ HasAttribute() [7/9]

bool SpellInfo::HasAttribute ( SpellAttr6  attribute) const
inline

Definition at line 381 of file SpellInfo.h.

◆ HasAttribute() [8/9]

bool SpellInfo::HasAttribute ( SpellAttr7  attribute) const
inline

Definition at line 382 of file SpellInfo.h.

◆ HasAttribute() [9/9]

bool SpellInfo::HasAttribute ( SpellCustomAttributes  customAttribute) const
inline

Definition at line 383 of file SpellInfo.h.

◆ HasAura()

◆ HasEffect()

◆ HasInitialAggro()

◆ HasOnlyDamageEffects()

◆ IsAbilityLearnedWithProfession()

bool SpellInfo::IsAbilityLearnedWithProfession ( ) const

◆ IsAbilityOfSkillType()

bool SpellInfo::IsAbilityOfSkillType ( uint32  skillType) const

Definition at line 1035 of file SpellInfo.cpp.

References Id, and sSpellMgr.

Referenced by learn_commandscript::HandleLearnAllGMCommand().

◆ IsAffected()

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

Definition at line 1321 of file SpellInfo.cpp.

References SpellFamilyFlags, and SpellFamilyName.

Referenced by IsAffectedBySpellMod(), and AuraEffect::IsAffectingSpell().

◆ IsAffectedBySpellMod()

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

◆ IsAffectedBySpellMods()

bool SpellInfo::IsAffectedBySpellMods ( ) const

Definition at line 1335 of file SpellInfo.cpp.

References HasAttribute(), and SPELL_ATTR3_NO_DONE_BONUS.

Referenced by IsAffectedBySpellMod().

◆ IsAffectingArea()

bool SpellInfo::IsAffectingArea ( ) const

◆ IsAllowingDeadTarget()

◆ IsAuraExclusiveBySpecificPerCasterWith()

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

◆ IsAuraExclusiveBySpecificWith()

◆ IsAutocastable()

◆ IsAutoRepeatRangedSpell()

◆ IsBreakingStealth()

bool SpellInfo::IsBreakingStealth ( ) const

Definition at line 1260 of file SpellInfo.cpp.

References HasAttribute(), and SPELL_ATTR1_NOT_BREAK_STEALTH.

Referenced by Spell::prepare().

◆ IsChanneled()

◆ IsCooldownStartedOnEvent()

◆ IsDeathPersistent()

bool SpellInfo::IsDeathPersistent ( ) const

◆ IsDifferentRankOf()

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

Definition at line 3417 of file SpellInfo.cpp.

References Id, and IsRankOf().

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

◆ IsExplicitDiscovery()

bool SpellInfo::IsExplicitDiscovery ( ) const

◆ IsGroupBuff()

bool SpellInfo::IsGroupBuff ( ) const

◆ IsHighRankOf()

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

Definition at line 3424 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 1308 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 1164 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 1159 of file SpellInfo.cpp.

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

Referenced by Unit::_RemoveNoStackAurasDueToAura().

◆ IsPositive()

◆ IsPositiveEffect()

◆ IsPrimaryProfession()

bool SpellInfo::IsPrimaryProfession ( ) const

Definition at line 998 of file SpellInfo.cpp.

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

Referenced by IsPrimaryProfessionFirstRank().

◆ IsPrimaryProfessionFirstRank()

bool SpellInfo::IsPrimaryProfessionFirstRank ( ) const

◆ IsProfession()

bool SpellInfo::IsProfession ( ) const

Definition at line 983 of file SpellInfo.cpp.

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

◆ IsProfessionOrRiding()

bool SpellInfo::IsProfessionOrRiding ( ) const

Definition at line 968 of file SpellInfo.cpp.

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

Referenced by IsStackableWithRanks().

◆ IsRangedWeaponSpell()

◆ IsRanked()

◆ IsRankOf()

◆ IsRequiringDeadTarget()

bool SpellInfo::IsRequiringDeadTarget ( ) const

◆ IsSelfCast()

bool SpellInfo::IsSelfCast ( ) const

Definition at line 1104 of file SpellInfo.cpp.

References GetEffects(), and TARGET_UNIT_CASTER.

Referenced by Player::RewardQuest().

◆ IsSingleTarget()

bool SpellInfo::IsSingleTarget ( ) const

Definition at line 1397 of file SpellInfo.cpp.

References HasAttribute(), and SPELL_ATTR5_SINGLE_TARGET_SPELL.

Referenced by Unit::_AddAura(), Aura::CanBeSaved(), and Aura::Create().

◆ IsStackableOnOneSlotWithDifferentCasters()

bool SpellInfo::IsStackableOnOneSlotWithDifferentCasters ( ) const

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

Definition at line 1169 of file SpellInfo.cpp.

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

Referenced by Unit::_TryStackingOrRefreshingExistingAura().

◆ IsStackableWithRanks()

◆ IsTargetingArea()

bool SpellInfo::IsTargetingArea ( ) const

Definition at line 1055 of file SpellInfo.cpp.

References GetEffects().

Referenced by Spell::CheckCast(), and Spell::HandleLaunchPhase().

◆ NeedsComboPoints()

bool SpellInfo::NeedsComboPoints ( ) const

◆ NeedsExplicitUnitTarget()

bool SpellInfo::NeedsExplicitUnitTarget ( ) const

◆ NeedsToBeTriggeredByCaster()

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

◆ SpellCancelsAuraEffect()

Friends And Related Symbol Documentation

◆ SpellMgr

friend class SpellMgr
friend

Definition at line 286 of file SpellInfo.h.

Member Data Documentation

◆ _allowedMechanicMask

uint32 SpellInfo::_allowedMechanicMask
private

Definition at line 521 of file SpellInfo.h.

Referenced by _LoadImmunityInfo(), GetAllowedMechanicMask(), and SpellInfo().

◆ _auraState

AuraStateType SpellInfo::_auraState
private

Definition at line 516 of file SpellInfo.h.

Referenced by _LoadAuraState(), GetAuraState(), and SpellInfo().

◆ _diminishInfoNonTriggered

◆ _diminishInfoTriggered

◆ _effects

std::array<SpellEffectInfo, MAX_SPELL_EFFECTS> SpellInfo::_effects

Definition at line 362 of file SpellInfo.h.

Referenced by CanSpellProvideImmunityAgainstAura(), and SpellInfo().

◆ _spellSpecific

SpellSpecificType SpellInfo::_spellSpecific
private

Definition at line 515 of file SpellInfo.h.

Referenced by _LoadSpellSpecific(), GetSpellSpecific(), and SpellInfo().

◆ ActiveIconID

uint32 SpellInfo::ActiveIconID

Definition at line 350 of file SpellInfo.h.

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

◆ Attributes

uint32 SpellInfo::Attributes

Definition at line 293 of file SpellInfo.h.

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

◆ AttributesCu

uint32 SpellInfo::AttributesCu

◆ AttributesEx

uint32 SpellInfo::AttributesEx

Definition at line 294 of file SpellInfo.h.

Referenced by SpellInfo().

◆ AttributesEx2

uint32 SpellInfo::AttributesEx2

Definition at line 295 of file SpellInfo.h.

Referenced by SpellInfo().

◆ AttributesEx3

uint32 SpellInfo::AttributesEx3

Definition at line 296 of file SpellInfo.h.

Referenced by SpellInfo().

◆ AttributesEx4

uint32 SpellInfo::AttributesEx4

Definition at line 297 of file SpellInfo.h.

Referenced by SpellInfo().

◆ AttributesEx5

uint32 SpellInfo::AttributesEx5

Definition at line 298 of file SpellInfo.h.

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

◆ AttributesEx6

uint32 SpellInfo::AttributesEx6

Definition at line 299 of file SpellInfo.h.

Referenced by SpellInfo().

◆ AttributesEx7

uint32 SpellInfo::AttributesEx7

Definition at line 300 of file SpellInfo.h.

Referenced by SpellInfo().

◆ AuraInterruptFlags

◆ BaseLevel

uint32 SpellInfo::BaseLevel

Definition at line 328 of file SpellInfo.h.

Referenced by SpellEffectInfo::CalcValue(), and SpellInfo().

◆ CasterAuraSpell

uint32 SpellInfo::CasterAuraSpell

Definition at line 312 of file SpellInfo.h.

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

◆ CasterAuraState

uint32 SpellInfo::CasterAuraState

◆ CastTimeEntry

SpellCastTimesEntry const* SpellInfo::CastTimeEntry

Definition at line 316 of file SpellInfo.h.

Referenced by CalcCastTime(), and SpellInfo().

◆ CategoryEntry

SpellCategoryEntry const* SpellInfo::CategoryEntry

Definition at line 290 of file SpellInfo.h.

Referenced by GetCategory(), IsCooldownStartedOnEvent(), and SpellInfo().

◆ CategoryRecoveryTime

◆ ChainEntry

◆ ChannelInterruptFlags

uint32 SpellInfo::ChannelInterruptFlags

◆ Dispel

◆ DmgClass

◆ DurationEntry

SpellDurationEntry const* SpellInfo::DurationEntry

Definition at line 330 of file SpellInfo.h.

Referenced by Aura::CalcMaxDuration(), GetDuration(), GetMaxDuration(), and SpellInfo().

◆ EquippedItemClass

◆ EquippedItemInventoryTypeMask

int32 SpellInfo::EquippedItemInventoryTypeMask

Definition at line 346 of file SpellInfo.h.

Referenced by Item::IsFitToSpellRequirements(), and SpellInfo().

◆ EquippedItemSubClassMask

◆ ExcludeCasterAuraSpell

uint32 SpellInfo::ExcludeCasterAuraSpell

Definition at line 314 of file SpellInfo.h.

Referenced by Spell::CheckCast(), SpellInfo(), and spell_mage_ice_block::Validate().

◆ ExcludeCasterAuraState

uint32 SpellInfo::ExcludeCasterAuraState

Definition at line 310 of file SpellInfo.h.

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

◆ ExcludeTargetAuraSpell

uint32 SpellInfo::ExcludeTargetAuraSpell

◆ ExcludeTargetAuraState

uint32 SpellInfo::ExcludeTargetAuraState

Definition at line 311 of file SpellInfo.h.

Referenced by CheckTarget(), and SpellInfo().

◆ ExplicitTargetMask

uint32 SpellInfo::ExplicitTargetMask

Definition at line 363 of file SpellInfo.h.

Referenced by _InitializeExplicitTargetMask(), GetExplicitTargetMask(), and SpellInfo().

◆ FacingCasterFlags

uint32 SpellInfo::FacingCasterFlags

Definition at line 307 of file SpellInfo.h.

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

◆ Id

uint32 SpellInfo::Id

Definition at line 289 of file SpellInfo.h.

Referenced by Spell::_cast(), Unit::_CreateAuraApplication(), Spell::_handle_finish_phase(), _isPositiveEffectImpl(), Pet::_LoadAuras(), Player::_LoadAuras(), _LoadAuraState(), _LoadImmunityInfo(), _LoadSpellDiminishInfo(), _LoadSpellSpecific(), Unit::_TryStackingOrRefreshingExistingAura(), Aura::_UnapplyForTarget(), Unit::_UpdateAutoRepeatSpell(), _SpellScript::_Validate(), SpellScript::_Validate(), AuraScript::_Validate(), spell_valkyr_essences::Absorb(), AddItemsSetItem(), SpellMgr::AddSameEffectStackRuleSpellGroups(), CharmInfo::AddSpellToActionBar(), ConditionMgr::addToSpellImplicitTargetConditions(), ApplyAllSpellImmunitiesTo(), WorldObject::ApplyEffectModifiers(), Player::ApplyEquipSpell(), Unit::CalcArmorReducedDamage(), SpellEffectInfo::CalcDamageMultiplier(), Aura::CalcMaxDuration(), CalcPowerCost(), SpellEffectInfo::CalcRadius(), AuraEffect::CalculateAmount(), ThreatManager::CalculateModifiedThreat(), Unit::CalculateSpellDamageTaken(), SpellEffectInfo::CalcValueMultiplier(), Spell::CanAutoCast(), Spell::cancel(), Spell::CanOpenLock(), Aura::CanStackWith(), Player::CastItemCombatSpell(), Spell::CheckCast(), Spell::CheckCasterAuras(), Spell::CheckEffectTarget(), CheckLocation(), spell_eredar_twins_dark_flame_aura_shadow::CheckProc(), spell_eredar_twins_dark_flame_aura_fire::CheckProc(), spell_dru_t10_restoration_4p_bonus_dummy::CheckProc(), spell_pri_body_and_soul::CheckProcDummy(), Spell::CheckRuneCost(), CheckShapeshift(), cast_commandscript::CheckSpellExistsAndIsValid(), SpellMgr::CheckSpellGroupStackRules(), DynamicObject::CreateDynamicObject(), Unit::DealDamage(), Unit::DealMeleeDamage(), Spell::Delayed(), Spell::DelayedChannel(), ScriptedAI::DoCastSpell(), Spell::DoCreateItem(), Spell::TargetInfo::DoDamageAndTriggers(), Spell::DoTriggersOnSpellHit(), Spell::EffectActivateObject(), Spell::EffectActivateRune(), Spell::EffectAddHonor(), Spell::EffectCastButtons(), Spell::EffectCreateItem2(), Spell::EffectCreateRandomItem(), Spell::EffectCreateTamedPet(), Spell::EffectDisEnchant(), Spell::EffectDispel(), Spell::EffectDuel(), Spell::EffectDummy(), Spell::EffectEnchantHeldItem(), Spell::EffectEnchantItemPerm(), Spell::EffectEnchantItemPrismatic(), Spell::EffectEnchantItemTmp(), Spell::EffectEnergize(), Spell::EffectEnvironmentalDMG(), Spell::EffectForceCast(), Spell::EffectHeal(), Spell::EffectInstaKill(), Spell::EffectInterruptCast(), Spell::EffectKillCredit(), Spell::EffectLearnPetSpell(), Spell::EffectOpenLock(), Spell::EffectPlayMusic(), Spell::EffectPlaySound(), Spell::EffectPowerBurn(), Spell::EffectPullTowards(), Spell::EffectPullTowardsDest(), Spell::EffectRedirectThreat(), Spell::EffectSchoolDMG(), Spell::EffectScriptEffect(), Spell::EffectSendEvent(), Spell::EffectSendTaxi(), Spell::EffectStealBeneficialBuff(), Spell::EffectSummonObject(), Spell::EffectSummonObjectWild(), Spell::EffectSummonPet(), Spell::EffectSummonType(), Spell::EffectTameCreature(), Spell::EffectTaunt(), Spell::EffectTeleportUnits(), Spell::EffectTransmitted(), Spell::EffectTriggerMissileSpell(), Spell::EffectTriggerRitualOfSummoning(), Spell::EffectTriggerSpell(), Spell::EffectWeaponDmg(), Unit::EnergizeBySpell(), FillSpellCastFailedArgs(), Spell::finish(), SpellHistory::GetCooldownDurations(), Spell::GetDebugInfo(), SpellMgr::GetFirstSpellInChain(), Unit::GetHighestExclusiveSameEffectSpellGroupValue(), GetMaxRange(), Spell::GetMinMaxRange(), Unit::GetPPMProcChance(), SpellHistory::GetRemainingCooldown(), SpellMgr::GetSpellForDifficultyFromSpell(), Spell::handle_immediate(), 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(), WorldSession::HandleCastSpellOpcode(), cast_commandscript::HandleCastTargetCommad(), spell_hun_readiness::HandleDummy(), spell_item_deadly_precision_dummy::HandleDummy(), spell_mage_cold_snap::HandleDummy(), spell_pal_improved_aura::HandleEffectRemove(), learn_commandscript::HandleLearnCommand(), Player::HandlePassiveSpellLearn(), AuraEffect::HandlePeriodicPowerBurnAuraTick(), WorldSession::HandlePetCastSpellOpcode(), pet_commandscript::HandlePetLearnCommand(), pet_commandscript::HandlePetUnlearnCommand(), spell_dk_dancing_rune_weapon::HandleProc(), spell_hun_cobra_strikes::HandleProc(), spell_dk_sudden_doom::HandleProc(), spell_pal_judgement_of_wisdom_mana::HandleProc(), spell_sha_glyph_of_earth_shield::HandleProc(), spell_warr_sweeping_strikes::HandleProc(), 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(), spell_thaddius_polarity_charge::HandleTargets(), Spell::HandleThreatSpells(), learn_commandscript::HandleUnLearnCommand(), WorldSession::HandleUpdateMissileTrajectory(), SpellHistory::HasCooldown(), CharmInfo::InitCharmCreateSpells(), Pet::InitLevelupSpellsForLevel(), CharmInfo::InitPossessCreateSpells(), IsAbilityLearnedWithProfession(), IsAbilityOfSkillType(), IsDifferentRankOf(), IsExplicitDiscovery(), Unit::IsImmunedToSpell(), Totem::IsImmunedToSpellEffect(), IsMultiSlotAura(), SpellHistory::IsReady(), SpellMgr::IsSpellValid(), LinkValidator< LinkTags::enchant >::IsTextValid(), 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(), ObjectMgr::LoadCreatureAddons(), ObjectMgr::LoadCreatureTemplateAddons(), LoadLootTemplates_Spell(), SpellMgr::LoadPetLevelupSpellMap(), ObjectMgr::LoadQuests(), Aura::LoadScripts(), Spell::LoadScripts(), SpellMgr::LoadSpellProcs(), ObjectMgr::LoadSpellScriptNames(), WorldObject::MagicSpellHitResult(), Unit::MeleeSpellHitResult(), WorldObject::ModSpellCastTime(), WorldObject::ModSpellDuration(), WorldObject::ModSpellDurationTime(), 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_zuljin::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(), npc_millhouse_manastorm::OnSpellCast(), boss_dalliah_the_doomsayer::OnSpellCast(), boss_wrath_scryer_soccothrates::OnSpellCast(), boss_alar::OnSpellCast(), boss_void_reaver::OnSpellCast(), boss_majordomo::OnSpellCast(), boss_ragnaros::OnSpellCast(), boss_tinhead::OnSpellCast(), boss_big_bad_wolf::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_blackheart_the_inciter::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_warbringer_omrogg::OnSpellCast(), boss_harbinger_skyriss::OnSpellCast(), boss_zereketh_the_unbound::OnSpellCast(), boss_commander_sarannis::OnSpellCast(), boss_high_botanist_freywinn::OnSpellCast(), boss_thorngrin_the_tender::OnSpellCast(), boss_warp_splinter::OnSpellCast(), boss_kaelthas::OnSpellCast(), npc_phoenix_the_eye::OnSpellCast(), boss_gatewatcher_gyrokill::OnSpellCast(), boss_gatewatcher_iron_hand::OnSpellCast(), boss_mechano_lord_capacitus::OnSpellCast(), boss_nethermancer_sepethrea::OnSpellCast(), boss_pathaleon_the_calculator::OnSpellCast(), npc_shambling_horror_icc::OnSpellFailed(), boss_kaelthas::OnSpellFailed(), boss_drakos::OnSpellStart(), boss_ingvar_the_plunderer::OnSpellStart(), npc_millhouse_manastorm::OnSpellStart(), boss_hodir::OnSpellStart(), boss_exarch_maladaar::OnSpellStart(), boss_pandemonius::OnSpellStart(), boss_the_lurker_below::OnSpellStart(), boss_magtheridon::OnSpellStart(), boss_commander_sarannis::OnSpellStart(), boss_thorngrin_the_tender::OnSpellStart(), boss_kaelthas::OnSpellStart(), boss_gatewatcher_iron_hand::OnSpellStart(), boss_mechano_lord_capacitus::OnSpellStart(), Trinity::AbsorbAuraOrderPred::operator()(), Spell::prepare(), Spell::prepareDataForTriggerSystem(), Spell::PreprocessSpellHit(), Spell::TargetInfo::PreprocessTarget(), spell_garfrost_permafrost::PreventHitByLoS(), SmartScript::ProcessEvent(), spell_pri_power_word_shield_aura::ReflectDamage(), RemoveItemsSetItem(), DuelResetScript::ResetSpellCooldowns(), Player::ResetSpells(), Spell::SelectEffectImplicitTargets(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitChainTargets(), Spell::SelectImplicitChannelTargets(), Spell::SelectImplicitNearbyTargets(), Spell::SendChannelStart(), SpellHistory::SendCooldownEvent(), Unit::SendHealSpellLog(), Spell::SendInterrupted(), Spell::SendLogExecute(), Spell::SendSpellGo(), Spell::SendSpellStart(), AuraEffect::SendTickImmune(), Unit::SetCurrentCastSpell(), CharmInfo::SetSpellAutocast(), list_commandscript::ShouldListAura(), Unit::SpellCritChanceDone(), Unit::SpellCriticalDamageBonus(), Unit::SpellDamageBonusDone(), Unit::SpellHealingBonusDone(), 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(), 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_fire_bomb_zulaman::SpellHit(), npc_dragonhawk_egg::SpellHit(), boss_zuljin::SpellHit(), npc_zuljin_spirit::SpellHit(), npc_harrison_jones::npc_harrison_jonesAI::SpellHit(), npc_omen::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_kerlonian::npc_kerlonianAI::SpellHit(), npc_taskmaster_fizzule::npc_taskmaster_fizzuleAI::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(), npc_death_knight_initiate::npc_death_knight_initiateAI::SpellHit(), npc_restless_soul::npc_restless_soulAI::SpellHit(), boss_felmyst::SpellHit(), boss_sathrovarr::SpellHit(), npc_zulian_prowler::SpellHit(), npc_troll_volunteer::SpellHit(), boss_ossirian::boss_ossirianAI::SpellHit(), boss_twinemperorsAI::SpellHit(), npc_aged_dying_ancient_kodo::npc_aged_dying_ancient_kodoAI::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(), boss_archmage_arugal::boss_archmage_arugalAI::SpellHitTarget(), npc_dark_fiend::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(), boss_felblood_kaelthas::SpellHitTarget(), npc_dark_rider_of_acherus::SpellHitTarget(), boss_high_inquisitor_whitemane::SpellHitTarget(), boss_zuljin::SpellHitTarget(), npc_zuljin_vortex::SpellHitTarget(), boss_epoch::boss_epochAI::SpellHitTarget(), boss_infinite_corruptor::boss_infinite_corruptorAI::SpellHitTarget(), boss_onyxia::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(), npc_simon_bunny::npc_simon_bunnyAI::SpellHitTarget(), boss_lethon::boss_lethonAI::SpellHitTarget(), SpellInfo(), SpellHistory::StartCooldown(), Spell::SummonGuardian(), Spell::TakeCastItem(), Spell::TakePower(), Spell::TakeRunePower(), Pet::ToggleAutocast(), CharmInfo::ToggleCreatureAutocast(), Spell::TriggerGlobalCooldown(), GameObject::TriggeringLinkedGameObject(), Spell::update(), Spell::UpdateChanneledTargetList(), spell_gen_dalaran_disguise::Validate(), ObjectMgr::ValidateSpellScripts(), Spell::~Spell(), and SpellEvent::~SpellEvent().

◆ InterruptFlags

◆ ManaCost

◆ ManaCostPercentage

◆ ManaCostPerlevel

uint32 SpellInfo::ManaCostPerlevel

Definition at line 333 of file SpellInfo.h.

Referenced by SpellInfo().

◆ ManaPerSecond

uint32 SpellInfo::ManaPerSecond

◆ ManaPerSecondPerLevel

uint32 SpellInfo::ManaPerSecondPerLevel

Definition at line 335 of file SpellInfo.h.

Referenced by Aura::Aura(), Aura::RefreshDuration(), SpellInfo(), and Aura::Update().

◆ MaxAffectedTargets

uint32 SpellInfo::MaxAffectedTargets

◆ MaxLevel

◆ MaxTargetLevel

uint32 SpellInfo::MaxTargetLevel

Definition at line 354 of file SpellInfo.h.

Referenced by SpellInfo().

◆ Mechanic

◆ PowerType

◆ PreventionType

◆ Priority

uint32 SpellInfo::Priority

Definition at line 351 of file SpellInfo.h.

Referenced by Player::ApplySpellMod(), and SpellInfo().

◆ ProcChance

uint32 SpellInfo::ProcChance

Definition at line 325 of file SpellInfo.h.

Referenced by Player::CastItemCombatSpell(), SpellMgr::LoadSpellProcs(), and SpellInfo().

◆ ProcCharges

uint32 SpellInfo::ProcCharges

◆ ProcFlags

uint32 SpellInfo::ProcFlags

◆ RangeEntry

◆ Rank

std::array<char const*, 16> SpellInfo::Rank

Definition at line 353 of file SpellInfo.h.

Referenced by SpellInfo().

◆ Reagent

◆ ReagentCount

std::array<uint32, MAX_SPELL_REAGENTS> SpellInfo::ReagentCount

◆ RecoveryTime

◆ RequiredAreasID

int32 SpellInfo::RequiredAreasID

Definition at line 360 of file SpellInfo.h.

Referenced by Spell::CheckCast(), CheckLocation(), and SpellInfo().

◆ RequiresSpellFocus

uint32 SpellInfo::RequiresSpellFocus

◆ RuneCostID

uint32 SpellInfo::RuneCostID

◆ SchoolMask

◆ Speed

◆ SpellFamilyFlags

flag96 SpellInfo::SpellFamilyFlags

Definition at line 357 of file SpellInfo.h.

Referenced by _isPositiveEffectImpl(), _LoadAuraState(), _LoadSpellDiminishInfo(), _LoadSpellSpecific(), Player::CanNoReagentCast(), Spell::CheckItems(), spell_dru_eclipse::CheckLunar(), spell_gen_black_magic::CheckProc(), spell_hun_glyph_of_arcane_shot::CheckProc(), spell_mage_missile_barrage::CheckProc(), spell_pal_item_t6_trinket::CheckProc(), spell_sha_imp_water_shield::CheckProc(), spell_pri_body_and_soul::CheckProcTriggerSpell(), spell_dru_eclipse::CheckSolar(), Spell::EffectEnchantItemTmp(), Spell::EffectHeal(), Spell::EffectSchoolDMG(), Spell::EffectWeaponDmg(), Unit::GetAuraEffect(), Unit::GetAuraEffect(), spell_rog_deadly_poison::HandleAfterHit(), Aura::HandleAuraSpecificMods(), spell_rog_preparation::HandleDummy(), AuraEffect::HandlePeriodicManaLeechAuraTick(), spell_mage_glyph_of_ice_block::HandleProc(), spell_dk_threat_of_thassarian::HandleProc(), spell_dru_item_t6_trinket::HandleProc(), spell_hun_thrill_of_the_hunt::HandleProc(), spell_pal_illumination::HandleProc(), spell_sha_lightning_overload::HandleProc(), spell_sha_item_t6_trinket::HandleProc(), spell_hun_rapid_recuperation_trigger::HandleRapidFireProc(), spell_hun_rapid_recuperation_trigger::HandleRapidKillingProc(), spell_dk_glyph_of_scourge_strike_script::HandleScriptEffect(), spell_hun_chimera_shot::HandleScriptEffect(), IsAffected(), IsRangedWeaponSpell(), IsStackableWithRanks(), SpellMgr::LoadSpellInfoCorrections(), Unit::MeleeDamageBonusDone(), Unit::MeleeDamageBonusTaken(), WorldObject::ModSpellDuration(), Spell::prepareDataForTriggerSystem(), spell_dru_enrage::RecalculateBaseArmor(), Unit::RemoveAurasWithFamily(), Unit::SpellCritChanceTaken(), Unit::SpellDamagePctDone(), Unit::SpellHealingBonusTaken(), Unit::SpellHealingPctDone(), npc_draenei_survivor::npc_draenei_survivorAI::SpellHit(), and SpellInfo().

◆ SpellFamilyName

uint32 SpellInfo::SpellFamilyName

Definition at line 356 of file SpellInfo.h.

Referenced by _isPositiveEffectImpl(), _LoadAuraState(), _LoadSpellDiminishInfo(), _LoadSpellSpecific(), Unit::CalculateAverageResistReduction(), Aura::CanStackWith(), Spell::CheckCast(), Spell::CheckItems(), spell_gen_black_magic::CheckProc(), spell_hun_glyph_of_arcane_shot::CheckProc(), spell_mage_dragon_breath::CheckProc(), CheckTargetCreatureType(), Spell::EffectEnchantItemTmp(), Spell::EffectEnergize(), Spell::EffectHeal(), Spell::EffectSchoolDMG(), Spell::EffectScriptEffect(), Spell::EffectWeaponDmg(), Unit::GetAuraEffect(), Unit::GetAuraEffect(), spell_rog_deadly_poison::HandleAfterHit(), AuraEffect::HandleAuraDummy(), AuraEffect::HandleAuraModShapeshift(), Aura::HandleAuraSpecificMods(), spell_hun_readiness::HandleDummy(), spell_mage_cold_snap::HandleDummy(), spell_rog_preparation::HandleDummy(), Spell::HandleLaunchPhase(), AuraEffect::HandlePeriodicDamageAurasTick(), AuraEffect::HandlePeriodicManaLeechAuraTick(), spell_mage_glyph_of_ice_block::HandleProc(), spell_dk_glyph_of_scourge_strike_script::HandleScriptEffect(), IsAffected(), IsAffectedBySpellMod(), AuraEffect::IsAffectingSpell(), IsRangedWeaponSpell(), IsStackableWithRanks(), SpellMgr::LoadSpellInfoCorrections(), Unit::MeleeDamageBonusDone(), Unit::MeleeDamageBonusTaken(), WorldObject::ModSpellCastTime(), WorldObject::ModSpellDuration(), WorldObject::ModSpellDurationTime(), Trinity::AbsorbAuraOrderPred::operator()(), Spell::prepareDataForTriggerSystem(), spell_dru_enrage::RecalculateBaseArmor(), Unit::RemoveAurasWithFamily(), Player::ResetSpells(), Unit::SpellCritChanceTaken(), Unit::SpellDamageBonusDone(), Unit::SpellDamagePctDone(), Unit::SpellHealingBonusDone(), Unit::SpellHealingBonusTaken(), Unit::SpellHealingPctDone(), and SpellInfo().

◆ SpellIconID

◆ SpellLevel

◆ SpellName

◆ SpellVisual

◆ StackAmount

◆ Stances

◆ StancesNot

uint64 SpellInfo::StancesNot

Definition at line 303 of file SpellInfo.h.

Referenced by CheckShapeshift(), and SpellInfo().

◆ StartRecoveryCategory

◆ StartRecoveryTime

◆ TargetAuraSpell

uint32 SpellInfo::TargetAuraSpell

Definition at line 313 of file SpellInfo.h.

Referenced by CheckTarget(), and SpellInfo().

◆ TargetAuraState

uint32 SpellInfo::TargetAuraState

Definition at line 309 of file SpellInfo.h.

Referenced by CheckTarget(), Spell::EffectHeal(), Spell::EffectSchoolDMG(), and SpellInfo().

◆ TargetCreatureType

uint32 SpellInfo::TargetCreatureType

Definition at line 305 of file SpellInfo.h.

Referenced by CheckTargetCreatureType(), and SpellInfo().

◆ Targets

uint32 SpellInfo::Targets

Definition at line 304 of file SpellInfo.h.

Referenced by _InitializeExplicitTargetMask().

◆ Totem

std::array<uint32, 2> SpellInfo::Totem

Definition at line 341 of file SpellInfo.h.

Referenced by Spell::CheckItems(), and FillSpellCastFailedArgs().

◆ TotemCategory

std::array<uint32, 2> SpellInfo::TotemCategory

Definition at line 347 of file SpellInfo.h.

Referenced by Spell::CheckItems(), and FillSpellCastFailedArgs().


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