Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
SpellInfo Class Reference

#include <SpellInfo.h>

Collaboration diagram for SpellInfo:

Public Member Functions

void _InitializeExplicitTargetMask ()
bool _IsPositiveEffect (uint8 effIndex, bool deep) const
bool _IsPositiveSpell () const
void _UnloadImplicitTargetConditionLists ()
uint32 CalcCastTime (uint8 level=0, Spell *spell=NULL) const
bool CanBeUsedInCombat () const
bool CanDispelAura (SpellInfo const *aura) const
bool CanPierceImmuneAura (SpellInfo const *aura) const
SpellCastResult CheckExplicitTarget (Unit const *caster, WorldObject const *target, Item const *itemTarget=NULL) const
SpellCastResult CheckLocation (uint32 map_id, uint32 zone_id, uint32 area_id, Player const *player=NULL) const
SpellCastResult CheckShapeshift (uint32 form) const
SpellCastResult CheckTarget (Unit const *caster, WorldObject const *target, bool implicit=true) const
bool CheckTargetCreatureType (Unit const *target) const
SpellCastResult CheckVehicle (Unit const *caster) const
uint32 GetAllEffectsMechanicMask () const
SpellInfo const * GetAuraRankForLevel (uint8 level) const
AuraStateType GetAuraState () const
uint32 GetCategory () const
uint32 GetDispelMask () const
int32 GetDuration () const
Mechanics GetEffectMechanic (uint8 effIndex) const
uint32 GetEffectMechanicMask (uint8 effIndex) const
uint32 GetExplicitTargetMask () const
SpellInfo const * GetFirstRankSpell () const
SpellInfo const * GetLastRankSpell () const
int32 GetMaxDuration () const
float GetMaxRange (bool positive=false, Unit *caster=NULL, Spell *spell=NULL) const
uint32 GetMaxTicks () const
float GetMinRange (bool positive=false) const
SpellInfo const * GetNextRankSpell () const
SpellInfo const * GetPrevRankSpell () const
uint8 GetRank () const
uint32 GetRecoveryTime () const
SpellSchoolMask GetSchoolMask () const
SpellAuraOptionsEntry const * GetSpellAuraOptions () const
SpellAuraRestrictionsEntry const * GetSpellAuraRestrictions () const
SpellCastingRequirementsEntry const * GetSpellCastingRequirements () const
SpellCategoriesEntry const * GetSpellCategories () const
SpellClassOptionsEntry const * GetSpellClassOptions () const
SpellCooldownsEntry const * GetSpellCooldowns () const
SpellEquippedItemsEntry const * GetSpellEquippedItems () const
SpellInterruptsEntry const * GetSpellInterrupts () const
SpellLevelsEntry const * GetSpellLevels () const
uint32 GetSpellMechanicMaskByEffectMask (uint32 effectMask) const
SpellReagentsEntry const * GetSpellReagents () const
SpellScalingEntry const * GetSpellScaling () const
SpellShapeshiftEntry const * GetSpellShapeshift () const
SpellSpecificType GetSpellSpecific () const
SpellTargetRestrictionsEntry const * GetSpellTargetRestrictions () const
SpellTotemsEntry const * GetSpellTotems () const
bool HasAnyEffectMechanic () const
bool HasAreaAuraEffect () const
bool HasAura (AuraType aura) const
bool HasEffect (SpellEffects effect) const
bool IsAbilityLearnedWithProfession () const
bool IsAbilityOfSkillType (uint32 skillType) const
bool IsAffectedBySpellMod (SpellModifier const *mod) const
bool IsAffectedBySpellMods () const
bool IsAffectingArea () const
bool IsAllowingDeadTarget () const
bool IsAuraExclusiveBySpecificPerCasterWith (SpellInfo const *spellInfo) const
bool IsAuraExclusiveBySpecificWith (SpellInfo const *spellInfo) const
bool IsAutocastable () const
bool IsAutoRepeatRangedSpell () const
bool IsBreakingStealth () const
bool IsChanneled () const
bool IsCooldownStartedOnEvent () const
bool IsDeathPersistent () const
bool IsDifferentRankOf (SpellInfo const *spellInfo) const
bool IsExplicitDiscovery () const
bool IsHighRankOf (SpellInfo const *spellInfo) const
bool IsLootCrafting () const
bool IsMultiSlotAura () const
bool IsPassive () const
bool IsPassiveStackableWithRanks () const
bool IsPositive () const
bool IsPositiveEffect (uint8 effIndex) const
bool IsPrimaryProfession () const
bool IsPrimaryProfessionFirstRank () const
bool IsProfession () const
bool IsProfessionOrRiding () const
bool IsQuestTame () const
bool IsRangedWeaponSpell () const
bool IsRanked () const
bool IsRankOf (SpellInfo const *spellInfo) const
bool IsRequiringDeadTarget () const
bool IsSingleTarget () const
bool IsStackableOnOneSlotWithDifferentCasters () const
bool IsStackableWithRanks () const
bool IsTargetingArea () const
bool NeedsComboPoints () const
bool NeedsExplicitUnitTarget () const
bool NeedsToBeTriggeredByCaster (SpellInfo const *triggeringSpell) const
 SpellInfo (SpellEntry const *spellEntry, SpellEffectEntry const **effects)
 ~SpellInfo ()

Static Public Member Functions

static bool _IsPositiveTarget (uint32 targetA, uint32 targetB)
static uint32 GetDispelMask (DispelType type)

Public Attributes

uint32 ActiveIconID
int32 AreaGroupId
uint32 Attributes
uint32 AttributesCu
uint32 AttributesEx
uint32 AttributesEx2
uint32 AttributesEx3
uint32 AttributesEx4
uint32 AttributesEx5
uint32 AttributesEx6
uint32 AttributesEx7
uint32 AttributesEx8
uint32 AttributesEx9
uint32 AuraInterruptFlags
uint32 BaseLevel
uint32 CasterAuraSpell
uint32 CasterAuraState
uint32 CasterAuraStateNot
SpellCastTimesEntry const * CastTimeEntry
int32 CastTimeMax
int32 CastTimeMaxLevel
int32 CastTimeMin
SpellCategoryEntry const * CategoryEntry
uint32 CategoryRecoveryTime
SpellChainNode const * ChainEntry
uint32 ChannelInterruptFlags
float CoefBase
int32 CoefLevelBase
uint32 Dispel
uint32 DmgClass
SpellDurationEntry const * DurationEntry
SpellEffectInfo Effects [MAX_SPELL_EFFECTS]
int32 EquippedItemClass
int32 EquippedItemInventoryTypeMask
int32 EquippedItemSubClassMask
uint32 ExcludeCasterAuraSpell
uint32 ExcludeTargetAuraSpell
uint32 ExplicitTargetMask
uint32 FacingCasterFlags
uint32 Id
uint32 InterruptFlags
uint32 MaxAffectedTargets
uint32 MaxLevel
uint32 Mechanic
std::list< uint32OverrideSpellList
uint32 PreventionType
uint32 ProcChance
uint32 ProcCharges
uint32 ProcFlags
SpellRangeEntry const * RangeEntry
int32 Reagent [MAX_SPELL_REAGENTS]
uint32 ReagentCount [MAX_SPELL_REAGENTS]
uint32 RecoveryTime
uint32 RequiresSpellFocus
uint32 ResearchProject
uint32 RuneCostID
int32 ScalingClass
uint32 SchoolMask
std::list< uint32SpecializationIdList
float Speed
uint32 SpellAuraOptionsId
uint32 SpellAuraRestrictionsId
uint32 SpellCastingRequirementsId
uint32 SpellCategoriesId
uint32 SpellClassOptionsId
uint32 SpellCooldownsId
uint32 SpellEquippedItemsId
flag128 SpellFamilyFlags
uint32 SpellFamilyName
uint32 SpellIconID
uint32 SpellInterruptsId
uint32 SpellLevel
uint32 SpellLevelsId
char * SpellName
uint32 SpellReagentsId
uint32 SpellScalingId
uint32 SpellShapeshiftId
uint32 SpellTargetRestrictionsId
uint32 SpellTotemsId
uint32 SpellVisual [2]
uint32 StackAmount
uint32 Stances
uint32 StancesNot
uint32 StartRecoveryCategory
uint32 StartRecoveryTime
uint32 talentId
uint32 TargetAuraSpell
uint32 TargetAuraState
uint32 TargetAuraStateNot
uint32 TargetCreatureType
uint32 Targets
uint32 Totem [2]
uint32 TotemCategory [2]

Detailed Description

Definition at line 157 of file SpellInfo.h.

Constructor & Destructor Documentation

◆ SpellInfo()

SpellInfo::SpellInfo ( SpellEntry const * spellEntry,
SpellEffectEntry const ** effects )

Definition at line 549 of file SpellInfo.cpp.

References ActiveIconID, SpellMiscEntry::activeIconID, SpellCastingRequirementsEntry::AreaGroupId, AreaGroupId, Attributes, SpellMiscEntry::Attributes, AttributesCu, AttributesEx, SpellMiscEntry::AttributesEx, AttributesEx2, SpellMiscEntry::AttributesEx2, AttributesEx3, SpellMiscEntry::AttributesEx3, AttributesEx4, SpellMiscEntry::AttributesEx4, AttributesEx5, SpellMiscEntry::AttributesEx5, AttributesEx6, SpellMiscEntry::AttributesEx6, AttributesEx7, SpellMiscEntry::AttributesEx7, AttributesEx8, SpellMiscEntry::AttributesEx8, AttributesEx9, SpellMiscEntry::AttributesEx9, AuraInterruptFlags, SpellInterruptsEntry::AuraInterruptFlags, BaseLevel, SpellLevelsEntry::baseLevel, CasterAuraSpell, SpellAuraRestrictionsEntry::casterAuraSpell, SpellAuraRestrictionsEntry::CasterAuraState, CasterAuraState, SpellAuraRestrictionsEntry::CasterAuraStateNot, CasterAuraStateNot, SpellMiscEntry::CastingTimeIndex, CastTimeEntry, CastTimeMax, SpellScalingEntry::CastTimeMax, CastTimeMaxLevel, SpellScalingEntry::CastTimeMaxLevel, CastTimeMin, SpellScalingEntry::CastTimeMin, SpellCategoriesEntry::Category, CategoryEntry, SpellCooldownsEntry::CategoryRecoveryTime, CategoryRecoveryTime, ChainEntry, ChannelInterruptFlags, SpellInterruptsEntry::ChannelInterruptFlags, CoefBase, SpellScalingEntry::CoefBase, CoefLevelBase, SpellScalingEntry::CoefLevelBase, SpellCategoriesEntry::Dispel, Dispel, SpellCategoriesEntry::DmgClass, DmgClass, DurationEntry, SpellMiscEntry::DurationIndex, Effects, SpellEquippedItemsEntry::EquippedItemClass, EquippedItemClass, SpellEquippedItemsEntry::EquippedItemInventoryTypeMask, EquippedItemInventoryTypeMask, SpellEquippedItemsEntry::EquippedItemSubClassMask, EquippedItemSubClassMask, ExcludeCasterAuraSpell, SpellAuraRestrictionsEntry::excludeCasterAuraSpell, ExcludeTargetAuraSpell, SpellAuraRestrictionsEntry::excludeTargetAuraSpell, SpellCastingRequirementsEntry::FacingCasterFlags, FacingCasterFlags, GetSpellAuraOptions(), GetSpellAuraRestrictions(), GetSpellCastingRequirements(), GetSpellCategories(), GetSpellClassOptions(), GetSpellCooldowns(), GetSpellEquippedItems(), GetSpellInterrupts(), GetSpellLevels(), GetSpellReagents(), GetSpellScaling(), GetSpellShapeshift(), GetSpellTargetRestrictions(), GetSpellTotems(), SpellEntry::Id, Id, InterruptFlags, SpellInterruptsEntry::InterruptFlags, MAX_SPELL_EFFECTS, MAX_SPELL_REAGENTS, MaxAffectedTargets, SpellTargetRestrictionsEntry::MaxAffectedTargets, MaxLevel, SpellLevelsEntry::maxLevel, SpellCategoriesEntry::Mechanic, Mechanic, SpellCategoriesEntry::PreventionType, PreventionType, ProcChance, SpellAuraOptionsEntry::procChance, ProcCharges, SpellAuraOptionsEntry::procCharges, ProcFlags, SpellAuraOptionsEntry::procFlags, RangeEntry, SpellMiscEntry::rangeIndex, Reagent, SpellReagentsEntry::Reagent, ReagentCount, SpellReagentsEntry::ReagentCount, SpellCooldownsEntry::RecoveryTime, RecoveryTime, SpellCastingRequirementsEntry::RequiresSpellFocus, RequiresSpellFocus, SpellEntry::ResearchProject, ResearchProject, RuneCostID, SpellEntry::runeCostID, ScalingClass, SpellScalingEntry::ScalingClass, SchoolMask, SpellMiscEntry::SchoolMask, Speed, SpellMiscEntry::speed, SpellEntry::SpellAuraOptionsId, SpellAuraOptionsId, SpellEntry::SpellAuraRestrictionsId, SpellAuraRestrictionsId, SpellEntry::SpellCastingRequirementsId, SpellCastingRequirementsId, SpellEntry::SpellCategoriesId, SpellCategoriesId, SpellEntry::SpellClassOptionsId, SpellClassOptionsId, SpellEntry::SpellCooldownsId, SpellCooldownsId, SpellEntry::SpellEquippedItemsId, SpellEquippedItemsId, SpellClassOptionsEntry::SpellFamilyFlags, SpellFamilyFlags, SpellClassOptionsEntry::SpellFamilyName, SpellFamilyName, SpellIconID, SpellMiscEntry::SpellIconID, SpellEntry::SpellInterruptsId, SpellInterruptsId, SpellLevel, SpellLevelsEntry::spellLevel, SpellEntry::SpellLevelsId, SpellLevelsId, SpellEntry::SpellMiscId, SpellEntry::SpellName, SpellName, SpellEntry::SpellReagentsId, SpellReagentsId, SpellEntry::SpellScalingId, SpellScalingId, SpellEntry::SpellShapeshiftId, SpellShapeshiftId, SpellEntry::SpellTargetRestrictionsId, SpellTargetRestrictionsId, SpellEntry::SpellTotemsId, SpellTotemsId, SpellVisual, SpellMiscEntry::SpellVisual, sSpellCastTimesStore, sSpellCategoryStore, sSpellDurationStore, sSpellMiscStore, sSpellRangeStore, SpellAuraOptionsEntry::StackAmount, StackAmount, Stances, SpellShapeshiftEntry::Stances, StancesNot, SpellShapeshiftEntry::StancesNot, SpellCategoriesEntry::StartRecoveryCategory, StartRecoveryCategory, SpellCooldownsEntry::StartRecoveryTime, StartRecoveryTime, TargetAuraSpell, SpellAuraRestrictionsEntry::targetAuraSpell, SpellAuraRestrictionsEntry::TargetAuraState, TargetAuraState, SpellAuraRestrictionsEntry::TargetAuraStateNot, TargetAuraStateNot, TargetCreatureType, SpellTargetRestrictionsEntry::TargetCreatureType, Targets, SpellTargetRestrictionsEntry::Targets, Totem, SpellTotemsEntry::Totem, TotemCategory, and SpellTotemsEntry::TotemCategory.

Referenced by _IsPositiveEffect(), CanDispelAura(), CanPierceImmuneAura(), GetAuraRankForLevel(), GetFirstRankSpell(), GetLastRankSpell(), GetNextRankSpell(), GetPrevRankSpell(), GetSpellSpecific(), IsAffectedBySpellMod(), IsAuraExclusiveBySpecificPerCasterWith(), IsAuraExclusiveBySpecificWith(), IsDifferentRankOf(), IsHighRankOf(), IsRankOf(), and NeedsToBeTriggeredByCaster().

◆ ~SpellInfo()

SpellInfo::~SpellInfo ( )

Definition at line 736 of file SpellInfo.cpp.

References _UnloadImplicitTargetConditionLists().

Member Function Documentation

◆ _InitializeExplicitTargetMask()

◆ _IsPositiveEffect()

bool SpellInfo::_IsPositiveEffect ( uint8 effIndex,
bool deep ) const

Definition at line 2207 of file SpellInfo.cpp.

References _IsPositiveTarget(), Attributes, Effects, Id, MAX_SPELL_EFFECTS, Mechanic, MECHANIC_BANDAGE, MECHANIC_IMMUNE_SHIELD, MECHANIC_INVULNERABILITY, MECHANIC_MOUNT, MECHANIC_SHIELD, SPELL_ATTR0_NEGATIVE_1, SPELL_AURA_ADD_TARGET_TRIGGER, SPELL_AURA_GHOST, SPELL_AURA_MECHANIC_IMMUNITY, SPELL_AURA_MOD_CRIT_PCT, SPELL_AURA_MOD_DAMAGE_DONE, SPELL_AURA_MOD_DAMAGE_PERCENT_DONE, SPELL_AURA_MOD_DAMAGE_TAKEN, SPELL_AURA_MOD_DECREASE_SPEED, SPELL_AURA_MOD_DODGE_PERCENT, SPELL_AURA_MOD_HEALING_DONE, SPELL_AURA_MOD_HEALING_PCT, SPELL_AURA_MOD_PACIFY_SILENCE, SPELL_AURA_MOD_ROOT, SPELL_AURA_MOD_SILENCE, SPELL_AURA_MOD_SKILL, SPELL_AURA_MOD_SPELL_CRIT_CHANCE, SPELL_AURA_MOD_STALKED, SPELL_AURA_MOD_STAT, SPELL_AURA_MOD_STEALTH, SPELL_AURA_MOD_STUN, SPELL_AURA_PERIODIC_DAMAGE, SPELL_AURA_PERIODIC_DAMAGE_PERCENT, SPELL_AURA_PERIODIC_LEECH, SPELL_AURA_PERIODIC_TRIGGER_SPELL, SPELL_AURA_PERIODIC_TRIGGER_SPELL_WITH_VALUE, SPELL_AURA_PREVENT_RESURRECTION, SPELL_AURA_PROC_TRIGGER_SPELL, SPELL_EFFECT_APPLY_AREA_AURA_ENEMY, SPELL_EFFECT_APPLY_AREA_AURA_FRIEND, SPELL_EFFECT_APPLY_AURA, SPELL_EFFECT_DUMMY, SPELL_EFFECT_ENERGIZE_PCT, SPELL_EFFECT_HEAL, SPELL_EFFECT_HEAL_PCT, SPELL_EFFECT_LEARN_SPELL, SPELL_EFFECT_SKILL_STEP, SPELLFAMILY_GENERIC, SPELLFAMILY_MAGE, SPELLFAMILY_PRIEST, SPELLFAMILY_ROGUE, SpellFamilyName, SpellIconID, SpellInfo(), sSpellMgr, and TARGET_UNIT_CASTER.

Referenced by _IsPositiveSpell(), and SpellMgr::LoadSpellInfoCustomAttributes().

◆ _IsPositiveSpell()

bool SpellInfo::_IsPositiveSpell ( ) const

Definition at line 2415 of file SpellInfo.cpp.

References _IsPositiveEffect(), and MAX_SPELL_EFFECTS.

◆ _IsPositiveTarget()

◆ _UnloadImplicitTargetConditionLists()

void SpellInfo::_UnloadImplicitTargetConditionLists ( )

Definition at line 2517 of file SpellInfo.cpp.

References Effects, and MAX_SPELL_EFFECTS.

Referenced by ~SpellInfo().

◆ CalcCastTime()

◆ CanBeUsedInCombat()

bool SpellInfo::CanBeUsedInCombat ( ) const

Definition at line 1010 of file SpellInfo.cpp.

References Attributes, and SPELL_ATTR0_CANT_USED_IN_COMBAT.

Referenced by PetAI::UpdateAI().

◆ CanDispelAura()

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

◆ CanPierceImmuneAura()

◆ CheckExplicitTarget()

◆ CheckLocation()

◆ CheckShapeshift()

◆ CheckTarget()

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

Definition at line 1391 of file SpellInfo.cpp.

References AttributesCu, AttributesEx, AttributesEx2, AttributesEx3, AttributesEx6, BASE_ATTACK, Unit::CanFreeMove(), WorldObject::CanSeeOrDetect(), CheckTargetCreatureType(), CORPSE_BONES, CREATURE_TYPEMASK_HUMANOID_OR_UNDEAD, ExcludeTargetAuraSpell, ObjectAccessor::FindPlayer(), Unit::GetCharmerOrOwner(), Unit::GetCreatureTypeMask(), Object::GetTypeId(), Object::GetUInt32Value(), Player::GetWeaponForAttack(), Unit::HasAura(), Unit::HasAuraState(), Unit::HasAuraType(), HasEffect(), Unit::HasUnitState(), Unit::IsAlive(), IsAllowingDeadTarget(), Unit::IsControlledByPlayer(), Player::IsGameMaster(), Unit::IsInCombat(), IsPositive(), Player::IsUseEquipedWeapon(), Unit::IsVehicle(), Unit::IsVisible(), Mechanic, MECHANIC_DISARM, 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_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, TargetAuraStateNot, Object::ToCorpse(), Object::ToCreature(), Object::ToPlayer(), Object::ToUnit(), TYPEID_PLAYER, UNIT_FIELD_VIRTUAL_ITEM_ID, and UNIT_STATE_IN_FLIGHT.

Referenced by Unit::GetMagicHitRedirectTarget(), and Unit::GetMeleeHitRedirectTarget().

◆ CheckTargetCreatureType()

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

◆ CheckVehicle()

◆ GetAllEffectsMechanicMask()

◆ GetAuraRankForLevel()

◆ GetAuraState()

◆ GetCategory()

◆ GetDispelMask() [1/2]

◆ GetDispelMask() [2/2]

uint32 SpellInfo::GetDispelMask ( DispelType type)
static

Definition at line 1701 of file SpellInfo.cpp.

References Skyfire::Spells::GetDispelMask().

◆ GetDuration()

◆ GetEffectMechanic()

Mechanics SpellInfo::GetEffectMechanic ( uint8 effIndex) const

Definition at line 1679 of file SpellInfo.cpp.

References Effects, Mechanic, and MECHANIC_NONE.

Referenced by Unit::GetMechanicResistChance(), and Unit::MeleeSpellHitResult().

◆ GetEffectMechanicMask()

uint32 SpellInfo::GetEffectMechanicMask ( uint8 effIndex) const

Definition at line 1660 of file SpellInfo.cpp.

References Effects, Skyfire::Spells::GetMechanicMask(), and Mechanic.

Referenced by Unit::IsDamageReducedByArmor().

◆ GetExplicitTargetMask()

uint32 SpellInfo::GetExplicitTargetMask ( ) const

◆ GetFirstRankSpell()

◆ GetLastRankSpell()

SpellInfo const * SpellInfo::GetLastRankSpell ( ) const

Definition at line 2098 of file SpellInfo.cpp.

References ChainEntry, and SpellInfo().

◆ GetMaxDuration()

◆ GetMaxRange()

◆ GetMaxTicks()

◆ GetMinRange()

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

◆ GetNextRankSpell()

SpellInfo const * SpellInfo::GetNextRankSpell ( ) const

◆ GetPrevRankSpell()

SpellInfo const * SpellInfo::GetPrevRankSpell ( ) const

Definition at line 2110 of file SpellInfo.cpp.

References ChainEntry, and SpellInfo().

◆ GetRank()

◆ GetRecoveryTime()

uint32 SpellInfo::GetRecoveryTime ( ) const

◆ GetSchoolMask()

◆ GetSpellAuraOptions()

SpellAuraOptionsEntry const * SpellInfo::GetSpellAuraOptions ( ) const

Definition at line 2487 of file SpellInfo.cpp.

References SpellAuraOptionsId, and sSpellAuraOptionsStore.

Referenced by SpellInfo().

◆ GetSpellAuraRestrictions()

SpellAuraRestrictionsEntry const * SpellInfo::GetSpellAuraRestrictions ( ) const

Definition at line 2492 of file SpellInfo.cpp.

References SpellAuraRestrictionsId, and sSpellAuraRestrictionsStore.

Referenced by SpellInfo().

◆ GetSpellCastingRequirements()

SpellCastingRequirementsEntry const * SpellInfo::GetSpellCastingRequirements ( ) const

Definition at line 2497 of file SpellInfo.cpp.

References SpellCastingRequirementsId, and sSpellCastingRequirementsStore.

Referenced by SpellInfo().

◆ GetSpellCategories()

SpellCategoriesEntry const * SpellInfo::GetSpellCategories ( ) const

Definition at line 2502 of file SpellInfo.cpp.

References SpellCategoriesId, and sSpellCategoriesStore.

Referenced by SpellInfo().

◆ GetSpellClassOptions()

SpellClassOptionsEntry const * SpellInfo::GetSpellClassOptions ( ) const

Definition at line 2507 of file SpellInfo.cpp.

References SpellClassOptionsId, and sSpellClassOptionsStore.

Referenced by SpellInfo().

◆ GetSpellCooldowns()

SpellCooldownsEntry const * SpellInfo::GetSpellCooldowns ( ) const

Definition at line 2512 of file SpellInfo.cpp.

References SpellCooldownsId, and sSpellCooldownsStore.

Referenced by SpellInfo().

◆ GetSpellEquippedItems()

SpellEquippedItemsEntry const * SpellInfo::GetSpellEquippedItems ( ) const

Definition at line 2452 of file SpellInfo.cpp.

References SpellEquippedItemsId, and sSpellEquippedItemsStore.

Referenced by SpellInfo().

◆ GetSpellInterrupts()

SpellInterruptsEntry const * SpellInfo::GetSpellInterrupts ( ) const

Definition at line 2457 of file SpellInfo.cpp.

References SpellInterruptsId, and sSpellInterruptsStore.

Referenced by SpellInfo().

◆ GetSpellLevels()

SpellLevelsEntry const * SpellInfo::GetSpellLevels ( ) const

Definition at line 2462 of file SpellInfo.cpp.

References SpellLevelsId, and sSpellLevelsStore.

Referenced by SpellInfo().

◆ GetSpellMechanicMaskByEffectMask()

uint32 SpellInfo::GetSpellMechanicMaskByEffectMask ( uint32 effectMask) const

◆ GetSpellReagents()

SpellReagentsEntry const * SpellInfo::GetSpellReagents ( ) const

Definition at line 2467 of file SpellInfo.cpp.

References SpellReagentsId, and sSpellReagentsStore.

Referenced by SpellInfo().

◆ GetSpellScaling()

SpellScalingEntry const * SpellInfo::GetSpellScaling ( ) const

Definition at line 2472 of file SpellInfo.cpp.

References SpellScalingId, and sSpellScalingStore.

Referenced by SpellInfo().

◆ GetSpellShapeshift()

SpellShapeshiftEntry const * SpellInfo::GetSpellShapeshift ( ) const

Definition at line 2477 of file SpellInfo.cpp.

References SpellShapeshiftId, and sSpellShapeshiftStore.

Referenced by SpellInfo().

◆ GetSpellSpecific()

SpellSpecificType SpellInfo::GetSpellSpecific ( ) const

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

Definition at line 1771 of file SpellInfo.cpp.

References AURA_INTERRUPT_FLAG_NOT_SEATED, AuraInterruptFlags, Dispel, DISPEL_CURSE, DISPEL_POISON, Effects, GetFirstRankSpell(), Id, MAX_SPELL_EFFECTS, SPELL_AURA_AOE_CHARM, SPELL_AURA_MOD_CHARM, SPELL_AURA_MOD_CONFUSE, SPELL_AURA_MOD_POSSESS, SPELL_AURA_MOD_POSSESS_PET, SPELL_AURA_MOD_POWER_REGEN, SPELL_AURA_MOD_REGEN, SPELL_AURA_OBS_MOD_HEALTH, SPELL_AURA_OBS_MOD_POWER, SPELL_AURA_TRACK_CREATURES, SPELL_AURA_TRACK_RESOURCES, SPELL_AURA_TRACK_STEALTHED, SPELL_EFFECT_APPLY_AURA, SPELL_SPECIFIC_ASPECT, SPELL_SPECIFIC_AURA, SPELL_SPECIFIC_BANE, SPELL_SPECIFIC_CHARM, SPELL_SPECIFIC_CURSE, SPELL_SPECIFIC_DRINK, SPELL_SPECIFIC_ELEMENTAL_SHIELD, SPELL_SPECIFIC_FOOD, SPELL_SPECIFIC_FOOD_AND_DRINK, SPELL_SPECIFIC_HAND, SPELL_SPECIFIC_JUDGEMENT, SPELL_SPECIFIC_MAGE_ARCANE_BRILLANCE, SPELL_SPECIFIC_MAGE_ARMOR, SPELL_SPECIFIC_MAGE_POLYMORPH, SPELL_SPECIFIC_NORMAL, SPELL_SPECIFIC_PRESENCE, SPELL_SPECIFIC_SCROLL, SPELL_SPECIFIC_SEAL, SPELL_SPECIFIC_STING, SPELL_SPECIFIC_TRACKER, SPELL_SPECIFIC_WARLOCK_ARMOR, SPELL_SPECIFIC_WARLOCK_CORRUPTION, SPELL_SPECIFIC_WARRIOR_ENRAGE, SPELLFAMILY_DEATHKNIGHT, SPELLFAMILY_GENERIC, SPELLFAMILY_HUNTER, SPELLFAMILY_MAGE, SPELLFAMILY_PALADIN, SPELLFAMILY_SHAMAN, SPELLFAMILY_WARLOCK, SPELLFAMILY_WARRIOR, SpellFamilyFlags, SpellFamilyName, and SpellInfo().

Referenced by Spell::EffectScriptEffect(), GetAuraState(), Unit::HandleDummyAuraProc(), IsAuraExclusiveBySpecificPerCasterWith(), IsAuraExclusiveBySpecificWith(), Unit::IsPolymorphed(), IsSingleTarget(), and Aura::IsSingleTargetWith().

◆ GetSpellTargetRestrictions()

SpellTargetRestrictionsEntry const * SpellInfo::GetSpellTargetRestrictions ( ) const

Definition at line 2447 of file SpellInfo.cpp.

References SpellTargetRestrictionsId, and sSpellTargetRestrictionsStore.

Referenced by SpellInfo().

◆ GetSpellTotems()

SpellTotemsEntry const * SpellInfo::GetSpellTotems ( ) const

Definition at line 2482 of file SpellInfo.cpp.

References SpellTotemsId, and sSpellTotemsStore.

Referenced by SpellInfo().

◆ HasAnyEffectMechanic()

bool SpellInfo::HasAnyEffectMechanic ( ) const

Definition at line 1688 of file SpellInfo.cpp.

References Effects, MAX_SPELL_EFFECTS, and Mechanic.

◆ HasAreaAuraEffect()

bool SpellInfo::HasAreaAuraEffect ( ) const

Definition at line 762 of file SpellInfo.cpp.

References Effects, and MAX_SPELL_EFFECTS.

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

◆ HasAura()

◆ HasEffect()

◆ IsAbilityLearnedWithProfession()

bool SpellInfo::IsAbilityLearnedWithProfession ( ) const

◆ IsAbilityOfSkillType()

bool SpellInfo::IsAbilityOfSkillType ( uint32 skillType) const

Definition at line 858 of file SpellInfo.cpp.

References Id, and sSpellMgr.

Referenced by learn_commandscript::HandleLearnAllGMCommand(), and Item::IsFitToSpellRequirements().

◆ IsAffectedBySpellMod()

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

◆ IsAffectedBySpellMods()

bool SpellInfo::IsAffectedBySpellMods ( ) const

Definition at line 1060 of file SpellInfo.cpp.

References AttributesEx3, and SPELL_ATTR3_NO_DONE_BONUS.

Referenced by IsAffectedBySpellMod().

◆ IsAffectingArea()

bool SpellInfo::IsAffectingArea ( ) const

◆ IsAllowingDeadTarget()

◆ IsAuraExclusiveBySpecificPerCasterWith()

◆ IsAuraExclusiveBySpecificWith()

◆ IsAutocastable()

◆ IsAutoRepeatRangedSpell()

bool SpellInfo::IsAutoRepeatRangedSpell ( ) const

◆ IsBreakingStealth()

bool SpellInfo::IsBreakingStealth ( ) const

Definition at line 1044 of file SpellInfo.cpp.

References AttributesEx, and SPELL_ATTR1_NOT_BREAK_STEALTH.

◆ IsChanneled()

◆ IsCooldownStartedOnEvent()

◆ IsDeathPersistent()

bool SpellInfo::IsDeathPersistent ( ) const

◆ IsDifferentRankOf()

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

Definition at line 2159 of file SpellInfo.cpp.

References Id, IsRankOf(), and SpellInfo().

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

◆ IsExplicitDiscovery()

bool SpellInfo::IsExplicitDiscovery ( ) const

◆ IsHighRankOf()

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

Definition at line 2166 of file SpellInfo.cpp.

References ChainEntry, SpellChainNode::first, SpellChainNode::rank, and SpellInfo().

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

◆ IsLootCrafting()

bool SpellInfo::IsLootCrafting ( ) const

◆ IsMultiSlotAura()

bool SpellInfo::IsMultiSlotAura ( ) const

Definition at line 979 of file SpellInfo.cpp.

References Id, and IsPassive().

Referenced by Unit::_TryStackingOrRefreshingExistingAura().

◆ IsPassive()

◆ IsPassiveStackableWithRanks()

bool SpellInfo::IsPassiveStackableWithRanks ( ) const

Definition at line 974 of file SpellInfo.cpp.

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

Referenced by Unit::_RemoveNoStackAurasDueToAura().

◆ IsPositive()

◆ IsPositiveEffect()

bool SpellInfo::IsPositiveEffect ( uint8 effIndex) const

◆ IsPrimaryProfession()

bool SpellInfo::IsPrimaryProfession ( ) const

◆ IsPrimaryProfessionFirstRank()

bool SpellInfo::IsPrimaryProfessionFirstRank ( ) const

◆ IsProfession()

bool SpellInfo::IsProfession ( ) const

◆ IsProfessionOrRiding()

bool SpellInfo::IsProfessionOrRiding ( ) const

◆ IsQuestTame()

bool SpellInfo::IsQuestTame ( ) const

Definition at line 786 of file SpellInfo.cpp.

References Effects, SPELL_AURA_DUMMY, SPELL_EFFECT_APPLY_AURA, and SPELL_EFFECT_THREAT.

◆ IsRangedWeaponSpell()

bool SpellInfo::IsRangedWeaponSpell ( ) const

◆ IsRanked()

◆ IsRankOf()

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

◆ IsRequiringDeadTarget()

bool SpellInfo::IsRequiringDeadTarget ( ) const

◆ IsSingleTarget()

bool SpellInfo::IsSingleTarget ( ) const

◆ IsStackableOnOneSlotWithDifferentCasters()

bool SpellInfo::IsStackableOnOneSlotWithDifferentCasters ( ) const

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

Definition at line 984 of file SpellInfo.cpp.

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

Referenced by Unit::_TryStackingOrRefreshingExistingAura().

◆ IsStackableWithRanks()

◆ IsTargetingArea()

bool SpellInfo::IsTargetingArea ( ) const

Definition at line 878 of file SpellInfo.cpp.

References Effects, IsTargetingArea(), and MAX_SPELL_EFFECTS.

Referenced by IsAffectingArea(), and IsTargetingArea().

◆ NeedsComboPoints()

bool SpellInfo::NeedsComboPoints ( ) const

◆ NeedsExplicitUnitTarget()

bool SpellInfo::NeedsExplicitUnitTarget ( ) const

◆ NeedsToBeTriggeredByCaster()

Member Data Documentation

◆ ActiveIconID

uint32 SpellInfo::ActiveIconID

Definition at line 221 of file SpellInfo.h.

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

◆ AreaGroupId

int32 SpellInfo::AreaGroupId

Definition at line 230 of file SpellInfo.h.

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

◆ Attributes

◆ AttributesCu

◆ AttributesEx

◆ AttributesEx2

◆ AttributesEx3

◆ AttributesEx4

◆ AttributesEx5

◆ AttributesEx6

◆ AttributesEx7

◆ AttributesEx8

◆ AttributesEx9

uint32 SpellInfo::AttributesEx9

Definition at line 173 of file SpellInfo.h.

Referenced by CalcCastTime(), Spell::EffectCastButtons(), and SpellInfo().

◆ AuraInterruptFlags

◆ BaseLevel

uint32 SpellInfo::BaseLevel

Definition at line 205 of file SpellInfo.h.

Referenced by WorldSession::HandleCastSpellOpcode(), and SpellInfo().

◆ CasterAuraSpell

uint32 SpellInfo::CasterAuraSpell

Definition at line 189 of file SpellInfo.h.

Referenced by SpellInfo().

◆ CasterAuraState

uint32 SpellInfo::CasterAuraState

◆ CasterAuraStateNot

uint32 SpellInfo::CasterAuraStateNot

Definition at line 187 of file SpellInfo.h.

Referenced by SpellInfo().

◆ CastTimeEntry

SpellCastTimesEntry const* SpellInfo::CastTimeEntry

Definition at line 193 of file SpellInfo.h.

Referenced by CalcCastTime(), and SpellInfo().

◆ CastTimeMax

int32 SpellInfo::CastTimeMax

Definition at line 250 of file SpellInfo.h.

Referenced by CalcCastTime(), and SpellInfo().

◆ CastTimeMaxLevel

int32 SpellInfo::CastTimeMaxLevel

Definition at line 251 of file SpellInfo.h.

Referenced by CalcCastTime(), and SpellInfo().

◆ CastTimeMin

int32 SpellInfo::CastTimeMin

Definition at line 249 of file SpellInfo.h.

Referenced by CalcCastTime(), and SpellInfo().

◆ CategoryEntry

SpellCategoryEntry const* SpellInfo::CategoryEntry

Definition at line 161 of file SpellInfo.h.

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

◆ CategoryRecoveryTime

◆ ChainEntry

◆ ChannelInterruptFlags

uint32 SpellInfo::ChannelInterruptFlags

Definition at line 200 of file SpellInfo.h.

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

◆ CoefBase

float SpellInfo::CoefBase

Definition at line 253 of file SpellInfo.h.

Referenced by SpellInfo().

◆ CoefLevelBase

int32 SpellInfo::CoefLevelBase

Definition at line 254 of file SpellInfo.h.

Referenced by SpellInfo().

◆ Dispel

◆ DmgClass

◆ DurationEntry

SpellDurationEntry const* SpellInfo::DurationEntry

◆ Effects

SpellEffectInfo SpellInfo::Effects[MAX_SPELL_EFFECTS]

Definition at line 255 of file SpellInfo.h.

Referenced by _InitializeExplicitTargetMask(), _IsPositiveEffect(), _UnloadImplicitTargetConditionLists(), spell_valkyr_essences::spell_valkyr_essences_AuraScript::Absorb(), ObjectMgr::AddSpellToTrainer(), ConditionMgr::addToSpellImplicitTargetConditions(), Aura::BuildEffectMaskForOwner(), Unit::CalcAbsorbResist(), ThreatCalcHelper::calcThreat(), AuraEffect::CalculateAmount(), spell_dk_anti_magic_zone::spell_dk_anti_magic_zone_AuraScript::CalculateAmount(), spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript::CalculateAttackPowerAmount(), spell_rog_recuperate::spell_rog_recuperate_AuraScript::CalculateBonus(), spell_gruul_shatter_effect::spell_gruul_shatter_effect_SpellScript::CalculateDamage(), spell_krystallus_shatter_effect::spell_krystallus_shatter_effect_SpellScript::CalculateDamage(), spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript::CalculateDamageDoneAmount(), Unit::CalculateSpellDamage(), AuraEffect::CalculateSpellMod(), spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript::CalculateStaminaAmount(), spell_dk_pet_scaling_01::spell_dk_pet_scaling_01_AuraScript::CalculateStrengthAmount(), Aura::CanStackWith(), GameObject::CastSpell(), _SpellScript::EffectAuraNameCheck::Check(), _SpellScript::EffectNameCheck::Check(), SpellScript::TargetHook::CheckEffect(), CheckLocation(), CheckShapeshift(), spell_rotface_unstable_ooze_explosion::spell_rotface_unstable_ooze_explosion_SpellScript::CheckTarget(), CheckVehicle(), Spell::DoSpellHitOnUnit(), npc_kalecgos::npc_kalecgosAI::DoWorkaroundForQuestCredit(), Spell::EffectPlayMovie(), Spell::EffectResurrectWithAura(), EquippedOk(), UnitAI::FillAISpellInfo(), ScriptMgr::FillSpellSummary(), UnitAura::FillTargetMap(), GetAllEffectsMechanicMask(), GetAuraRankForLevel(), GetAuraState(), Unit::GetCastingTimeForBonus(), GetDiminishingReturnsGroupForSpell(), GetEffectMechanic(), GetEffectMechanicMask(), npc_firework::npc_fireworkAI::GetFireworkGameObjectId(), GetMaxTicks(), Unit::GetMechanicResistChance(), GetSpellMechanicMaskByEffectMask(), GetSpellSpecific(), Unit::HandleAuraProc(), Unit::HandleAuraProcOnPowerAmount(), Unit::HandleAuraRaidProcFromCharge(), Unit::HandleAuraRaidProcFromChargeWithValue(), spell_gen_oracle_wolvar_reputation::spell_gen_oracle_wolvar_reputation_SpellScript::HandleDummy(), spell_q12683_take_sputum_sample::spell_q12683_take_sputum_sample_SpellScript::HandleDummy(), Unit::HandleDummyAuraProc(), spell_hun_fire::spell_hun_fire_AuraScript::HandleEffectCalcSpellMod(), spell_hun_improved_serpent_sting::spell_hun_improved_serpent_sting_AuraScript::HandleEffectCalcSpellMod(), spell_warl_chaotic_energy::spell_warl_chaotic_energy_AuraScript::HandleEffectCalcSpellMod(), spell_dru_eclipse_energize::spell_dru_eclipse_energize_SpellScript::HandleEnergize(), spell_warl_soul_swap_dot_marker::spell_warl_soul_swap_dot_marker_SpellScript::HandleHit(), lookup_commandscript::HandleLookupSpellCommand(), AuraEffect::HandlePeriodicDamageAurasTick(), AuraEffect::HandlePeriodicHealthFunnelAuraTick(), AuraEffect::HandlePeriodicHealthLeechAuraTick(), AuraEffect::HandlePeriodicManaLeechAuraTick(), AuraEffect::HandlePeriodicPowerBurnAuraTick(), AuraEffect::HandlePeriodicTriggerSpellAuraTick(), AuraEffect::HandlePeriodicTriggerSpellWithValueAuraTick(), WorldSession::HandlePetActionHelper(), Unit::HandleProcTriggerSpell(), AuraEffect::HandleProcTriggerSpellAuraProc(), AuraEffect::HandleProcTriggerSpellWithValueAuraProc(), AuraEffect::HandleRaidProcFromChargeAuraProc(), AuraEffect::HandleRaidProcFromChargeWithValueAuraProc(), Unit::HandleSpellClick(), spell_putricide_mutated_plague::spell_putricide_mutated_plague_AuraScript::HandleTriggerSpell(), HasAnyEffectMechanic(), HasAreaAuraEffect(), HasAura(), Unit::HasAuraWithMechanic(), HasEffect(), IsAffectingArea(), Unit::IsDamageReducedByArmor(), IsExplicitDiscovery(), Creature::IsImmunedToSpell(), Unit::IsImmunedToSpell(), Creature::IsImmunedToSpellEffect(), Totem::IsImmunedToSpellEffect(), Unit::IsImmunedToSpellEffect(), IsLootCrafting(), IsPrimaryProfession(), IsProfession(), IsProfessionOrRiding(), IsQuestTame(), ConditionMgr::isSourceTypeValid(), SpellMgr::IsSpellValid(), IsStackableWithRanks(), IsTargetingArea(), AchievementCriteriaData::IsValid(), Player::learnQuestRewardedSpells(), spell_dk_anti_magic_shell_raid::spell_dk_anti_magic_shell_raid_AuraScript::Load(), spell_dk_anti_magic_shell_self::spell_dk_anti_magic_shell_self_AuraScript::Load(), spell_dk_anti_magic_zone::spell_dk_anti_magic_zone_AuraScript::Load(), spell_dru_savage_defense::spell_dru_savage_defense_AuraScript::Load(), spell_gen_absorb0_hitlimit1::spell_gen_absorb0_hitlimit1_AuraScript::Load(), spell_monk_dampen_harm::spell_monk_dampen_harm_AuraScript::Load(), spell_rog_cheat_death::spell_rog_cheat_death_AuraScript::Load(), SpellMgr::LoadEnchantCustomAttr(), SmartAIMgr::LoadHelperStores(), SpellMgr::LoadPetDefaultSpells(), ObjectMgr::LoadQuests(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellLearnSkills(), SpellMgr::LoadSpellLearnSpells(), SpellMgr::LoadSpellPetAuras(), ObjectMgr::LoadSpellScripts(), SpellMgr::LoadSpellTargetPositions(), Unit::MeleeDamageBonusDone(), spell_q12308_escape_from_silverbrook_summon_worgen::spell_q12308_escape_from_silverbrook_summon_worgen_SpellScript::ModDest(), Unit::ModSpellDuration(), NeedsToBeTriggeredByCaster(), spell_sha_nature_guardian::spell_sha_nature_guardian_AuraScript::OnProc(), spell_blood_queen_pact_of_the_darkfallen_dmg::spell_blood_queen_pact_of_the_darkfallen_dmg_AuraScript::PeriodicTick(), Spell::PrepareTriggersExecutedOnHit(), Unit::ProcDamageAndSpellFor(), Creature::reachWithSpellAttack(), Creature::reachWithSpellCure(), spell_gen_defend::spell_gen_defend_AuraScript::Register(), spell_gen_mounted_charge::spell_gen_mounted_charge_SpellScript::Register(), Player::removeSpell(), Player::RemoveTalent(), Player::ResetTalents(), Spell::SelectEffectImplicitTargets(), Spell::SendCastResult(), spell_omega_stance_spider_effect::spell_omega_stance_spider_effect_SpellScript::SetDestPosition(), Unit::SpellHealingBonusDone(), Unit::SpellHealingBonusTaken(), SpellInfo(), SpellValue::SpellValue(), and spell_mage_living_bomb::spell_mage_living_bomb_AuraScript::Validate().

◆ EquippedItemClass

◆ EquippedItemInventoryTypeMask

int32 SpellInfo::EquippedItemInventoryTypeMask

Definition at line 217 of file SpellInfo.h.

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

◆ EquippedItemSubClassMask

int32 SpellInfo::EquippedItemSubClassMask

◆ ExcludeCasterAuraSpell

uint32 SpellInfo::ExcludeCasterAuraSpell

Definition at line 191 of file SpellInfo.h.

Referenced by SpellInfo().

◆ ExcludeTargetAuraSpell

uint32 SpellInfo::ExcludeTargetAuraSpell

Definition at line 192 of file SpellInfo.h.

Referenced by CheckTarget(), and SpellInfo().

◆ ExplicitTargetMask

uint32 SpellInfo::ExplicitTargetMask

Definition at line 256 of file SpellInfo.h.

Referenced by _InitializeExplicitTargetMask(), and GetExplicitTargetMask().

◆ FacingCasterFlags

uint32 SpellInfo::FacingCasterFlags

Definition at line 184 of file SpellInfo.h.

Referenced by SpellInfo().

◆ Id

uint32 SpellInfo::Id

Definition at line 160 of file SpellInfo.h.

Referenced by Unit::_CreateAuraApplication(), _IsPositiveEffect(), Pet::_LoadAuras(), Player::_LoadAuras(), Unit::_TryStackingOrRefreshingExistingAura(), Aura::_UnapplyForTarget(), _SpellScript::_Validate(), AuraScript::_Validate(), SpellScript::_Validate(), spell_valkyr_essences::spell_valkyr_essences_AuraScript::Absorb(), AddItemsSetItem(), SpellMgr::AddSameEffectStackRuleSpellGroups(), Player::AddSpellAndCategoryCooldowns(), CharmInfo::AddSpellToActionBar(), Unit::ApplyEffectModifiers(), Player::ApplyEquipSpell(), Unit::ApplySpellDispelImmunity(), Unit::CalcArmorReducedDamage(), ThreatCalcHelper::calcThreat(), Unit::CalculateSpellDamageTaken(), Player::CastItemCombatSpell(), CheckLocation(), spell_monk_crackling_jade_lightning_aura::spell_monk_crackling_jade_lightning_aura_AuraScript::CheckProc(), CheckShapeshift(), SpellMgr::CheckSpellGroupStackRules(), AreaTrigger::CreateAreaTrigger(), DynamicObject::CreateDynamicObject(), Unit::DealDamage(), Unit::DealMeleeDamage(), Spell::EffectDuel(), Spell::EffectForceCast(), Spell::EffectInterruptCast(), Spell::EffectLearnPetSpell(), Spell::EffectSummonType(), Spell::EffectTriggerMissileSpell(), Spell::EffectTriggerSpell(), GetAuraState(), GetDiminishingReturnsGroupForSpell(), Aura::GetId(), LuaSpell::GetId(), GetMaxRange(), Unit::GetPPMProcChance(), SpellMgr::GetSpellForDifficultyFromSpell(), GetSpellsForLevels(), GetSpellSpecific(), spell_mastery_hand_of_light::spell_mastery_hand_of_light_SpellScript::HandleAfterHit(), spell_mastery_ignite::spell_mastery_ignite_SpellScript::HandleAfterHit(), AuraEffect::HandleAuraDummy(), AuraEffect::HandleAuraModSchoolImmunity(), Unit::HandleAuraProc(), Unit::HandleAuraProcOnPowerAmount(), Unit::HandleAuraRaidProcFromCharge(), Unit::HandleAuraRaidProcFromChargeWithValue(), WorldSession::HandleCastSpellOpcode(), Unit::HandleDummyAuraProc(), spell_dru_stampede::spell_dru_stampede_AuraScript::HandleEffectBearProc(), spell_dru_stampede::spell_dru_stampede_AuraScript::HandleEffectCatProc(), learn_commandscript::HandleLearnAllMySpellsCommand(), learn_commandscript::HandleLearnCommand(), spell_mastery_elemental_overload::spell_mastery_elemental_overload_SpellScript::HandleOnHit(), spell_monk_diffuse_magic::spell_monk_diffuse_magic_SpellScript::HandleOnHit(), AuraEffect::HandlePeriodicPowerBurnAuraTick(), AuraEffect::HandlePeriodicTriggerSpellAuraTick(), spell_pal_beacon_of_light::spell_pal_beacon_of_light_AuraScript::HandleProc(), spell_rog_blade_flurry::spell_rog_blade_flurry_AuraScript::HandleProc(), Unit::HandleProcTriggerSpell(), spell_gen_dalaran_disguise::spell_gen_dalaran_disguise_SpellScript::HandleScript(), spell_gen_profession_research::spell_gen_profession_research_SpellScript::HandleScript(), spell_item_book_of_glyph_mastery::spell_item_book_of_glyph_mastery_SpellScript::HandleScript(), WorldSession::HandleUpdateMissileTrajectory(), Unit::HealBySpell(), Pet::InitLevelupSpellsForLevel(), IsAbilityLearnedWithProfession(), IsAbilityOfSkillType(), Player::IsCurrentSpecMasterySpell(), IsDifferentRankOf(), IsExplicitDiscovery(), Unit::IsImmunedToDamage(), Unit::IsImmunedToSpell(), IsMultiSlotAura(), Unit::isSpellCrit(), SpellMgr::IsSpellValid(), Unit::IsTriggeredAtSpellProcEvent(), Player::learnQuestRewardedSpells(), spell_yogg_saron_lunatic_gaze::spell_yogg_saron_lunatic_gaze_SpellScript::Load(), spell_yogg_saron_psychosis::spell_yogg_saron_psychosis_SpellScript::Load(), SpellMgr::LoadPetLevelupSpellMap(), ObjectMgr::LoadQuests(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellProcEvents(), SpellMgr::LoadSpellProcs(), ObjectMgr::LoadSpellScriptNames(), Unit::MagicSpellHitResult(), Unit::MeleeDamageBonusDone(), Unit::MeleeSpellHitResult(), Unit::ModSpellCastTime(), Unit::ModSpellDuration(), spell_monk_touch_of_karma::spell_monk_touch_of_karma_AuraScript::OnAbsorb(), spell_monk_serpents_zeal::spell_monk_serpents_zeal_AuraScript::OnProc(), Skyfire::AbsorbAuraOrderPred::operator()(), Unit::ProcDamageAndSpellFor(), SmartScript::ProcessEvent(), RemoveItemsSetItem(), Player::resetSpells(), Player::ResetTalents(), Player::RestoreSpellMods(), Spell::SendCastResult(), Player::SendCooldownEvent(), Unit::SetCurrentCastedSpell(), CharmInfo::SetSpellAutocast(), Unit::SpellCriticalDamageBonus(), Unit::SpellDamageBonusDone(), Unit::SpellDamageBonusTaken(), Unit::SpellHealingBonusDone(), Unit::SpellHealingBonusTaken(), HookMgr::ElunaCreatureAI::SpellHit(), npc_aged_dying_ancient_kodo::npc_aged_dying_ancient_kodoAI::SpellHit(), HookMgr::ElunaCreatureAI::SpellHitTarget(), SpellInfo(), Unit::SpellNonMeleeDamageLog(), Pet::ToggleAutocast(), CharmInfo::ToggleCreatureAutocast(), guard_generic::guard_genericAI::UpdateAI(), PetAI::UpdateAI(), and ObjectMgr::ValidateSpellScripts().

◆ InterruptFlags

uint32 SpellInfo::InterruptFlags

Definition at line 198 of file SpellInfo.h.

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

◆ MaxAffectedTargets

uint32 SpellInfo::MaxAffectedTargets

◆ MaxLevel

uint32 SpellInfo::MaxLevel

Definition at line 204 of file SpellInfo.h.

Referenced by Unit::CalculateLevelPenalty(), and SpellInfo().

◆ Mechanic

◆ OverrideSpellList

std::list<uint32> SpellInfo::OverrideSpellList

Definition at line 261 of file SpellInfo.h.

◆ PreventionType

◆ ProcChance

◆ ProcCharges

◆ ProcFlags

◆ RangeEntry

◆ Reagent

int32 SpellInfo::Reagent[MAX_SPELL_REAGENTS]

◆ ReagentCount

uint32 SpellInfo::ReagentCount[MAX_SPELL_REAGENTS]

Definition at line 214 of file SpellInfo.h.

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

◆ RecoveryTime

◆ RequiresSpellFocus

uint32 SpellInfo::RequiresSpellFocus

Definition at line 183 of file SpellInfo.h.

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

◆ ResearchProject

uint32 SpellInfo::ResearchProject

Definition at line 247 of file SpellInfo.h.

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

◆ RuneCostID

uint32 SpellInfo::RuneCostID

Definition at line 208 of file SpellInfo.h.

Referenced by SpellInfo().

◆ ScalingClass

int32 SpellInfo::ScalingClass

Definition at line 252 of file SpellInfo.h.

Referenced by SpellInfo().

◆ SchoolMask

◆ SpecializationIdList

std::list<uint32> SpellInfo::SpecializationIdList

Definition at line 260 of file SpellInfo.h.

◆ Speed

float SpellInfo::Speed

Definition at line 210 of file SpellInfo.h.

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

◆ SpellAuraOptionsId

uint32 SpellInfo::SpellAuraOptionsId

Definition at line 234 of file SpellInfo.h.

Referenced by GetSpellAuraOptions(), and SpellInfo().

◆ SpellAuraRestrictionsId

uint32 SpellInfo::SpellAuraRestrictionsId

Definition at line 235 of file SpellInfo.h.

Referenced by GetSpellAuraRestrictions(), and SpellInfo().

◆ SpellCastingRequirementsId

uint32 SpellInfo::SpellCastingRequirementsId

Definition at line 236 of file SpellInfo.h.

Referenced by GetSpellCastingRequirements(), and SpellInfo().

◆ SpellCategoriesId

uint32 SpellInfo::SpellCategoriesId

Definition at line 237 of file SpellInfo.h.

Referenced by GetSpellCategories(), and SpellInfo().

◆ SpellClassOptionsId

uint32 SpellInfo::SpellClassOptionsId

Definition at line 238 of file SpellInfo.h.

Referenced by GetSpellClassOptions(), and SpellInfo().

◆ SpellCooldownsId

uint32 SpellInfo::SpellCooldownsId

Definition at line 239 of file SpellInfo.h.

Referenced by GetSpellCooldowns(), and SpellInfo().

◆ SpellEquippedItemsId

uint32 SpellInfo::SpellEquippedItemsId

Definition at line 240 of file SpellInfo.h.

Referenced by GetSpellEquippedItems(), and SpellInfo().

◆ SpellFamilyFlags

◆ SpellFamilyName

uint32 SpellInfo::SpellFamilyName

Definition at line 226 of file SpellInfo.h.

Referenced by _IsPositiveEffect(), SpellMgr::CanSpellTriggerProcOnEvent(), Aura::CanStackWith(), spell_gen_alchemist_stone::spell_gen_alchemist_stone_AuraScript::CheckProc(), CheckTargetCreatureType(), Spell::EffectScriptEffect(), Unit::GetAuraEffect(), Unit::GetAuraEffect(), GetAuraState(), GetDiminishingReturnsGroupForSpell(), GetDiminishingReturnsLimitDuration(), GetSpellSpecific(), spell_rog_deadly_poison::spell_rog_deadly_poison_SpellScript::HandleAfterHit(), Unit::HandleAuraProc(), Unit::HandleAuraProcOnPowerAmount(), Unit::HandleAuraRaidProcFromChargeWithValue(), spell_mage_cold_snap::spell_mage_cold_snap_SpellScript::HandleDummy(), Unit::HandleDummyAuraProc(), spell_warl_soul_swap_dot_marker::spell_warl_soul_swap_dot_marker_SpellScript::HandleHit(), learn_commandscript::HandleLearnAllMySpellsCommand(), AuraEffect::HandlePeriodicTriggerSpellAuraTick(), Unit::HandleProcTriggerSpell(), IsAffectedBySpellMod(), AuraEffect::IsAffectingSpell(), IsRangedWeaponSpell(), Unit::isSpellCrit(), SpellMgr::IsSpellProcEventCanTriggeredBy(), IsStackableWithRanks(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoCustomAttributes(), Unit::MeleeDamageBonusTaken(), Unit::ModSpellCastTime(), Unit::ModSpellDuration(), Skyfire::AbsorbAuraOrderPred::operator()(), Unit::ProcDamageAndSpellFor(), Unit::RemoveAurasWithFamily(), Player::resetSpells(), Unit::SpellDamageBonusDone(), Unit::SpellHealingBonusDone(), Unit::SpellHealingBonusTaken(), and SpellInfo().

◆ SpellIconID

◆ SpellInterruptsId

uint32 SpellInfo::SpellInterruptsId

Definition at line 241 of file SpellInfo.h.

Referenced by GetSpellInterrupts(), and SpellInfo().

◆ SpellLevel

◆ SpellLevelsId

uint32 SpellInfo::SpellLevelsId

Definition at line 242 of file SpellInfo.h.

Referenced by GetSpellLevels(), and SpellInfo().

◆ SpellName

char* SpellInfo::SpellName

◆ SpellReagentsId

uint32 SpellInfo::SpellReagentsId

Definition at line 243 of file SpellInfo.h.

Referenced by GetSpellReagents(), and SpellInfo().

◆ SpellScalingId

uint32 SpellInfo::SpellScalingId

Definition at line 233 of file SpellInfo.h.

Referenced by GetSpellScaling(), and SpellInfo().

◆ SpellShapeshiftId

uint32 SpellInfo::SpellShapeshiftId

Definition at line 244 of file SpellInfo.h.

Referenced by GetSpellShapeshift(), and SpellInfo().

◆ SpellTargetRestrictionsId

uint32 SpellInfo::SpellTargetRestrictionsId

Definition at line 245 of file SpellInfo.h.

Referenced by GetSpellTargetRestrictions(), and SpellInfo().

◆ SpellTotemsId

uint32 SpellInfo::SpellTotemsId

Definition at line 246 of file SpellInfo.h.

Referenced by GetSpellTotems(), and SpellInfo().

◆ SpellVisual

◆ StackAmount

◆ Stances

◆ StancesNot

uint32 SpellInfo::StancesNot

Definition at line 180 of file SpellInfo.h.

Referenced by CheckShapeshift(), and SpellInfo().

◆ StartRecoveryCategory

◆ StartRecoveryTime

uint32 SpellInfo::StartRecoveryTime

Definition at line 197 of file SpellInfo.h.

Referenced by Player::EquipItem(), UnitAI::FillAISpellInfo(), and SpellInfo().

◆ talentId

uint32 SpellInfo::talentId

Definition at line 263 of file SpellInfo.h.

◆ TargetAuraSpell

uint32 SpellInfo::TargetAuraSpell

Definition at line 190 of file SpellInfo.h.

Referenced by CheckTarget(), and SpellInfo().

◆ TargetAuraState

uint32 SpellInfo::TargetAuraState

Definition at line 186 of file SpellInfo.h.

Referenced by CheckTarget(), and SpellInfo().

◆ TargetAuraStateNot

uint32 SpellInfo::TargetAuraStateNot

Definition at line 188 of file SpellInfo.h.

Referenced by CheckTarget(), and SpellInfo().

◆ TargetCreatureType

uint32 SpellInfo::TargetCreatureType

Definition at line 182 of file SpellInfo.h.

Referenced by CheckTargetCreatureType(), and SpellInfo().

◆ Targets

uint32 SpellInfo::Targets

Definition at line 181 of file SpellInfo.h.

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

◆ Totem

uint32 SpellInfo::Totem[2]

Definition at line 212 of file SpellInfo.h.

Referenced by IsLootCrafting(), Spell::SendCastResult(), and SpellInfo().

◆ TotemCategory

uint32 SpellInfo::TotemCategory[2]

Definition at line 218 of file SpellInfo.h.

Referenced by IsLootCrafting(), Spell::SendCastResult(), and SpellInfo().


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