![]() |
TrinityCore
|
#include <SpellInfo.h>
Classes | |
| struct | ScalingInfo |
Static Public Member Functions | |
| static uint32 | GetDispelMask (DispelType type) |
Private Member Functions | |
| void | _InitializeExplicitTargetMask () |
| void | _InitializeSpellPositivity () |
| void | _LoadSpellSpecific () |
| void | _LoadAuraState () |
| void | _LoadSpellDiminishInfo () |
| void | _LoadImmunityInfo () |
| void | _LoadSqrtTargetLimit (int32 maxTargets, int32 numNonDiminishedTargets, Optional< uint32 > maxTargetsValueHolderSpell, Optional< SpellEffIndex > maxTargetsValueHolderEffect, Optional< uint32 > numNonDiminishedTargetsValueHolderSpell, Optional< SpellEffIndex > numNonDiminishedTargetsValueHolderEffect) |
| void | _UnloadImplicitTargetConditionLists () |
Private Attributes | |
| std::vector< SpellEffectInfo > | _effects |
| SpellVisualVector | _visuals |
| SpellSpecificType | _spellSpecific = SPELL_SPECIFIC_NORMAL |
| AuraStateType | _auraState = AURA_STATE_NONE |
| SpellDiminishInfo | _diminishInfo |
| uint64 | _allowedMechanicMask = 0 |
Friends | |
| class | SpellMgr |
Definition at line 323 of file SpellInfo.h.
|
explicit |
Definition at line 1324 of file SpellInfo.cpp.
References _effects, _visuals, ActiveIconFileDataId, Attributes, AttributesEx, AttributesEx10, AttributesEx11, AttributesEx12, AttributesEx13, AttributesEx14, AttributesEx15, AttributesEx16, AttributesEx2, AttributesEx3, AttributesEx4, AttributesEx5, AttributesEx6, AttributesEx7, AttributesEx8, AttributesEx9, AuraInterruptFlags, AuraInterruptFlags2, SpellInfoLoadHelper::AuraOptions, SpellInfoLoadHelper::AuraRestrictions, BaseLevel, CasterAuraSpell, CasterAuraState, CasterAuraType, SpellInfoLoadHelper::CastingRequirements, CastTimeEntry, SpellInfoLoadHelper::Categories, CategoryId, CategoryRecoveryTime, ChannelInterruptFlags, ChannelInterruptFlags2, ChargeCategoryId, SpellInfoLoadHelper::ClassOptions, ConeAngle, ContentTuningId, CooldownAuraSpellId, SpellInfoLoadHelper::Cooldowns, Dispel, DmgClass, DurationEntry, SpellInfoLoadHelper::Effects, SpellInfoLoadHelper::EmpowerStages, EmpowerStageThresholds, Trinity::Containers::EnsureWritableVectorIndex(), EquippedItemClass, EquippedItemInventoryTypeMask, SpellInfoLoadHelper::EquippedItems, EquippedItemSubClassMask, ExcludeCasterAuraSpell, ExcludeCasterAuraState, ExcludeCasterAuraType, ExcludeTargetAuraSpell, ExcludeTargetAuraState, ExcludeTargetAuraType, FacingCasterFlags, IconFileDataId, InterruptFlags, SpellInfoLoadHelper::Interrupts, Labels, SpellInfoLoadHelper::Labels, LaunchDelay, SpellInfoLoadHelper::Levels, MAKE_PAIR64(), MaxAffectedTargets, MaxLevel, SpellInfo::ScalingInfo::MaxScalingLevel, MaxTargetLevel, Mechanic, MinDuration, SpellInfo::ScalingInfo::MinScalingLevel, SpellInfoLoadHelper::Misc, SpellNameEntry::Name, PowerCosts, SpellInfoLoadHelper::Powers, PreventionType, ProcBasePPM, ProcChance, ProcCharges, ProcCooldown, ProcPPMMods, RangeEntry, Reagent, ReagentCount, SpellInfoLoadHelper::Reagents, ReagentsCurrency, SpellInfoLoadHelper::ReagentsCurrency, RecoveryTime, RequiredAreasID, RequiresSpellFocus, Scaling, SpellInfoLoadHelper::Scaling, SchoolMask, sDB2Manager, SpellInfoLoadHelper::Shapeshift, ShowFutureSpellPlayerConditionID, Speed, SpellFamilyFlags, SpellFamilyName, SpellLevel, SpellName, sSpellCastTimesStore, sSpellDurationStore, sSpellProcsPerMinuteStore, sSpellRangeStore, StackAmount, Stances, StancesNot, StartRecoveryCategory, StartRecoveryTime, TargetAuraSpell, TargetAuraState, TargetAuraType, TargetCreatureType, SpellInfoLoadHelper::TargetRestrictions, Totem::Totem(), SpellInfoLoadHelper::Totems, SpellInfoLoadHelper::Visuals, and Width.
|
explicit |
Definition at line 1527 of file SpellInfo.cpp.
References _effects, Trinity::Containers::EnsureWritableVectorIndex(), SpellNameEntry::Name, and SpellName.
|
delete |
|
delete |
| SpellInfo::~SpellInfo | ( | ) |
Definition at line 1546 of file SpellInfo.cpp.
References _UnloadImplicitTargetConditionLists().
|
private |
Definition at line 4577 of file SpellInfo.cpp.
References DontFailSpellOnTargetingFailure, EFFECT_IMPLICIT_TARGET_EXPLICIT, ExplicitTargetMask, GetEffects(), GetMaxRange(), HasAttribute(), RequiredExplicitTargetMask, SPELL_ATTR13_DO_NOT_FAIL_IF_NO_TARGET, TARGET_FLAG_CORPSE_MASK, TARGET_FLAG_DEST_LOCATION, TARGET_FLAG_GAMEOBJECT, TARGET_FLAG_UNIT_MASK, and Targets.
Referenced by SpellMgr::LoadSpellInfoCustomAttributes().
|
private |
Definition at line 5077 of file SpellInfo.cpp.
References _isPositiveEffectImpl(), GetEffect(), GetEffects(), SpellImplicitTargetInfo::GetTarget(), IsPositiveEffect(), NegativeEffects, SPELL_AURA_DUMMY, SPELL_AURA_MOD_ATTACKSPEED, SPELL_AURA_MOD_DECREASE_SPEED, SPELL_AURA_MOD_FEAR, SPELL_AURA_MOD_STUN, SPELL_AURA_MOD_TAUNT, SPELL_AURA_TRANSFORM, SpellEffectInfo::TargetA, and SpellEffectInfo::TargetB.
Referenced by SpellMgr::LoadSpellInfoCustomAttributes().
|
private |
Definition at line 2722 of file SpellInfo.cpp.
References _auraState, AURA_STATE_BANISHED, AURA_STATE_BLEED, AURA_STATE_DAZED, AURA_STATE_DRUID_PERIODIC_HEAL, AURA_STATE_ENRAGED, AURA_STATE_FAERIE_FIRE, AURA_STATE_FROZEN, AURA_STATE_NONE, AURA_STATE_RAID_ENCOUNTER, AURA_STATE_ROGUE_POISONED, AURA_STATE_VICTORIOUS, Dispel, DISPEL_ENRAGE, GetAllEffectsMechanicMask(), GetCategory(), GetEffects(), GetSchoolMask(), Id, Mechanic, MECHANIC_BANISH, MECHANIC_BLEED, SPELL_AURA_MOD_ROOT, SPELL_AURA_MOD_ROOT_2, SPELL_AURA_MOD_STUN, SPELL_SCHOOL_MASK_FROST, SPELLFAMILY_DRUID, SPELLFAMILY_ROGUE, SpellFamilyFlags, and SpellFamilyName.
|
private |
Definition at line 3486 of file SpellInfo.cpp.
References _allowedMechanicMask, _effects, SpellEffectInfo::ImmunityInfo::ApplyHarmfulAuraImmuneMask, SpellEffectInfo::ImmunityInfo::AuraTypeImmune, SpellEffectInfo::ImmunityInfo::DamageSchoolMask, SpellEffectInfo::ImmunityInfo::DispelImmuneMask, Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::empty(), SpellMgr::GetCreatureImmunities(), 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_KNOCKOUT, MECHANIC_ROOT, MECHANIC_SLEEP, MECHANIC_SNARE, MECHANIC_STUN, SpellEffectInfo::ImmunityInfo::MechanicImmuneMask, SpellEffectInfo::ImmunityInfo::OtherImmuneMask, SpellEffectInfo::ImmunityInfo::RemoveEffectsWithMechanic, SpellEffectInfo::ImmunityInfo::SchoolImmuneMask, Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::shrink_to_fit(), SPELL_ATTR5_ALLOW_WHILE_CONFUSED, SPELL_ATTR5_ALLOW_WHILE_FLEEING, SPELL_ATTR5_ALLOW_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_IMMUNE_AURA_APPLY_SCHOOL, SPELL_AURA_SCHOOL_IMMUNITY, SPELL_AURA_STATE_IMMUNITY, SPELL_AURA_USE_NORMAL_MOVEMENT_SPEED, SpellEffectInfo::ImmunityInfo::SpellEffectImmune, and UI64LIT.
Referenced by SpellMgr::LoadSpellInfoImmunities().
|
private |
Definition at line 2995 of file SpellInfo.cpp.
References _diminishInfo, SpellDiminishInfo::DiminishDurationLimit, SpellDiminishInfo::DiminishGroup, DIMINISHING_AOE_KNOCKBACK, DIMINISHING_DISORIENT, DIMINISHING_INCAPACITATE, DIMINISHING_LEVEL_2, DIMINISHING_LEVEL_IMMUNE, DIMINISHING_LEVEL_TAUNT_IMMUNE, DIMINISHING_LIMITONLY, DIMINISHING_NONE, DIMINISHING_ROOT, DIMINISHING_SILENCE, DIMINISHING_STUN, DIMINISHING_TAUNT, SpellDiminishInfo::DiminishMaxLevel, SpellDiminishInfo::DiminishReturnType, DRTYPE_ALL, DRTYPE_NONE, DRTYPE_PLAYER, GetSpellVisual(), HasAura, Id, IN_MILLISECONDS, IsPositive(), SPELL_AURA_MOD_TAUNT, SPELLFAMILY_DEATHKNIGHT, SPELLFAMILY_DEMON_HUNTER, SPELLFAMILY_DRUID, SPELLFAMILY_GENERIC, SPELLFAMILY_HUNTER, SPELLFAMILY_MAGE, SPELLFAMILY_MONK, SPELLFAMILY_PALADIN, SPELLFAMILY_PRIEST, SPELLFAMILY_ROGUE, SPELLFAMILY_SHAMAN, SPELLFAMILY_WARLOCK, SPELLFAMILY_WARLOCK_PET, SPELLFAMILY_WARRIOR, SpellFamilyFlags, and SpellFamilyName.
Referenced by SpellMgr::LoadSpellInfoDiminishing().
|
private |
@workaround For non-stacking tracking spells (We need generic solution)
Definition at line 2811 of file SpellInfo.cpp.
References _spellSpecific, Dispel, DISPEL_CURSE, DISPEL_POISON, EFFECT_0, GetEffect(), GetEffects(), GetFirstRankSpell(), HasAuraInterruptFlag(), Id, 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_MAGE_ARCANE_BRILLANCE, SPELL_SPECIFIC_MAGE_ARMOR, SPELL_SPECIFIC_MAGE_POLYMORPH, SPELL_SPECIFIC_NORMAL, SPELL_SPECIFIC_PRESENCE, SPELL_SPECIFIC_PRIEST_DIVINE_SPIRIT, SPELL_SPECIFIC_SCROLL, SPELL_SPECIFIC_SEAL, SPELL_SPECIFIC_STING, SPELL_SPECIFIC_TRACKER, SPELL_SPECIFIC_WARLOCK_ARMOR, SPELL_SPECIFIC_WARRIOR_ENRAGE, SPELLFAMILY_DEATHKNIGHT, SPELLFAMILY_GENERIC, SPELLFAMILY_HUNTER, SPELLFAMILY_MAGE, SPELLFAMILY_PALADIN, SPELLFAMILY_PRIEST, SPELLFAMILY_SHAMAN, SPELLFAMILY_WARLOCK, SPELLFAMILY_WARRIOR, SpellFamilyFlags, SpellFamilyName, and Standing.
|
private |
Definition at line 3659 of file SpellInfo.cpp.
References AsUnderlyingType(), SpellEffectInfo::CalcBaseValue(), GetEffect(), GetEffects(), Id, SqrtDamageAndHealingDiminishing, sSpellMgr, and TC_LOG_ERROR.
Referenced by SpellMgr::LoadSpellInfoTargetCaps().
|
private |
Definition at line 5116 of file SpellInfo.cpp.
References _effects.
Referenced by SpellMgr::UnloadSpellInfoImplicitTargetConditionLists(), and ~SpellInfo().
| void SpellInfo::ApplyAllSpellImmunitiesTo | ( | Unit * | target, |
| SpellEffectInfo const & | spellEffectInfo, | ||
| bool | apply | ||
| ) | const |
Definition at line 3709 of file SpellInfo.cpp.
References Unit::ApplySpellImmune(), AURA_REMOVE_BY_DEFAULT, SpellEffectInfo::ImmunityInfo::AuraTypeImmune, CanDispelAura(), SpellEffectInfo::ImmunityInfo::DamageSchoolMask, DISPEL_MAX, SpellEffectInfo::ImmunityInfo::DispelImmuneMask, GetAllEffectsMechanicMask(), AuraApplication::GetBase(), GetDispelMask(), SpellEffectInfo::GetImmunityInfo(), GetSchoolMask(), Aura::GetSpellInfo(), HasAttribute(), Id, IMMUNITY_DAMAGE, IMMUNITY_DISPEL, IMMUNITY_EFFECT, IMMUNITY_MECHANIC, IMMUNITY_OTHER, IMMUNITY_SCHOOL, IMMUNITY_STATE, InvulnerabilityBuff, IsPassive(), AuraApplication::IsPositive(), MAX_MECHANIC, SpellEffectInfo::ImmunityInfo::MechanicImmuneMask, SpellEffectInfo::ImmunityInfo::OtherImmuneMask, Unit::RemoveAppliedAuras(), Unit::RemoveAurasByType(), Unit::RemoveAurasWithInterruptFlags(), Unit::RemoveAurasWithMechanic(), SpellEffectInfo::ImmunityInfo::RemoveEffectsWithMechanic, SpellEffectInfo::ImmunityInfo::SchoolImmuneMask, SPELL_ATTR1_IMMUNITY_PURGES_EFFECT, SPELL_ATTR1_IMMUNITY_TO_HOSTILE_AND_FRIENDLY_EFFECTS, SPELL_SCHOOL_MASK_NORMAL, SpellEffectInfo::ImmunityInfo::SpellEffectImmune, and UI64LIT.
Referenced by AuraEffect::HandleAuraModDispelImmunity(), AuraEffect::HandleAuraModDmgImmunity(), AuraEffect::HandleAuraModEffectImmunity(), AuraEffect::HandleAuraModSchoolImmunity(), AuraEffect::HandleAuraModStateImmunity(), AuraEffect::HandleModMechanicImmunity(), and AuraEffect::HandleModMechanicImmunityMask().
Definition at line 4008 of file SpellInfo.cpp.
References SpellCastTimesEntry::Base, CastTimeEntry, Spell::GetCaster(), SpellCastTimesEntry::Minimum, and WorldObject::ModSpellCastTime().
Referenced by boss_professor_putricide::MovementInform(), and Spell::prepare().
| int32 SpellInfo::CalcDuration | ( | WorldObject const * | caster = nullptr | ) | const |
Definition at line 3983 of file SpellInfo.cpp.
References Duration, GetDuration(), and WorldObject::GetSpellModOwner().
Referenced by Spell::EffectAddFarsight(), Spell::EffectCreateAreaTrigger(), Spell::EffectDuel(), Spell::EffectSummonObject(), Spell::EffectSummonObjectWild(), Spell::EffectSummonPersonalGameObject(), Spell::EffectSummonType(), Spell::EffectTransmitted(), and Spell::SummonGuardian().
| Optional< SpellPowerCost > SpellInfo::CalcPowerCost | ( | Powers | powerType, |
| bool | optionalCost, | ||
| WorldObject const * | caster, | ||
| SpellSchoolMask | schoolMask, | ||
| Spell * | spell = nullptr |
||
| ) | const |
Definition at line 4028 of file SpellInfo.cpp.
References CalcPowerCost(), PowerCosts, and Object::ToUnit().
Referenced by CalcPowerCost(), CalcPowerCost(), spell_warr_tactician::CheckEffectProc(), Spell::EffectDestroyAllTotems(), spell_rog_rupture::OnEffectRemoved(), and Spell::prepare().
| Optional< SpellPowerCost > SpellInfo::CalcPowerCost | ( | SpellPowerEntry const * | power, |
| bool | optionalCost, | ||
| WorldObject const * | caster, | ||
| SpellSchoolMask | schoolMask, | ||
| Spell * | spell = nullptr |
||
| ) | const |
Definition at line 4045 of file SpellInfo.cpp.
References BASE_ATTACK, CalculatePct(), Unit::GetAuraEffectsByType(), Unit::GetBaseAttackTime(), Unit::GetCreateMana(), Unit::GetHealth(), Unit::GetLevel(), Unit::GetMaxHealth(), AuraEffect::GetMiscValue(), Unit::GetPower(), Unit::GetShapeshiftForm(), WorldObject::GetSpellModOwner(), Unit::GetTotalAuraModifier(), HasAttribute(), Unit::HasAura(), Id, AuraEffect::IsAffectingSpell(), Unit::IsControlledByPlayer(), Unit::m_unitData, SpellPowerEntry::ManaCost, MAX_POWERS, OFF_ATTACK, SpellPowerEntry::OptionalCost, SpellPowerEntry::OptionalCostPct, SpellPowerEntry::OrderIndex, SpellPowerCost::Power, POWER_ALTERNATE_POWER, POWER_HEALTH, POWER_MANA, PowerCost0, PowerCost1, PowerCost2, SpellPowerEntry::PowerCostMaxPct, SpellPowerEntry::PowerCostPct, SpellPowerEntry::PowerType, SpellPowerEntry::RequiredAuraSpellID, GtNpcManaCostScalerEntry::Scaler, sDB2Manager, sNpcManaCostScalerGameTable, SPELL_ATTR0_SCALES_WITH_CREATURE_LEVEL, SPELL_ATTR1_USE_ALL_MANA, SPELL_ATTR3_REQUIRES_MAIN_HAND_WEAPON, SPELL_ATTR3_REQUIRES_OFF_HAND_WEAPON, SPELL_ATTR4_WEAPON_SPEED_COST_SCALING, SPELL_AURA_MOD_ADDITIONAL_POWER_COST, SPELL_AURA_MOD_POWER_COST_SCHOOL, SPELL_AURA_MOD_POWER_COST_SCHOOL_PCT, SpellLevel, sSpellShapeshiftFormStore, TC_LOG_ERROR, and Object::ToUnit().
| std::vector< SpellPowerCost > SpellInfo::CalcPowerCost | ( | WorldObject const * | caster, |
| SpellSchoolMask | schoolMask, | ||
| Spell * | spell = nullptr |
||
| ) | const |
Definition at line 4254 of file SpellInfo.cpp.
References SpellPowerCost::Amount, CalcPowerCost(), Unit::GetPower(), BaseEntity::IsUnit(), MAX_POWERS_PER_SPELL, PowerCosts, and Object::ToUnit().
Definition at line 4360 of file SpellInfo.cpp.
References CalcPPMCritMod(), CalcPPMHasteMod(), CalcPPMItemLevelMod(), Unit::GetClassMask(), WorldObject::GetMap(), Unit::GetRace(), Unit::HasAura(), Trinity::RaceMask< T, N >::HasRace(), Map::IsBattlegroundOrArena(), ProcBasePPM, ProcPPMMods, SPELL_PPM_MOD_AURA, SPELL_PPM_MOD_BATTLEGROUND, SPELL_PPM_MOD_CLASS, SPELL_PPM_MOD_CRIT, SPELL_PPM_MOD_HASTE, SPELL_PPM_MOD_ITEM_LEVEL, SPELL_PPM_MOD_RACE, SPELL_PPM_MOD_SPEC, and Object::ToPlayer().
Referenced by Aura::CalcPPMProcChance().
| bool SpellInfo::CanBeInterrupted | ( | WorldObject const * | interruptCaster, |
| Unit const * | interruptTarget, | ||
| bool | ignoreImmunity = false |
||
| ) | const |
Definition at line 1618 of file SpellInfo.cpp.
References Damage, DamageCancels, DamageCancelsPlayerOnly, EnteringCombat, Unit::GetMechanicImmunityMask(), HasAttribute(), Unit::HasAuraTypeWithAffectMask(), Unit::HasAuraTypeWithMiscvalue(), HasChannelInterruptFlag(), EnumFlag< T >::HasFlag(), Id, InterruptFlags, BaseEntity::IsPlayer(), BaseEntity::IsUnit(), MECHANIC_INTERRUPT, PreventionType, SPELL_ATTR7_NO_UI_NOT_INTERRUPTIBLE, SPELL_AURA_ALLOW_INTERRUPT_SPELL, SPELL_AURA_PREVENT_INTERRUPT, SPELL_PREVENTION_TYPE_SILENCE, and Object::ToUnit().
Referenced by Spell::EffectInterruptCast(), and GetMechanicImmunityMask().
| bool SpellInfo::CanBeUsedInCombat | ( | Unit const * | caster | ) | const |
Definition at line 1877 of file SpellInfo.cpp.
References HasAttribute(), HasAura, Unit::HasAuraType(), SPELL_ATTR0_NOT_IN_COMBAT_ONLY_PEACEFUL, SPELL_AURA_ALLOW_MOUNT_IN_COMBAT, and SPELL_AURA_MOUNTED.
Referenced by Spell::CheckCast(), and PetAI::UpdateAI().
| bool SpellInfo::CanDispelAura | ( | SpellInfo const * | auraSpellInfo | ) | const |
Definition at line 2052 of file SpellInfo.cpp.
References HasAttribute(), and SPELL_ATTR0_NO_IMMUNITIES.
Referenced by ApplyAllSpellImmunitiesTo().
| bool SpellInfo::CanPierceImmuneAura | ( | SpellInfo const * | auraSpellInfo | ) | const |
Definition at line 2043 of file SpellInfo.cpp.
References CanSpellProvideImmunityAgainstAura(), HasAttribute(), and SPELL_ATTR1_IMMUNITY_PURGES_EFFECT.
Referenced by Unit::IsImmunedToDamage(), and Unit::IsImmunedToSpell().
| bool SpellInfo::CanSpellEffectProvideImmunityAgainstAuraEffect | ( | SpellEffectInfo const & | immunityEffectInfo, |
| SpellInfo const * | auraSpellInfo, | ||
| SpellEffectInfo const & | auraEffectInfo | ||
| ) | const |
Definition at line 3874 of file SpellInfo.cpp.
References SpellEffectInfo::ApplyAuraName, SpellEffectInfo::ImmunityInfo::ApplyHarmfulAuraImmuneMask, SpellEffectInfo::ImmunityInfo::AuraTypeImmune, Dispel, SpellEffectInfo::ImmunityInfo::DispelImmuneMask, Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::end(), Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::find(), SpellEffectInfo::GetImmunityInfo(), GetSchoolMask(), HasAttribute(), SpellEffectInfo::Mechanic, Mechanic, SpellEffectInfo::ImmunityInfo::MechanicImmuneMask, SpellEffectInfo::ImmunityInfo::SchoolImmuneMask, SchoolMask, SPELL_ATTR2_NO_SCHOOL_IMMUNITIES, and UI64LIT.
Referenced by SpellCancelsAuraEffect().
| bool SpellInfo::CanSpellProvideImmunityAgainstAura | ( | SpellInfo const * | auraSpellInfo | ) | const |
Definition at line 3816 of file SpellInfo.cpp.
References _effects, SpellEffectInfo::ImmunityInfo::ApplyHarmfulAuraImmuneMask, SpellEffectInfo::ImmunityInfo::AuraTypeImmune, Dispel, SpellEffectInfo::ImmunityInfo::DispelImmuneMask, Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::end(), Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::find(), GetEffects(), GetSchoolMask(), HasAttribute(), IsPositiveEffect(), Mechanic, SpellEffectInfo::ImmunityInfo::MechanicImmuneMask, SpellEffectInfo::ImmunityInfo::SchoolImmuneMask, SchoolMask, SPELL_ATTR2_NO_SCHOOL_IMMUNITIES, and UI64LIT.
Referenced by CanPierceImmuneAura().
| SpellCastResult SpellInfo::CheckExplicitTarget | ( | WorldObject const * | caster, |
| WorldObject const * | target, | ||
| Item const * | itemTarget = nullptr |
||
| ) | const |
Definition at line 2538 of file SpellInfo.cpp.
References Unit::GetCritterGUID(), Unit::IsInPartyWith(), Unit::IsInRaidWith(), WorldObject::IsValidAssistTarget(), WorldObject::IsValidAttackTarget(), RequiredExplicitTargetMask, SPELL_CAST_OK, SPELL_FAILED_BAD_TARGETS, TARGET_FLAG_CORPSE_MASK, TARGET_FLAG_GAMEOBJECT_ITEM, TARGET_FLAG_GAMEOBJECT_MASK, TARGET_FLAG_UNIT_ALLY, TARGET_FLAG_UNIT_ENEMY, TARGET_FLAG_UNIT_MASK, TARGET_FLAG_UNIT_MINIPET, TARGET_FLAG_UNIT_PARTY, TARGET_FLAG_UNIT_PASSENGER, TARGET_FLAG_UNIT_RAID, and Object::ToUnit().
Referenced by Spell::CheckCast(), spell_monk_provoke::CheckExplicitTarget(), WorldObject::GetMagicHitRedirectTarget(), Unit::GetMeleeHitRedirectTarget(), and Spell::InitExplicitTargets().
| SpellCastResult SpellInfo::CheckLocation | ( | uint32 | map_id, |
| uint32 | zone_id, | ||
| uint32 | area_id, | ||
| Player const * | player = nullptr |
||
| ) | const |
Definition at line 2169 of file SpellInfo.cpp.
References AllowFlyingMounts, AREA_WINTERGRASP, Unit::GetAuraEffectsByType(), Player::GetBattleground(), GetEffects(), Unit::GetMountCapability(), Battleground::GetStatus(), HasAttribute(), Unit::HasAuraType(), EnumFlag< T >::HasFlag(), Id, Player::InBattleground(), MapEntry::IsBattleArena(), MapEntry::IsBattleground(), MapEntry::IsDungeon(), DB2Manager::IsInArea(), ConditionMgr::IsPlayerMeetingCondition(), MapEntry::IsRaid(), None, RequiredAreasID, sAreaTableStore, sDB2Manager, sMapStore, SPELL_ATTR4_ONLY_FLYING_AREAS, SPELL_ATTR6_NOT_IN_RAID_INSTANCES, SPELL_ATTR8_NOT_IN_BATTLEGROUND, SPELL_ATTR8_REMOVE_OUTSIDE_DUNGEONS_AND_RAIDS, SPELL_AURA_MOD_SHAPESHIFT, SPELL_AURA_MOUNT_RESTRICTIONS, SPELL_AURA_MOUNTED, SPELL_CAST_OK, SPELL_FAILED_INCORRECT_AREA, SPELL_FAILED_NOT_HERE, SPELL_FAILED_NOT_IN_BATTLEGROUND, SPELL_FAILED_NOT_IN_RAID_INSTANCE, SPELL_FAILED_REQUIRES_AREA, SPELL_FAILED_TARGET_NOT_IN_INSTANCE, sSpellMgr, sSpellShapeshiftFormStore, and STATUS_WAIT_JOIN.
Referenced by spell_dru_travel_form_dummy::CheckCast(), Spell::CheckCast(), and spell_dru_travel_form::CheckLocationForForm().
| SpellCastResult SpellInfo::CheckShapeshift | ( | uint32 | form | ) | const |
Definition at line 2120 of file SpellInfo.cpp.
References CanOnlyCastShapeshiftSpells, SpellShapeshiftFormEntry::GetFlags(), HasAttribute(), SPELL_ATTR0_NOT_SHAPESHIFTED, SPELL_ATTR2_ALLOW_WHILE_NOT_SHAPESHIFTED_CASTER_FORM, SPELL_CAST_OK, SPELL_FAILED_NOT_SHAPESHIFT, SPELL_FAILED_ONLY_SHAPESHIFT, sSpellShapeshiftFormStore, Stance, Stances, StancesNot, TC_LOG_ERROR, and UI64LIT.
Referenced by Player::ApplyEquipSpell(), and Spell::CheckCast().
| SpellCastResult SpellInfo::CheckTarget | ( | WorldObject const * | caster, |
| WorldObject const * | target, | ||
| bool | implicit = true |
||
| ) | const |
Definition at line 2338 of file SpellInfo.cpp.
References AoETarget, BASE_ATTACK, Creature::CanHaveLoot(), WorldObject::CanSeeOrDetect(), CheckTargetCreatureType(), CORPSE_BONES, ExcludeTargetAuraSpell, ExcludeTargetAuraState, ExcludeTargetAuraType, ObjectAccessor::FindPlayer(), WorldObject::GetAffectingPlayer(), Creature::GetCreatureDifficulty(), BaseEntity::GetGUID(), WorldObject::GetMap(), Unit::GetSpellOtherImmunityMask(), TempSummon::GetSummonerGUID(), BaseEntity::GetTypeId(), Unit::GetVirtualItemId(), Player::GetWeaponForAttack(), HasAttribute(), Unit::HasAura(), Unit::HasAuraState(), Unit::HasAuraType(), Unit::HasBreakableByDamageCrowdControlAura(), HasEffect(), EnumFlag< T >::HasFlag(), Unit::HasUnitFlag(), Unit::HasUnitMovementFlag(), Unit::HasUnitState(), LootStore::HaveLootFor(), CanSeeOrDetectExtraArgs::ImplicitDetection, Unit::IsAlive(), IsAllowingDeadTarget(), Unit::IsControlledByPlayer(), ObjectGuid::IsEmpty(), Player::IsGameMaster(), Unit::IsInCombat(), BaseEntity::IsPlayer(), IsPositive(), Unit::IsSummon(), Player::IsUseEquipedWeapon(), Unit::IsVisible(), LootTemplates_Pickpocketing, Mechanic, MECHANIC_DISARM, MOVEMENTFLAG_ADV_FLYING, MOVEMENTFLAG_FALLING, MOVEMENTFLAG_FLYING, MOVEMENTFLAG_HOVER, MOVEMENTFLAG_SWIMMING, CreatureDifficulty::PickPocketLootID, SPELL_ATTR0_CU_ALLOW_INFLIGHT_TARGET, SPELL_ATTR0_CU_CAN_TARGET_ANY_PRIVATE_OBJECT, SPELL_ATTR0_CU_PICKPOCKET, SPELL_ATTR1_EXCLUDE_CASTER, SPELL_ATTR1_ONLY_PEACEFUL_TARGETS, SPELL_ATTR2_CANNOT_CAST_ON_TAPPED, SPELL_ATTR3_NOT_ON_AOE_IMMUNE, SPELL_ATTR3_ONLY_ON_GHOSTS, SPELL_ATTR3_ONLY_ON_PLAYER, SPELL_ATTR5_NOT_ON_PLAYER, SPELL_ATTR5_NOT_ON_PLAYER_CONTROLLED_NPC, SPELL_ATTR6_DO_NOT_CHAIN_TO_CROWD_CONTROLLED_TARGETS, SPELL_ATTR6_IGNORE_PHASE_SHIFT, SPELL_ATTR7_BYPASS_NO_RESURRECT_AURA, SPELL_ATTR8_ALLOW_TARGETS_HIDDEN_BY_SPAWN_TRACKING, SPELL_ATTR8_ENFORCE_IN_COMBAT_RESSURECTION_LIMIT, SPELL_ATTR8_ONLY_TARGET_IF_SAME_CREATOR, SPELL_ATTR8_ONLY_TARGET_OWN_SUMMONS, SPELL_ATTR9_TARGET_MUST_BE_GROUNDED, SPELL_AURA_GHOST, SPELL_AURA_PREVENT_RESURRECTION, SPELL_CAST_OK, SPELL_EFFECT_RESURRECT, SPELL_EFFECT_SELF_RESURRECT, SPELL_FAILED_BAD_TARGETS, SPELL_FAILED_BM_OR_INVISGOD, SPELL_FAILED_CANT_CAST_ON_TAPPED, SPELL_FAILED_TARGET_AFFECTING_COMBAT, SPELL_FAILED_TARGET_AURASTATE, SPELL_FAILED_TARGET_CANNOT_BE_RESURRECTED, SPELL_FAILED_TARGET_IS_PLAYER, SPELL_FAILED_TARGET_IS_PLAYER_CONTROLLED, SPELL_FAILED_TARGET_NO_POCKETS, SPELL_FAILED_TARGET_NO_WEAPONS, SPELL_FAILED_TARGET_NOT_GHOST, SPELL_FAILED_TARGET_NOT_GROUNDED, SPELL_FAILED_TARGET_NOT_PLAYER, SPELL_FAILED_TARGETS_DEAD, TargetAuraSpell, TargetAuraState, TargetAuraType, Object::ToCorpse(), Object::ToCreature(), Map::ToInstanceMap(), Object::ToPlayer(), Unit::ToTempSummon(), Object::ToUnit(), TYPEID_PLAYER, UNIT_FLAG_PET_IN_COMBAT, and UNIT_STATE_IN_FLIGHT.
Referenced by Spell::AddUnitTarget(), Spell::CheckCast(), Unit::GetMeleeHitRedirectTarget(), SpellTargetSelector::operator()(), Trinity::WorldObjectSpellTargetCheck::operator()(), and Spell::SelectImplicitTrajTargets().
| bool SpellInfo::CheckTargetCreatureType | ( | Unit const * | target | ) | const |
Definition at line 2624 of file SpellInfo.cpp.
References GetCategory(), Unit::GetCreatureTypeMask(), BaseEntity::GetTypeId(), Unit::HasAuraType(), Unit::IsMagnet(), SPELL_AURA_IGNORE_SPELL_CREATURE_TYPE_REQUIREMENTS, SPELLFAMILY_WARLOCK, SpellFamilyName, TargetCreatureType, and TYPEID_PLAYER.
Referenced by CheckTarget().
| SpellCastResult SpellInfo::CheckVehicle | ( | Unit const * | caster | ) | const |
Definition at line 2574 of file SpellInfo.cpp.
References SummonPropertiesEntry::Control, SpellShapeshiftFormEntry::Flags, VehicleSeatEntry::Flags, GetEffects(), Vehicle::GetSeatForPassenger(), BaseEntity::GetTypeId(), Unit::GetVehicle(), HasAttribute(), HasAura, SPELL_ATTR0_ALLOW_WHILE_MOUNTED, SPELL_ATTR6_ALLOW_WHILE_RIDING_VEHICLE, SPELL_AURA_MOD_SHAPESHIFT, SPELL_AURA_MOUNTED, SPELL_CAST_OK, SPELL_EFFECT_SUMMON, SPELL_FAILED_CANT_DO_THAT_RIGHT_NOW, sSpellShapeshiftFormStore, sSummonPropertiesStore, SUMMON_CATEGORY_WILD, TYPEID_PLAYER, VEHICLE_SEAT_FLAG_CAN_ATTACK, VEHICLE_SEAT_FLAG_CAN_CAST_MOUNT_SPELL, VEHICLE_SEAT_FLAG_CAN_CONTROL, VEHICLE_SEAT_FLAG_UNCONTROLLED, and VEHICLE_SEAT_FLAG_UNK2.
Referenced by Spell::CheckCast().
| uint64 SpellInfo::GetAllEffectsMechanicMask | ( | ) | const |
Definition at line 2649 of file SpellInfo.cpp.
References GetEffects(), Mechanic, and UI64LIT.
Referenced by _LoadAuraState(), ApplyAllSpellImmunitiesTo(), AuraEffect::CheckEffectProc(), spell_uk_second_wind::CheckProc(), spell_dk_pvp_4p_bonus::CheckProc(), spell_dk_suppression::CheckProc(), Spell::EffectDispelMechanic(), Unit::MeleeDamageBonusTaken(), Unit::RemoveAurasByShapeShift(), and Unit::SpellDamageBonusTaken().
| uint64 SpellInfo::GetAllowedMechanicMask | ( | ) | const |
Definition at line 3928 of file SpellInfo.cpp.
References _allowedMechanicMask.
| WeaponAttackType SpellInfo::GetAttackType | ( | ) | const |
Definition at line 1940 of file SpellInfo.cpp.
References BASE_ATTACK, DmgClass, HasAttribute(), IsAutoRepeatRangedSpell(), IsRangedWeaponSpell(), OFF_ATTACK, RANGED_ATTACK, SPELL_ATTR3_REQUIRES_OFF_HAND_WEAPON, SPELL_DAMAGE_CLASS_MELEE, and SPELL_DAMAGE_CLASS_RANGED.
Referenced by Unit::CalcSpellResistedDamage(), AuraEffect::HandlePeriodicDamageAurasTick(), and Spell::Spell().
Definition at line 4464 of file SpellInfo.cpp.
References GetEffects(), GetPrevRankSpell(), HasAttribute(), IsPassive(), IsPositiveEffect(), SPELL_ATTR0_AURA_IS_DEBUFF, SPELL_ATTR2_ALLOW_LOW_LEVEL_BUFF, SPELL_ATTR3_ONLY_PROC_ON_CASTER, SPELL_EFFECT_APPLY_AREA_AURA_PARTY, SPELL_EFFECT_APPLY_AREA_AURA_RAID, and SPELL_EFFECT_APPLY_AURA.
Referenced by Player::ExecutePendingSpellCastRequest().
| AuraStateType SpellInfo::GetAuraState | ( | ) | const |
Definition at line 2717 of file SpellInfo.cpp.
References _auraState.
Referenced by Unit::_ApplyAura(), Unit::_CreateAuraApplication(), and Unit::_UnapplyAura().
| uint32 SpellInfo::GetCategory | ( | ) | const |
Definition at line 1551 of file SpellInfo.cpp.
References CategoryId.
Referenced by _LoadAuraState(), CheckTargetCreatureType(), SpellHistory::GetCooldownDurations(), SpellHistory::GetRemainingCategoryCooldown(), SpellHistory::GetRemainingCooldown(), and SpellHistory::SendCooldownEvent().
| DiminishingGroup SpellInfo::GetDiminishingReturnsGroupForSpell | ( | ) | const |
Definition at line 3466 of file SpellInfo.cpp.
References _diminishInfo, and SpellDiminishInfo::DiminishGroup.
Referenced by Spell::_cast(), Unit::ApplyDiminishingToDuration(), Unit::HasStrongerAuraWithDR(), Unit::IncrDiminishing(), and Spell::PreprocessSpellHit().
| DiminishingReturnsType SpellInfo::GetDiminishingReturnsGroupType | ( | ) | const |
Definition at line 3471 of file SpellInfo.cpp.
References _diminishInfo, and SpellDiminishInfo::DiminishReturnType.
Referenced by Spell::_cast(), Unit::ApplyDiminishingToDuration(), and Spell::PreprocessSpellHit().
| int32 SpellInfo::GetDiminishingReturnsLimitDuration | ( | ) | const |
Definition at line 3481 of file SpellInfo.cpp.
References _diminishInfo, and SpellDiminishInfo::DiminishDurationLimit.
Referenced by Unit::ApplyDiminishingToDuration().
| DiminishingLevels SpellInfo::GetDiminishingReturnsMaxLevel | ( | ) | const |
Definition at line 3476 of file SpellInfo.cpp.
References _diminishInfo, and SpellDiminishInfo::DiminishMaxLevel.
Referenced by Unit::IncrDiminishing().
| uint32 SpellInfo::GetDispelMask | ( | ) | const |
Definition at line 2698 of file SpellInfo.cpp.
References Dispel, and GetDispelMask().
Referenced by ApplyAllSpellImmunitiesTo(), Spell::EffectDispel(), Spell::EffectStealBeneficialBuff(), Unit::GetDispellableAuraList(), and GetDispelMask().
|
static |
Definition at line 2703 of file SpellInfo.cpp.
References DISPEL_ALL, and DISPEL_ALL_MASK.
| int32 SpellInfo::GetDuration | ( | ) | const |
Definition at line 3994 of file SpellInfo.cpp.
References SpellDurationEntry::Duration, DurationEntry, and IsPassive().
Referenced by CalcDuration(), Aura::CalcMaxDuration(), WorldObject::CalcSpellDuration(), Spell::DelayedChannel(), Spell::EffectEnchantHeldItem(), Spell::EffectInterruptCast(), UnitAI::FillAISpellInfo(), SpellEffectInfo::GetPeriodicTickCount(), Spell::handle_immediate(), spell_pri_harsh_discipline::HandleEffectHit(), Unit::HasStrongerAuraWithDR(), Player::IsAffectedBySpellmod(), ObjectMgr::LoadCreatureAddons(), ObjectMgr::LoadCreatureTemplateAddons(), and Pet::LoadPetFromDB().
|
inline |
Definition at line 590 of file SpellInfo.h.
References ASSERT.
Referenced by _InitializeSpellPositivity(), _LoadSpellSpecific(), _LoadSqrtTargetLimit(), spell_valkyr_essences::Absorb(), ConditionMgr::addToSpellImplicitTargetConditions(), ApplySpellEffectFix(), spell_item_artifical_damage::CalculateAmount(), spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript::CalculateAttackPowerAmount(), spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript::CalculateDamageDoneAmount(), spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript::CalculateStaminaAmount(), spell_pri_prayer_of_mending_SpellScriptBase::CastPrayerOfMendingAura(), SpellScript::EffectBase::CheckEffect(), SpellScript::TargetHook::CheckEffect(), AuraScript::EffectBase::CheckEffect(), Spell::CheckItems(), spell_dk_rime::CheckProc(), spell_gen_proc_below_pct_damaged::CheckProc(), spell_item_crystal_spire_of_karabor::CheckProc(), Spell::EffectPersistentAA(), Spell::EffectWeaponDmg(), spell_edna_refracting_beam_selector::FilterTargets(), SpellScript::GetEffectInfo(), AuraScript::GetEffectInfo(), GetEffectMechanic(), GetEffectMechanicMask(), npc_firework::GetFireworkGameObjectId(), spell_warr_colossus_smash::HandleAfterCast(), spell_leotheras_the_blind_chaos_blast::HandleDummy(), spell_dk_blood_bond_periodic::HandleDummyTick(), spell_hun_concussive_shot::HandleDuration(), spell_akilzon_electrical_overload::HandleEffect(), spell_dru_thorns_of_iron_damage::HandleEffectHit(), spell_dru_twin_moonfire::HandleEffectHit(), spell_pri_harsh_discipline::HandleEffectHit(), spell_pri_power_leech_passive::HandleOnProc(), spell_torghast_uncontrolled_darkness_proc::HandleProc(), spell_pri_holy_words::HandleProc(), spell_igb_rocket_pack::HandleRemove(), spell_putricide_clear_aura_effect_value::HandleScript(), spell_putricide_mutated_plague::HandleTriggerSpell(), ConditionMgr::isConditionTypeValid(), IsExplicitDiscovery(), CriteriaData::IsValid(), Player::LearnQuestRewardedSpells(), spell_gen_absorb0_hitlimit1::Load(), spell_pri_holy_word_salvation::Load(), SpellMgr::LoadSpellPetAuras(), SpellMgr::LoadSpellTargetPositions(), WorldObject::ModSpellDuration(), at_abyssal_portal_harbinger::OnCreate(), at_dh_inner_demon::OnInitialize(), areatrigger_pri_divine_star::OnInitialize(), spell_putricide_mutated_plague::OnRemove(), spell_blood_queen_pact_of_the_darkfallen_dmg::PeriodicTick(), spell_gen_mounted_charge::Register(), spell_pri_ultimate_penitence_channel::SearchTargetCandidates(), Scripts::QuelThalas::MurderRow::KystiaManaheart::boss_kystia_manaheart_nibbles::UpdateAI(), areatrigger_pri_entropic_rift::UpdateTarget(), spell_dh_chaos_theory::Validate(), spell_dh_darkglare_boon::Validate(), spell_deathwhisper_dark_reckoning::Validate(), spell_garothi_fel_bombardment_periodic::Validate(), spell_garothi_annihilation_selector::Validate(), spell_arena_dalaran_sewers_pipe_flush_knockback_search_trigger::Validate(), spell_bg_seething_shore_parachute::Validate(), spell_lick_selector_guarm::Validate(), spell_volatile_foam_selector< ExcludeSpellId >::Validate(), spell_volatile_foam_aura< SpellIdOnExpire >::Validate(), spell_occuthar_eyes_of_occuthar::spell_occuthar_eyes_of_occuthar_SpellScript::Validate(), Scripts::EasternKingdoms::Gilneas::Chapter1::spell_gilneas_knocking::Validate(), spell_maiden_of_virtue_rtk_sacred_ground::Validate(), spell_chapter1_emblazon_runeblade_effect::Validate(), spell_kalecgos_tap_check::Validate(), spell_muru_negative_energy_periodic::Validate(), spell_silverpine_flurry_of_claws::Validate(), Scripts::EasternKingdoms::StormwindCity::spell_stormwind_harbor_to_boralus_transition::Validate(), Scripts::EasternKingdoms::Westfall::spell_westfall_reaping_blows::Validate(), spell_akilzon_eagle_swoop_primer::Validate(), spell_akilzon_electrical_overload_primer::Validate(), spell_akilzon_electrical_overload::Validate(), spell_akilzon_grab_passenger::Validate(), spell_love_is_in_the_air_heavily_perfumed::Validate(), spell_love_is_in_the_air_service_uniform::Validate(), spell_love_is_in_the_air_perfume_cologne_immune::Validate(), spell_pilgrims_bounty_feast_on::Validate(), spell_baleroc_decimating_strike::Validate(), spell_husam_hammer_fist::Validate(), spell_husam_bad_intentions::Validate(), spell_husam_hurl::Validate(), spell_lord_stormsong_surrender_to_the_void::Validate(), spell_lord_stormsong_disciple_of_the_vol_zith::Validate(), spell_tidesage_council_ward_selector::Validate(), spell_ahnkahet_yogg_saron_whisper::Validate(), spell_halion_combustion_consumption_periodic::Validate(), spell_black_knight_ghoul_explode::Validate(), spell_black_knight_ghoul_explode_risen_ghoul::Validate(), spell_mistress_kiss_area::Validate(), spell_fel_streak_visual::Validate(), spell_jormungars_slime_pool::Validate(), spell_icehowl_arctic_breath::Validate(), spell_trollgore_invader_taunt::Validate(), spell_putricide_ooze_tank_protection::Validate(), spell_rotface_mutated_infection_aura::Validate(), spell_grobbulus_poison_cloud::Validate(), spell_algalon_phase_constellation::Validate(), spell_tar_blaze::Validate(), spell_hodir_freeze::Validate(), spell_hodir_icicle::Validate(), spell_hodir_dispel_magic::Validate(), spell_hodir_melt_ice::Validate(), spell_borean_tundra_nerubar_web_random_unit_not_on_quest::Validate(), spell_borean_tundra_dispel_freed_soldier_debuff::Validate(), spell_borean_tundra_weakness_to_lightning_cast_on_master::Validate(), spell_borean_tundra_signal_alliance::Validate(), spell_borean_tundra_arcane_chains_character_force_cast::Validate(), spell_dragonblight_moti_hourglass_cast_see_invis_on_master::Validate(), spell_dragonblight_fill_blood_unholy_frost_gem::Validate(), spell_dragonblight_corrosive_spit::Validate(), spell_fjord_the_cleansing_on_death_cast_on_master::Validate(), spell_fjord_the_way_to_his_heart_reverse_cast::Validate(), spell_fjord_the_way_to_his_heart_quest_complete::Validate(), spell_icecrown_the_ocular_on_death::Validate(), spell_icecrown_summon_freed_crusader::Validate(), spell_icecrown_cannons_target::Validate(), spell_icecrown_bested_trigger::Validate(), spell_sholazar_take_sputum_sample::Validate(), spell_sholazar_flight_to_sholazar::Validate(), spell_sholazar_lifeblood_dummy::Validate(), spell_low_health_trigger::Validate(), spell_wintergrasp_tenacity_refresh::Validate(), spell_zuldrak_chains_of_the_scourge::Validate(), spell_mother_shahraz_saber_lash::Validate(), spell_mother_shahraz_generic_periodic::Validate(), spell_leotheras_the_blind_demon_link::Validate(), spell_the_lurker_below_spout_periodic::Validate(), spell_broggok_poison_cloud::Validate(), spell_omor_the_unscarred_orbital_strike_whip::Validate(), spell_astromancer_wrath_of_the_astromancer::Validate(), spell_kaelthas_nether_vapor_lightning::Validate(), spell_shadowmoon_quest_credit_crazed_colossus::Validate(), spell_pet_gen_lich_pet_focus::Validate(), spell_pet_gen_toxic_wasteling_find_target::Validate(), spell_azerite_gen_aura_calc_from_2nd_effect_triggered_spell::Validate(), spell_dh_deflecting_spikes::Validate(), spell_dh_shattered_destiny::Validate(), spell_dk_apply_bone_shield::Validate(), spell_dru_inner_peace::Validate(), spell_evo_fire_breath_damage::Validate(), spell_evo_ruby_embers::Validate(), spell_gen_arena_drink::Validate(), spell_gen_aura_of_fear::Validate(), spell_gen_burning_depths_necrolyte_image::Validate(), spell_gen_cancel_aura::Validate(), spell_gen_cast_caster_to_target::Validate(), spell_gen_cast_target_to_target::Validate(), spell_gen_player_say::Validate(), spell_gen_whisper_to_controller::Validate(), spell_gen_eject_passenger::Validate(), spell_gen_random_aggro_taunt::Validate(), spell_hun_aspect_of_the_fox::Validate(), spell_hun_bleak_arrows::Validate(), spell_hun_masters_call::Validate(), spell_hun_quick_draw_speed::Validate(), spell_hun_scouts_instincts::Validate(), spell_item_seal_of_darkshire_nobility::Validate(), spell_mage_arcane_explosion::Validate(), spell_mage_cauterize_AuraScript::Validate(), spell_monk_pressure_points::Validate(), spell_pal_blade_of_vengeance::Validate(), spell_pal_execution_sentence_aura::Validate(), spell_pal_judgment_of_justice::Validate(), spell_pri_divinity::Validate(), spell_pri_holy_word_salvation::Validate(), spell_pri_shadow_word_death::Validate(), spell_quest_portal_with_condition::Validate(), spell_sha_deeply_rooted_elements::Validate(), spell_sha_stormflurry::Validate(), spell_sha_thorims_invocation_primer::Validate(), spell_warr_execute::Validate(), spell_warr_frenzied_enrage::Validate(), spell_warr_powerful_enrage::Validate(), spell_warr_unbridled_ferocity::Validate(), and spell_sanguine_feast_selector::Validate().
| Mechanics SpellInfo::GetEffectMechanic | ( | SpellEffIndex | effIndex | ) | const |
Definition at line 2687 of file SpellInfo.cpp.
References GetEffect(), SpellEffectInfo::Mechanic, Mechanic, and MECHANIC_NONE.
Referenced by Unit::GetMechanicResistChance().
| uint64 SpellInfo::GetEffectMechanicMask | ( | SpellEffIndex | effIndex | ) | const |
Definition at line 2662 of file SpellInfo.cpp.
References GetEffect(), SpellEffectInfo::Mechanic, Mechanic, and UI64LIT.
|
inline |
Definition at line 589 of file SpellInfo.h.
Referenced by Spell::_cast(), Spell::_handle_immediate_phase(), Aura::_InitEffects(), _InitializeExplicitTargetMask(), _InitializeSpellPositivity(), _isPositiveEffectImpl(), _LoadAuraState(), _LoadSpellSpecific(), _LoadSqrtTargetLimit(), Unit::_TryStackingOrRefreshingExistingAura(), Player::ActivateTalentGroup(), Unit::AddAura(), Spell::AddCorpseTarget(), Spell::AddGOTarget(), Spell::AddItemTarget(), UnitAura::AddStaticApplication(), ConditionMgr::addToSpellImplicitTargetConditions(), Spell::AddUnitTarget(), Player::ApplyArtifactPowerRank(), ApplySpellEffectFix(), Aura::BuildEffectMaskForOwner(), CalcPredictedHealing(), Spell::CanAutoCast(), Aura::CanBeSaved(), CanSpellProvideImmunityAgainstAura(), Aura::CanStackWith(), Trainer::Trainer::CanTeachSpell(), Player::CastItemCombatSpell(), Spell::CheckCast(), SpellScript::EffectBase::CheckEffect(), SpellScript::TargetHook::CheckEffect(), AuraScript::EffectBase::CheckEffect(), Spell::CheckItems(), CheckLocation(), CheckVehicle(), Spell::TargetInfo::DoDamageAndTriggers(), Spell::DoProcessTargetContainer(), Spell::EffectForceCast(), Spell::EffectPersistentAA(), Spell::EffectTriggerMissileSpell(), Spell::EffectTriggerSpell(), Spell::EffectWeaponDmg(), UnitAI::FillAISpellInfo(), UnitAura::FillTargetMap(), DynObjAura::FillTargetMap(), SpellScriptBase::EffectHook::GetAffectedEffectsMask(), GetAllEffectsMechanicMask(), GetAuraRankForLevel(), Unit::GetMechanicResistChance(), GetSpellMechanicMaskByEffectMask(), npc_thorim_trashAI::AIHelper::GetTotalHeal(), AuraEffect::HandleAuraMounted(), Spell::HandleLaunchPhase(), AuraEffect::HandleLinkedSummon(), lookup_commandscript::HandleLookupSpellCommand(), lookup_commandscript::HandleLookupSpellIdCommand(), Player::HandlePassiveSpellLearn(), WorldSession::HandlePetActionHelper(), spell_putricide_choking_gas_bomb::HandleScript(), Unit::HandleSpellClick(), HasAreaAuraEffect(), HasAura(), Unit::HasAuraWithMechanic(), HasEffect(), Player::HasItemFitToSpellRequirements(), Aura::HasMoreThanOneEffectForType(), HasOnlyDamageEffects(), HasTargetType(), Player::IsAffectedBySpellmod(), IsAffectingArea(), IsAllowingDeadTarget(), Aura::IsArea(), ConditionMgr::isConditionTypeValid(), IsExplicitDiscovery(), IsGroupBuff(), Unit::IsImmunedToSpell(), IsPrimaryProfession(), IsProfession(), ConditionMgr::isSourceTypeValid(), SpellMgr::IsSpellValid(), IsTargetingArea(), IsUnitTargetSceneObjectAura(), CriteriaData::IsValid(), Player::LearnQuestRewardedSpells(), SmartAIMgr::LoadHelperStores(), SpellMgr::LoadSpellGroupStackRules(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellLinked(), SpellMgr::LoadSpellPetAuras(), SpellMgr::LoadSpellProcs(), SpellMgr::LoadSpellTargetPositions(), NeedsToBeTriggeredByCaster(), areatrigger_pri_divine_star::OnInitialize(), spell_gen_remove_on_full_health::PeriodicTick(), Spell::PreprocessSpellHit(), Player::RemoveSpell(), Player::RemoveTalent(), Spell::SelectImplicitChainTargets(), Spell::SelectSpellTargets(), Spell::SendChannelStart(), SpellCancelsAuraEffect(), Unit::SpellHealingBonusDone(), SpellValue::SpellValue(), Spell::UpdateChanneledTargetList(), Spell::UpdatePointers(), areatrigger_pri_entropic_rift::UpdateTarget(), Aura::UpdateTargetMap(), and SpellScriptBase::ValidateSpellEffectImpl().
| uint32 SpellInfo::GetExplicitTargetMask | ( | ) | const |
Definition at line 2712 of file SpellInfo.cpp.
References ExplicitTargetMask.
Referenced by Spell::EffectTriggerMissileSpell(), Spell::EffectTriggerSpell(), Spell::InitExplicitTargets(), NeedsExplicitUnitTarget(), Spell::SelectExplicitTargets(), and spell_monk_provoke::Validate().
| SpellInfo const * SpellInfo::GetFirstRankSpell | ( | ) | const |
Definition at line 4436 of file SpellInfo.cpp.
References ChainEntry, and SpellChainNode::first.
Referenced by _LoadSpellSpecific(), SpellMgr::AddSameEffectStackRuleSpellGroups(), CharmInfo::AddSpellToActionBar(), SpellMgr::CheckSpellGroupStackRules(), Unit::GetHighestExclusiveSameEffectSpellGroupValue(), IsRankOf(), SpellMgr::LoadSpellProcs(), and ObjectMgr::LoadSpellScriptNames().
| SpellInfo const * SpellInfo::GetLastRankSpell | ( | ) | const |
Definition at line 4443 of file SpellInfo.cpp.
References ChainEntry, and SpellChainNode::last.
| int32 SpellInfo::GetMaxDuration | ( | ) | const |
Definition at line 4001 of file SpellInfo.cpp.
References DurationEntry, IsPassive(), and SpellDurationEntry::MaxDuration.
Referenced by _LoadImmunityInfo(), WorldObject::CalcSpellDuration(), spell_dk_glyph_of_scourge_strike_script::HandleScriptEffect(), Unit::HasStrongerAuraWithDR(), Spell::prepare(), and Aura::RefreshDuration().
| float SpellInfo::GetMaxRange | ( | bool | positive = false, |
| WorldObject const * | caster = nullptr, |
||
| Spell * | spell = nullptr |
||
| ) | const |
Definition at line 3957 of file SpellInfo.cpp.
References WorldObject::GetSpellModOwner(), Range, RangeEntry, and SpellRangeEntry::RangeMax.
Referenced by _InitializeExplicitTargetMask(), Spell::CheckCast(), spell_warr_heroic_leap::CheckElevation(), spell_gen_cannibalize::CheckIfCorpseNear(), UnitAI::FillAISpellInfo(), npc_thorim_trashAI::AIHelper::GetUnitWithMostMissingHp(), spell_warl_demonic_circle_summon::HandleDummyTick(), spell_pri_trail_of_light::HandleOnProc(), spell_dh_shattered_souls_devourer::HandleSoulsGathering(), GameObject::IsAtInteractDistance(), SpellMgr::LoadSpellInfoCorrections(), at_fel_lord_caza_throw_axe_knockback::OnInitialize(), at_tunk_seismic_slam::OnInitialize(), at_gen_spatial_rift::OnInitialize(), at_monk_song_of_chi_ji::OnInitialize(), Spell::SelectImplicitNearbyTargets(), Spell::SelectImplicitTrajTargets(), TotemAI::UpdateAI(), and Spell::UpdateChanneledTargetList().
Definition at line 3933 of file SpellInfo.cpp.
References CanBeInterrupted(), Unit::GetMechanicImmunityMask(), MECHANIC_INTERRUPT, and MECHANIC_SILENCE.
Referenced by Spell::SendSpellStart().
| SpellRange SpellInfo::GetMinMaxRange | ( | bool | positive = false, |
| WorldObject const * | caster = nullptr, |
||
| Spell * | spell = nullptr |
||
| ) | const |
Definition at line 3969 of file SpellInfo.cpp.
References WorldObject::GetSpellModOwner(), SpellRange::Max, SpellRange::Min, Range, RangeEntry, SpellRangeEntry::RangeMax, and SpellRangeEntry::RangeMin.
Referenced by Spell::EffectTransmitted(), WorldObject::GetSpellMinMaxRangeForTarget(), spell_mana_devourer_energy_discharge::HandleCast(), spell_dru_luxuriant_soil::HandleProc(), npc_hearthglen_crusader::npc_hearthglen_crusader(), areatrigger_pri_entropic_rift::OnCreate(), spell_pri_ultimate_penitence_channel::SearchTargetCandidates(), Spell::SelectImplicitCasterDestTargets(), and npc_thorim_trashAI::UseAbility().
| float SpellInfo::GetMinRange | ( | bool | positive = false | ) | const |
Definition at line 3950 of file SpellInfo.cpp.
References RangeEntry, and SpellRangeEntry::RangeMin.
| SpellInfo const * SpellInfo::GetNextRankSpell | ( | ) | const |
Definition at line 4450 of file SpellInfo.cpp.
References ChainEntry, and SpellChainNode::next.
Referenced by SpellMgr::LoadSpellGroupStackRules(), SpellMgr::LoadSpellProcs(), and ObjectMgr::LoadSpellScriptNames().
| SpellInfo const * SpellInfo::GetPrevRankSpell | ( | ) | const |
Definition at line 4457 of file SpellInfo.cpp.
References ChainEntry, and SpellChainNode::prev.
Referenced by GetAuraRankForLevel().
| uint8 SpellInfo::GetRank | ( | ) | const |
Definition at line 4429 of file SpellInfo.cpp.
References ChainEntry, and SpellChainNode::rank.
Referenced by lookup_commandscript::HandleLookupSpellCommand(), lookup_commandscript::HandleLookupSpellIdCommand(), IsPrimaryProfessionFirstRank(), and SpellMgr::LoadSpellGroups().
| uint32 SpellInfo::GetRecoveryTime | ( | ) | const |
Definition at line 4023 of file SpellInfo.cpp.
References CategoryRecoveryTime, and RecoveryTime.
Referenced by Spell::CheckArenaAndRatedBattlegroundCastRules().
| SpellSchoolMask SpellInfo::GetSchoolMask | ( | ) | const |
Definition at line 2644 of file SpellInfo.cpp.
References SchoolMask.
Referenced by _LoadAuraState(), ApplyAllSpellImmunitiesTo(), ThreatManager::CalculateModifiedThreat(), Unit::CalculateSpellDamageTaken(), CanSpellEffectProvideImmunityAgainstAuraEffect(), CanSpellProvideImmunityAgainstAura(), AuraEffect::CheckEffectProc(), Unit::DealDamage(), Unit::DealMeleeDamage(), Spell::TargetInfo::DoDamageAndTriggers(), Spell::EffectDestroyAllTotems(), Spell::EffectEnvironmentalDMG(), Spell::EffectHealthLeech(), Spell::EffectInterruptCast(), ProcEventInfo::GetSchoolMask(), GetUnitConditionVariable(), spell_dk_dancing_rune_weapon::HandleProc(), Unit::IsImmunedToAuraPeriodicTick(), Unit::IsImmunedToDamage(), Unit::IsImmunedToSpell(), Unit::IsImmunedToSpellEffect(), SpellHistory::IsReady(), SpellHistory::LockSpellSchool(), WorldObject::MagicSpellHitResult(), Unit::MeleeDamageBonusDone(), Unit::MeleeDamageBonusTaken(), Unit::SendPeriodicAuraLog(), Spell::Spell(), Unit::SpellAbsorbBonusDone(), Unit::SpellCriticalDamageBonus(), Unit::SpellDamageBonusDone(), Unit::SpellDamageBonusTaken(), Unit::SpellDamagePctDone(), Unit::SpellHealingBonusDone(), Unit::SpellHealingPctDone(), boss_viscidus::boss_viscidusAI::SpellHit(), and WorldObject::SpellHitResult().
Definition at line 2674 of file SpellInfo.cpp.
References GetEffects(), Mechanic, and UI64LIT.
Referenced by GetUnitConditionVariable(), WorldObject::ModSpellDuration(), and Unit::RemoveAurasWithMechanic().
| SpellSpecificType SpellInfo::GetSpellSpecific | ( | ) | const |
Definition at line 2806 of file SpellInfo.cpp.
References _spellSpecific.
Referenced by UnitAura::HandlePeriodicFoodSpellVisualKit(), IsAuraExclusiveBySpecificPerCasterWith(), IsAuraExclusiveBySpecificWith(), Unit::IsPolymorphed(), and Aura::IsSingleTargetWith().
| uint32 SpellInfo::GetSpellVisual | ( | WorldObject const * | caster = nullptr, |
| WorldObject const * | viewer = nullptr |
||
| ) | const |
Definition at line 4564 of file SpellInfo.cpp.
References GetSpellXSpellVisualId(), and sSpellXSpellVisualStore.
Referenced by _LoadSpellDiminishInfo().
| uint32 SpellInfo::GetSpellXSpellVisualId | ( | WorldObject const * | caster = nullptr, |
| WorldObject const * | viewer = nullptr |
||
| ) | const |
Definition at line 4527 of file SpellInfo.cpp.
References _visuals, BaseEntity::IsPlayer(), ConditionMgr::IsPlayerMeetingCondition(), BaseEntity::IsUnit(), ConditionMgr::IsUnitMeetingCondition(), SpellXSpellVisualEntry::Probability, Trinity::Containers::SelectRandomWeightedContainerElement(), sUnitConditionStore, Object::ToPlayer(), and Object::ToUnit().
Referenced by AuraCreateInfo::CalcSpellVisual(), AreaTrigger::Create(), WorldObject::GetCastSpellXSpellVisualId(), and GetSpellVisual().
| bool SpellInfo::HasAnyAuraInterruptFlag | ( | ) | const |
Definition at line 1630 of file SpellInfo.cpp.
References AuraInterruptFlags, AuraInterruptFlags2, and None.
Referenced by Unit::_CreateAuraApplication(), and Unit::_UnapplyAura().
| bool SpellInfo::HasAreaAuraEffect | ( | ) | const |
Definition at line 1574 of file SpellInfo.cpp.
References GetEffects().
Referenced by AuraScript::_Validate().
|
inline |
Definition at line 456 of file SpellInfo.h.
Referenced by Spell::_cast(), AuraApplication::_InitFlags(), _InitializeExplicitTargetMask(), _isPositiveEffectImpl(), Pet::_LoadAuras(), Player::_LoadAuras(), _LoadImmunityInfo(), Battleground::_ProcessJoin(), Unit::_TryStackingOrRefreshingExistingAura(), Unit::AddAura(), Spell::AddCorpseTarget(), Spell::AddGOTarget(), Player::AddSpell(), ThreatManager::AddThreat(), Spell::AddUnitTarget(), ApplyAllSpellImmunitiesTo(), Player::ApplyEquipSpell(), Unit::AtEndOfEncounter(), Aura::Aura(), AuraApplication::BuildUpdatePacket(), Unit::CalcAbsorbResist(), SpellEffectInfo::CalcBaseValue(), CalcPowerCost(), SpellEffectInfo::CalcRadius(), Unit::CalcSpellResistedDamage(), Spell::CalculateDelayMomentForDst(), AuraEffect::CalculateEstimatedfTotalPeriodicAmount(), AuraEffect::CalculatePeriodic(), Unit::CalculateSpellDamageTaken(), SpellEffectInfo::CalcValue(), CanBeInterrupted(), Aura::CanBeSaved(), CanBeUsedInCombat(), Unit::CanCastSpellWhileMoving(), PlayerAI::CancelAllShapeshifts(), Unit::CancelMountAura(), Unit::CancelShapeshiftForm(), CanDispelAura(), Spell::CanExecuteTriggersOnHit(), Player::CanNoReagentCast(), CanPierceImmuneAura(), CanSpellEffectProvideImmunityAgainstAuraEffect(), CanSpellProvideImmunityAgainstAura(), Aura::CanStackWith(), WorldObject::CastSpell(), Spell::CheckArenaAndRatedBattlegroundCastRules(), Spell::CheckCast(), Spell::CheckCasterAuras(), AuraEffect::CheckEffectProc(), Spell::CheckEffectTarget(), Spell::CheckItems(), CheckLocation(), spell_dk_dark_simulacrum::CheckProc(), spell_dru_moonless_night::CheckProc(), CheckShapeshift(), CheckTarget(), CheckVehicle(), Unit::DealDamage(), Unit::DealHeal(), Spell::TargetInfo::DoDamageAndTriggers(), Spell::DoEffectOnLaunchTarget(), Spell::DoSpellEffectHit(), Spell::TargetInfo::DoTargetSpellHit(), Spell::EffectCastButtons(), Spell::EffectCharge(), Spell::EffectChargeDest(), Spell::EffectCreateItem(), Spell::EffectCreateItem2(), Spell::EffectCreateRandomItem(), Spell::EffectEnchantItemPerm(), Spell::EffectJump(), Spell::EffectJumpCharge(), Spell::EffectJumpDest(), Spell::EffectSchoolDMG(), Spell::EffectStealBeneficialBuff(), Spell::EffectTriggerSpell(), Spell::EffectWeaponDmg(), Player::ExecutePendingSpellCastRequest(), UnitAI::FillAISpellInfo(), Spell::FinalizeDataForTriggerSystem(), Spell::finish(), ThreatManager::ForwardThreatForAssistingMe(), GetAttackType(), GetAuraRankForLevel(), Unit::GetDispellableAuraList(), npc_thorim_trashAI::AIHelper::GetHealTarget(), WorldObject::GetMagicHitRedirectTarget(), Spell::GetMinMaxRange(), SpellEffectInfo::GetPeriodicTickCount(), Unit::GetProcAurasTriggeredOnEvent(), Aura::GetProcEffectMask(), Spell::GetSearcherTypeMask(), AuraEffect::GetTotalTicks(), WorldSession::HandleCancelAuraOpcode(), WorldSession::HandleCancelChanneling(), WorldSession::HandleCancelGrowthAuraOpcode(), WorldSession::HandleCancelModSpeedNoControlAuras(), WorldSession::HandleCancelMountAuraOpcode(), AuraEffect::HandleModTotalPercentStat(), Player::HandlePassiveSpellLearn(), WorldSession::HandlePetAction(), WorldSession::HandleSelfResOpcode(), AuraEffect::HandleShapeshiftBoosts(), Spell::HandleThreatSpells(), HasInitialAggro(), Player::HasItemFitToSpellRequirements(), CharmInfo::InitCharmCreateSpells(), CharmInfo::InitPossessCreateSpells(), Player::IsAffectedBySpellmod(), IsAffectedBySpellMods(), IsAllowingDeadTarget(), Spell::IsAutoActionResetSpell(), IsAutocastable(), IsAutocastEnabledByDefault(), IsAutoRepeatRangedSpell(), IsChanneled(), IsCooldownStartedOnEvent(), Unit::IsDamageReducedByArmor(), IsDeathPersistent(), Spell::IsFocusDisabled(), Unit::IsImmunedToAuraPeriodicTick(), Unit::IsImmunedToDamage(), Unit::IsImmunedToSpell(), Unit::IsImmunedToSpellEffect(), IsInterruptFlagIgnoredForSpell(), Spell::IsNeedSendToClient(), IsNextMeleeSwingSpell(), Unit::IsNonMeleeSpellCast(), IsPassive(), IsRangedWeaponSpell(), SpellHistory::IsReady(), Aura::IsRemovedOnShapeLost(), IsRequiringDeadTarget(), IsSingleTarget(), IsStackableOnOneSlotWithDifferentCasters(), WorldObject::IsValidAssistTarget(), WorldObject::IsValidAttackTarget(), Spell::IsWithinLOS(), Spell::IsWithinLOS(), list_commandscript::ListAurasCommand(), LoadLootTemplates_Spell(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellLearnSpells(), SpellHistory::LockSpellSchool(), WorldObject::MagicSpellHitResult(), Unit::MeleeDamageBonusDone(), Unit::MeleeSpellHitResult(), Unit::MeleeSpellMissChance(), WorldObject::ModSpellCastTime(), WorldObject::ModSpellDuration(), WorldObject::ModSpellDurationTime(), Aura::ModStackAmount(), Spell::MovePosition(), Trinity::AnyAoETargetUnitInObjectRangeCheck::operator()(), Trinity::WorldObjectSpellAreaTargetCheck::operator()(), Trinity::WorldObjectSpellConeTargetCheck::operator()(), AuraEffect::PeriodicTick(), Spell::prepare(), Spell::prepareDataForTriggerSystem(), Aura::PrepareProcChargeDrop(), Spell::TargetInfo::PreprocessTarget(), Unit::ProcSkillsAndAuras(), Aura::RefreshDuration(), Aura::RefreshTimers(), Spell::RefundPower(), Unit::RemoveArenaAuras(), Player::RemoveArenaSpellCooldowns(), Unit::RemoveAurasByShapeShift(), Unit::RemoveAurasDueToSpellByDispel(), Unit::RemoveAurasDueToSpellBySteal(), Unit::RemoveAurasWithAttribute(), Player::RemoveSpell(), AuraEffect::ResetPeriodic(), DuelResetScript::ResetSpellCooldowns(), Spell::SearchChainTargets(), Spell::SelectImplicitAreaTargets(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitChainTargets(), Spell::SelectImplicitChannelTargets(), Spell::SelectImplicitDestDestTargets(), Spell::SelectImplicitNearbyTargets(), Spell::SelectImplicitTargetDestTargets(), Spell::SelectImplicitTrajTargets(), Spell::SelectSpellTargets(), Spell::SendCastResult(), Spell::SendChannelStart(), Spell::SendResurrectRequest(), Spell::SendSpellGo(), Spell::SendSpellStart(), Unit::SetCurrentCastSpell(), Creature::SetSpellFocus(), Spell::Spell(), Unit::SpellAbsorbBonusDone(), Unit::SpellAbsorbBonusTaken(), SpellCancelsAuraEffect(), CharacterDatabaseCleaner::SpellCheck(), Unit::SpellCritChanceDone(), Unit::SpellCritChanceTaken(), Unit::SpellDamageBonusDone(), Unit::SpellDamageBonusTaken(), Unit::SpellDamagePctDone(), Unit::SpellHealingBonusDone(), Unit::SpellHealingBonusTaken(), Unit::SpellHealingPctDone(), WorldObject::SpellHitResult(), SpellHistory::StartCooldown(), Trinity::Hyperlinks::LinkTags::enchant::StoreTo(), Spell::TakePower(), Spell::TakeReagents(), Spell::TriggerGlobalCooldown(), Unit::Update(), TotemAI::UpdateAI(), Player::UpdateCraftSkill(), Spell::UpdateSpellCastDataTargets(), and Player::VehicleSpellInitialize().
|
inline |
Definition at line 457 of file SpellInfo.h.
|
inline |
Definition at line 466 of file SpellInfo.h.
|
inline |
Definition at line 467 of file SpellInfo.h.
|
inline |
Definition at line 468 of file SpellInfo.h.
|
inline |
Definition at line 469 of file SpellInfo.h.
|
inline |
Definition at line 470 of file SpellInfo.h.
|
inline |
Definition at line 471 of file SpellInfo.h.
|
inline |
Definition at line 472 of file SpellInfo.h.
|
inline |
Definition at line 458 of file SpellInfo.h.
|
inline |
Definition at line 459 of file SpellInfo.h.
|
inline |
Definition at line 460 of file SpellInfo.h.
|
inline |
Definition at line 461 of file SpellInfo.h.
|
inline |
Definition at line 462 of file SpellInfo.h.
|
inline |
Definition at line 463 of file SpellInfo.h.
|
inline |
Definition at line 464 of file SpellInfo.h.
|
inline |
Definition at line 465 of file SpellInfo.h.
|
inline |
Definition at line 473 of file SpellInfo.h.
| bool SpellInfo::HasAura | ( | AuraType | aura | ) | const |
Definition at line 1565 of file SpellInfo.cpp.
References GetEffects().
Referenced by Spell::CheckCast(), spell_rog_turn_the_tables::CheckForStun(), spell_item_azerite_fortification::CheckProc(), spell_item_conflict_wearer_on_stun_proc::CheckProc(), spell_item_sephuzs_secret::CheckProc(), spell_item_conflict_rank3::CheckProc(), spell_item_infurious_crafted_gear_mettle::CheckProc(), Spell::EffectSummonType(), Aura::GetProcEffectMask(), ObjectMgr::LoadCreatureAddons(), ObjectMgr::LoadCreatureTemplateAddons(), SpellMgr::LoadSpellGroupStackRules(), SpellMgr::LoadSpellInfoCorrections(), spell_gen_war_mode_enlisted::Register(), Unit::RemoveAllAurasExceptType(), Unit::RemoveAllAurasExceptType(), and Creature::SetSpellFocus().
|
inline |
Definition at line 478 of file SpellInfo.h.
References EnumFlag< T >::HasFlag().
Referenced by Unit::_ApplyAura(), _LoadSpellSpecific(), SpellMgr::LoadSpellInfoCustomAttributes(), and Unit::RemoveAurasWithInterruptFlags().
|
inline |
Definition at line 479 of file SpellInfo.h.
References EnumFlag< T >::HasFlag().
|
inline |
Definition at line 481 of file SpellInfo.h.
References EnumFlag< T >::HasFlag().
Referenced by CanBeInterrupted(), and Unit::IsNonMeleeSpellCast().
|
inline |
Definition at line 482 of file SpellInfo.h.
References EnumFlag< T >::HasFlag().
| bool SpellInfo::HasEffect | ( | SpellEffects | effect | ) | const |
Definition at line 1556 of file SpellInfo.cpp.
References GetEffects().
Referenced by Spell::_handle_finish_phase(), SpellScript::_Validate(), AuraScript::_Validate(), Player::AddSpell(), Spell::CheckCast(), spell_item_azerite_fortification::CheckProc(), spell_item_zanjir_scaleguard_greatcloak::CheckProc(), CheckTarget(), Spell::TargetInfo::DoDamageAndTriggers(), Spell::finish(), spell_item_alchemist_stone::HandleProc(), Item::IsFitToSpellRequirements(), IsLootCrafting(), IsPassiveStackableWithRanks(), IsStackableWithRanks(), Unit::MeleeDamageBonusDone(), Spell::PreprocessSpellLaunch(), Spell::TargetInfo::PreprocessTarget(), spell_gen_mounted_charge::Register(), Player::RemoveSpell(), boss_shade_of_aran::boss_aranAI::SpellHit(), Trinity::Hyperlinks::LinkTags::trade::StoreTo(), and PetAI::UpdateAI().
| bool SpellInfo::HasHitDelay | ( | ) | const |
Definition at line 1935 of file SpellInfo.cpp.
References LaunchDelay, and Speed.
Referenced by WorldObject::GetMagicHitRedirectTarget(), and Spell::IsNeedSendToClient().
| bool SpellInfo::HasInitialAggro | ( | ) | const |
Definition at line 1930 of file SpellInfo.cpp.
References HasAttribute(), SPELL_ATTR1_NO_THREAT, SPELL_ATTR2_NO_INITIAL_THREAT, and SPELL_ATTR4_NO_HARMFUL_THREAT.
Referenced by Spell::TargetInfo::DoDamageAndTriggers(), Spell::HandleThreatSpells(), Spell::PreprocessSpellHit(), Spell::PreprocessSpellLaunch(), and Spell::TargetInfo::PreprocessTarget().
| bool SpellInfo::HasLabel | ( | uint32 | labelId | ) | const |
Definition at line 5131 of file SpellInfo.cpp.
References Labels.
Referenced by spell_pal_t30_2p_protection_bonus_heal::CheckProc(), spell_sha_doom_winds_legendary::CheckProc(), spell_warr_keep_your_feet_on_the_ground::CheckProc(), spell_pri_divinity::CheckProc(), spell_torghast_fleshcraft_shield_proc::CheckProc(), spell_torghast_soulshape_proc::CheckProc(), spell_torghast_door_of_shadows_proc::CheckProc(), spell_torghast_flicker_proc::CheckProc(), spell_torghast_potent_potion_proc::CheckProc(), spell_evo_charged_blast::CheckProc(), spell_evo_permeating_chill::CheckProc(), AuraEffect::HandleModRecoveryRateBySpellLabel(), IsAffectedBySpellMod(), CriteriaHandler::ModifierSatisfied(), Unit::SpellDamageBonusTaken(), and SpellHistory::StartCooldown().
| bool SpellInfo::HasOnlyDamageEffects | ( | ) | const |
Definition at line 1583 of file SpellInfo.cpp.
References GetEffects(), SPELL_EFFECT_DAMAGE_FROM_MAX_HEALTH_PCT, SPELL_EFFECT_ENVIRONMENTAL_DAMAGE, SPELL_EFFECT_HEALTH_LEECH, SPELL_EFFECT_NORMALIZED_WEAPON_DMG, SPELL_EFFECT_SCHOOL_DAMAGE, SPELL_EFFECT_WEAPON_DAMAGE, SPELL_EFFECT_WEAPON_DAMAGE_NOSCHOOL, and SPELL_EFFECT_WEAPON_PERCENT_DAMAGE.
Referenced by WorldObject::SpellHitResult().
| bool SpellInfo::HasTargetType | ( | ::Targets | target | ) | const |
Definition at line 1609 of file SpellInfo.cpp.
References GetEffects().
Referenced by Player::AddQuest(), and Player::RewardQuest().
| bool SpellInfo::IsAbilityOfSkillType | ( | uint32 | skillType | ) | const |
Definition at line 1686 of file SpellInfo.cpp.
Definition at line 1979 of file SpellInfo.cpp.
References SpellFamilyFlags, and SpellFamilyName.
Referenced by spell_warr_anger_management_proc::CheckArmsProc(), spell_pri_train_of_thought::CheckEffect0(), spell_pri_train_of_thought::CheckEffect1(), spell_mage_fingers_of_frost::CheckFrostboltProc(), spell_mage_fingers_of_frost::CheckFrozenOrbProc(), spell_sha_swirling_maelstrom::CheckHailstormProc(), spell_pal_infusion_of_light::CheckHolyLightProc(), spell_pri_voice_of_harmony::CheckHolyWordChastise(), spell_pri_voice_of_harmony::CheckHolyWordSanctify(), spell_pri_voice_of_harmony::CheckHolyWordSerenity(), spell_warl_cunning_cruelty::CheckProc(), spell_warl_shard_instability::CheckProc(), spell_pri_shadowy_apparitions::CheckProc(), spell_evo_permeating_chill::CheckProc(), spell_warr_enrage_proc::CheckRampageProc(), spell_dh_shattered_souls_devourer::CheckReapSoulGatheringProc(), AuraEffect::IsAffectingSpell(), IsAutoShot(), and spell_warr_improved_whirlwind_cleave::Validate().
| int32 SpellInfo::IsAffectedBySpellMod | ( | SpellModifier const * | mod | ) | const |
Definition at line 1998 of file SpellInfo.cpp.
References HasLabel(), SpellFamilyFlags, SpellFamilyName, SpellModifier::spellId, SPELLMOD_FLAT, SPELLMOD_LABEL_FLAT, SPELLMOD_LABEL_PCT, SPELLMOD_PCT, sSpellMgr, and SpellModifier::type.
Referenced by AuraEffect::ApplySpellMod(), and Player::IsAffectedBySpellmod().
| bool SpellInfo::IsAffectedBySpellMods | ( | ) | const |
Definition at line 1993 of file SpellInfo.cpp.
References HasAttribute(), and SPELL_ATTR3_IGNORE_CASTER_MODIFIERS.
Referenced by AuraEffect::ApplySpellMod(), and Player::GetSpellModValues().
| bool SpellInfo::IsAffectingArea | ( | ) | const |
Definition at line 1697 of file SpellInfo.cpp.
References GetEffects(), and SPELL_EFFECT_PERSISTENT_AREA_AURA.
Referenced by WorldObject::IsValidAssistTarget(), and WorldObject::IsValidAttackTarget().
| bool SpellInfo::IsAllowingDeadTarget | ( | ) | const |
Definition at line 1842 of file SpellInfo.cpp.
References GetEffects(), HasAttribute(), SPELL_ATTR2_ALLOW_DEAD_TARGET, TARGET_FLAG_CORPSE_ALLY, TARGET_FLAG_CORPSE_ENEMY, TARGET_FLAG_UNIT_DEAD, and TARGET_OBJECT_TYPE_CORPSE.
Referenced by CheckTarget(), WorldObject::IsValidAssistTarget(), WorldObject::IsValidAttackTarget(), and Spell::IsValidDeadOrAliveTarget().
| bool SpellInfo::IsAuraExclusiveBySpecificPerCasterWith | ( | SpellInfo const * | spellInfo | ) | const |
Definition at line 2102 of file SpellInfo.cpp.
References GetSpellSpecific(), SPELL_SPECIFIC_ASPECT, SPELL_SPECIFIC_AURA, SPELL_SPECIFIC_BANE, SPELL_SPECIFIC_CURSE, SPELL_SPECIFIC_HAND, SPELL_SPECIFIC_SEAL, and SPELL_SPECIFIC_STING.
Referenced by Aura::CanStackWith().
| bool SpellInfo::IsAuraExclusiveBySpecificWith | ( | SpellInfo const * | spellInfo | ) | const |
Definition at line 2070 of file SpellInfo.cpp.
References GetSpellSpecific(), SPELL_SPECIFIC_CHARM, SPELL_SPECIFIC_DRINK, SPELL_SPECIFIC_ELEMENTAL_SHIELD, SPELL_SPECIFIC_FOOD, SPELL_SPECIFIC_FOOD_AND_DRINK, SPELL_SPECIFIC_MAGE_ARCANE_BRILLANCE, SPELL_SPECIFIC_MAGE_ARMOR, SPELL_SPECIFIC_MAGE_POLYMORPH, SPELL_SPECIFIC_PRESENCE, SPELL_SPECIFIC_PRIEST_DIVINE_SPIRIT, SPELL_SPECIFIC_SCROLL, SPELL_SPECIFIC_WARLOCK_ARMOR, and SPELL_SPECIFIC_WARRIOR_ENRAGE.
Referenced by Aura::CanStackWith().
| bool SpellInfo::IsAutocastable | ( | ) | const |
Definition at line 1762 of file SpellInfo.cpp.
References HasAttribute(), IsPassive(), and SPELL_ATTR1_NO_AUTOCAST_AI.
Referenced by Pet::addSpell(), CharmInfo::AddSpellToActionBar(), WorldSession::HandlePetSpellAutocastOpcode(), CharmInfo::InitCharmCreateSpells(), CharmInfo::LoadPetActionBar(), and Pet::ToggleAutocast().
| bool SpellInfo::IsAutocastEnabledByDefault | ( | ) | const |
Definition at line 1771 of file SpellInfo.cpp.
References HasAttribute(), and SPELL_ATTR9_AUTOCAST_OFF_BY_DEFAULT.
Referenced by Pet::addSpell(), CharmInfo::AddSpellToActionBar(), and CharmInfo::InitCharmCreateSpells().
| bool SpellInfo::IsAutoRepeatRangedSpell | ( | ) | const |
Definition at line 1920 of file SpellInfo.cpp.
References HasAttribute(), and SPELL_ATTR2_AUTO_REPEAT.
Referenced by Player::ExecutePendingSpellCastRequest(), GetAttackType(), IsAutoShot(), Spell::SendSpellGo(), Spell::SendSpellStart(), and Spell::Spell().
| bool SpellInfo::IsAutoShot | ( | ) | const |
Definition at line 1908 of file SpellInfo.cpp.
References IsAffected(), IsAutoRepeatRangedSpell(), and SPELLFAMILY_HUNTER.
Referenced by Unit::_UpdateAutoRepeatSpell(), Spell::prepare(), and Unit::SetCurrentCastSpell().
| bool SpellInfo::IsChanneled | ( | ) | const |
Definition at line 1893 of file SpellInfo.cpp.
References HasAttribute(), SPELL_ATTR1_IS_CHANNELLED, and SPELL_ATTR1_IS_SELF_CHANNELLED.
Referenced by Spell::_cast(), AuraEffect::CalculateEstimatedfTotalPeriodicAmount(), AuraEffect::CalculatePeriodic(), Spell::cancel(), Aura::CanStackWith(), Spell::DoSpellEffectHit(), Spell::EffectPersistentAA(), Spell::finish(), Spell::GetCurrentContainer(), Spell::handle_immediate(), WorldSession::HandleCancelAuraOpcode(), Spell::IsFocusDisabled(), IsMoveAllowedChannel(), Spell::IsNeedSendToClient(), IsStackableOnOneSlotWithDifferentCasters(), WorldObject::ModSpellDurationTime(), NeedsToBeTriggeredByCaster(), AuraEffect::PeriodicTick(), Spell::prepare(), Spell::SelectSpellTargets(), Creature::SetSpellFocus(), and Spell::UpdateSpellCastDataTargets().
| bool SpellInfo::IsCooldownStartedOnEvent | ( | ) | const |
Definition at line 1818 of file SpellInfo.cpp.
References HasAttribute(), IsCooldownStartedOnEventAfterCombat(), and SPELL_ATTR0_COOLDOWN_ON_EVENT.
Referenced by Aura::_ApplyForTarget(), Unit::AddGameObject(), Spell::CheckCast(), SpellHistory::HandleCooldowns(), SpellHistory::LockSpellSchool(), Unit::RemoveGameObjectImpl(), and Unit::SetMinion().
| bool SpellInfo::IsCooldownStartedOnEventAfterCombat | ( | ) | const |
Definition at line 1826 of file SpellInfo.cpp.
References CategoryId, CooldownEventOnLeaveCombat, SpellCategoryEntry::GetFlags(), and sSpellCategoryStore.
Referenced by SpellHistory::HandleCooldowns(), and IsCooldownStartedOnEvent().
| bool SpellInfo::IsDeathPersistent | ( | ) | const |
Definition at line 1832 of file SpellInfo.cpp.
References HasAttribute(), and SPELL_ATTR3_ALLOW_AURA_WHILE_DEAD.
Referenced by Unit::_CreateAuraApplication(), and Aura::IsDeathPersistent().
| bool SpellInfo::IsDifferentRankOf | ( | SpellInfo const * | spellInfo | ) | const |
Definition at line 4510 of file SpellInfo.cpp.
References Id, and IsRankOf().
Referenced by Pet::addSpell(), Player::AddSpell(), and Aura::CanStackWith().
| bool SpellInfo::IsEmpowerSpell | ( | ) | const |
Definition at line 1925 of file SpellInfo.cpp.
References EmpowerStageThresholds.
Referenced by Aura::CalcMaxDuration(), and Spell::Spell().
| bool SpellInfo::IsExplicitDiscovery | ( | ) | const |
Definition at line 1635 of file SpellInfo.cpp.
References EFFECT_0, EFFECT_1, GetEffect(), GetEffects(), Id, SPELL_EFFECT_CREATE_LOOT, SPELL_EFFECT_CREATE_RANDOM_ITEM, and SPELL_EFFECT_SCRIPT_EFFECT.
Referenced by LoadSkillDiscoveryTable().
| bool SpellInfo::IsGroupBuff | ( | ) | const |
Definition at line 1859 of file SpellInfo.cpp.
References GetEffects(), TARGET_CHECK_PARTY, TARGET_CHECK_RAID, and TARGET_CHECK_RAID_CLASS.
Referenced by Unit::RemoveAllGroupBuffsFromCaster().
| bool SpellInfo::IsHighRankOf | ( | SpellInfo const * | spellInfo | ) | const |
Definition at line 4517 of file SpellInfo.cpp.
References ChainEntry, SpellChainNode::first, and SpellChainNode::rank.
Referenced by Pet::addSpell(), and Player::AddSpell().
| bool SpellInfo::IsItemFitToSpellRequirements | ( | Item const * | item | ) | const |
Definition at line 1966 of file SpellInfo.cpp.
References EquippedItemClass, and Item::IsFitToSpellRequirements().
Referenced by Unit::CalcArmorReducedDamage().
| bool SpellInfo::IsLootCrafting | ( | ) | const |
Definition at line 1646 of file SpellInfo.cpp.
References HasEffect(), SPELL_EFFECT_CREATE_LOOT, and SPELL_EFFECT_CREATE_RANDOM_ITEM.
Referenced by Spell::EffectCreateItem2(), SpellMgr::IsSpellValid(), and LoadLootTemplates_Spell().
| bool SpellInfo::IsMoveAllowedChannel | ( | ) | const |
Definition at line 1898 of file SpellInfo.cpp.
References ChannelInterruptFlags, EnumFlag< T >::HasFlag(), IsChanneled(), Moving, and Turning.
Referenced by Spell::CheckMovement().
| bool SpellInfo::IsMultiSlotAura | ( | ) | const |
Definition at line 1807 of file SpellInfo.cpp.
References Id, and IsPassive().
Referenced by Unit::_TryStackingOrRefreshingExistingAura(), and Aura::CanStackWith().
| bool SpellInfo::IsNextMeleeSwingSpell | ( | ) | const |
Definition at line 1903 of file SpellInfo.cpp.
References HasAttribute(), SPELL_ATTR0_ON_NEXT_SWING, and SPELL_ATTR0_ON_NEXT_SWING_NO_DAMAGE.
Referenced by Spell::CheckCast(), Spell::GetCurrentContainer(), Spell::GetMinMaxRange(), Spell::prepare(), and Spell::update().
| bool SpellInfo::IsPassive | ( | ) | const |
Definition at line 1757 of file SpellInfo.cpp.
References HasAttribute(), and SPELL_ATTR0_PASSIVE.
Referenced by _isPositiveEffectImpl(), Unit::AddAura(), Pet::addSpell(), Player::AddSpell(), ApplyAllSpellImmunitiesTo(), Player::ApplyArtifactPowerRank(), Player::ApplyItemDependentAuras(), Aura::CalcMaxDuration(), PlayerAI::CancelAllShapeshifts(), Unit::CancelMountAura(), Unit::CancelShapeshiftForm(), Spell::CheckCast(), Player::ExecutePendingSpellCastRequest(), UnitAI::FillAISpellInfo(), GetAuraRankForLevel(), GetDuration(), GetMaxDuration(), WorldSession::HandleCancelAuraOpcode(), WorldSession::HandleCancelGrowthAuraOpcode(), WorldSession::HandleCancelModSpeedNoControlAuras(), WorldSession::HandleCancelMountAuraOpcode(), SpellHistory::HandleCooldowns(), WorldSession::HandlePetActionHelper(), WorldSession::HandlePetCastSpellOpcode(), spell_gen_clear_debuffs::HandleScript(), AuraEffect::HandleShapeshiftBoosts(), Player::HasItemFitToSpellRequirements(), CharmInfo::InitCharmCreateSpells(), CharmInfo::InitPossessCreateSpells(), IsAutocastable(), IsMultiSlotAura(), Aura::IsPassive(), IsPassiveStackableWithRanks(), IsStackableWithRanks(), SpellMgr::LoadPetFamilySpellsStore(), Unit::ModifyAuraState(), Player::RemoveSpell(), Spell::Spell(), CharmInfo::ToggleCreatureAutocast(), and Player::VehicleSpellInitialize().
| bool SpellInfo::IsPassiveStackableWithRanks | ( | ) | const |
Definition at line 1802 of file SpellInfo.cpp.
References HasEffect(), IsPassive(), and SPELL_EFFECT_APPLY_AURA.
Referenced by Unit::_RemoveNoStackAurasDueToAura().
| bool SpellInfo::IsPositive | ( | ) | const |
Definition at line 1883 of file SpellInfo.cpp.
References NegativeEffects.
Referenced by _isPositiveEffectImpl(), Pet::_LoadAuras(), Player::_LoadAuras(), _LoadSpellDiminishInfo(), PlayerAI::CancelAllShapeshifts(), Unit::CancelMountAura(), Unit::CancelShapeshiftForm(), Player::CastItemCombatSpell(), CheckTarget(), UnitAI::FillAISpellInfo(), AuraEffect::HandleAuraTransform(), WorldSession::HandleCancelAuraOpcode(), WorldSession::HandleCancelGrowthAuraOpcode(), WorldSession::HandleCancelModSpeedNoControlAuras(), WorldSession::HandleCancelMountAuraOpcode(), spell_gen_clear_debuffs::HandleScript(), GameObject::IsAtInteractDistance(), Unit::IsImmunedToDamage(), Totem::IsImmunedToSpellEffect(), Spell::IsPositive(), WorldObject::IsValidAssistTarget(), WorldObject::IsValidAttackTarget(), Spell::PreprocessSpellLaunch(), Spell::TargetInfo::PreprocessTarget(), Unit::SpellCritChanceTaken(), WorldObject::SpellHitResult(), and PetAI::UpdateAI().
| bool SpellInfo::IsPositiveEffect | ( | uint8 | effIndex | ) | const |
Definition at line 1888 of file SpellInfo.cpp.
References NegativeEffects.
Referenced by AuraApplication::_InitFlags(), _InitializeSpellPositivity(), _isPositiveEffectImpl(), CanSpellProvideImmunityAgainstAura(), Spell::TargetInfo::DoDamageAndTriggers(), GetAuraRankForLevel(), Unit::IsImmunedToSpellEffect(), and Spell::PreprocessSpellHit().
| bool SpellInfo::IsPrimaryProfession | ( | ) | const |
Definition at line 1666 of file SpellInfo.cpp.
References GetEffects(), IsPrimaryProfessionSkill(), and SPELL_EFFECT_SKILL.
Referenced by IsPrimaryProfessionFirstRank().
| bool SpellInfo::IsPrimaryProfessionFirstRank | ( | ) | const |
Definition at line 1681 of file SpellInfo.cpp.
References GetRank(), and IsPrimaryProfession().
Referenced by Player::AddSpell(), Trainer::Trainer::CanTeachSpell(), and Player::RemoveSpell().
| bool SpellInfo::IsProfession | ( | ) | const |
Definition at line 1651 of file SpellInfo.cpp.
References GetEffects(), IsProfessionSkill(), and SPELL_EFFECT_SKILL.
| bool SpellInfo::IsRangedWeaponSpell | ( | ) | const |
Definition at line 1913 of file SpellInfo.cpp.
References EquippedItemSubClassMask, HasAttribute(), ITEM_SUBCLASS_MASK_WEAPON_RANGED, SPELL_ATTR0_USES_RANGED_SLOT, SPELLFAMILY_HUNTER, SpellFamilyFlags, and SpellFamilyName.
Referenced by GetAttackType(), Unit::SpellAbsorbBonusDone(), Unit::SpellDamageBonusDone(), and Unit::SpellHealingBonusDone().
| bool SpellInfo::IsRanked | ( | ) | const |
Definition at line 4424 of file SpellInfo.cpp.
References ChainEntry.
Referenced by Pet::addSpell(), Player::AddSpell(), SpellMgr::LoadSpellProcs(), ObjectMgr::LoadSpellScriptNames(), and Player::RemoveSpell().
| bool SpellInfo::IsRankOf | ( | SpellInfo const * | spellInfo | ) | const |
Definition at line 4505 of file SpellInfo.cpp.
References GetFirstRankSpell().
Referenced by Aura::CanStackWith(), IsDifferentRankOf(), and SpellMgr::LoadSpellRequired().
| bool SpellInfo::IsRequiringDeadTarget | ( | ) | const |
Definition at line 1837 of file SpellInfo.cpp.
References HasAttribute(), and SPELL_ATTR3_ONLY_ON_GHOSTS.
Referenced by Spell::IsValidDeadOrAliveTarget(), and Unit::RemoveAllAurasRequiringDeadTarget().
| bool SpellInfo::IsSingleTarget | ( | ) | const |
Definition at line 2061 of file SpellInfo.cpp.
References HasAttribute(), and SPELL_ATTR5_LIMIT_N.
Referenced by Unit::_AddAura(), Aura::CanBeAppliedOn(), Aura::CanBeSaved(), Aura::Create(), and SpellMgr::LoadSpellInfoCorrections().
| bool SpellInfo::IsStackableOnOneSlotWithDifferentCasters | ( | ) | const |
TODO: Re-verify meaning of SPELL_ATTR3_STACK_FOR_DIFF_CASTERS and update conditions here
Definition at line 1812 of file SpellInfo.cpp.
References HasAttribute(), IsChanneled(), SPELL_ATTR3_DOT_STACKING_RULE, and StackAmount.
Referenced by Unit::_TryStackingOrRefreshingExistingAura().
| bool SpellInfo::IsStackableWithRanks | ( | ) | const |
Definition at line 1776 of file SpellInfo.cpp.
References HasAura, HasEffect(), IsPassive(), SPELL_AURA_MOD_SHAPESHIFT, SPELL_EFFECT_APPLY_AREA_AURA_RAID, SPELLFAMILY_DRUID, SPELLFAMILY_PALADIN, SpellFamilyFlags, and SpellFamilyName.
| bool SpellInfo::IsTargetingArea | ( | ) | const |
Definition at line 1707 of file SpellInfo.cpp.
References GetEffects().
Referenced by Spell::CheckCast().
| bool SpellInfo::IsUpdatingTemporaryAuraValuesBySpellMod | ( | ) | const |
Definition at line 2030 of file SpellInfo.cpp.
References Id.
| bool SpellInfo::MeetsFutureSpellPlayerCondition | ( | Player const * | player | ) | const |
Definition at line 5123 of file SpellInfo.cpp.
References ConditionMgr::IsPlayerMeetingCondition(), and ShowFutureSpellPlayerConditionID.
| bool SpellInfo::NeedsExplicitUnitTarget | ( | ) | const |
Definition at line 1716 of file SpellInfo.cpp.
References GetExplicitTargetMask(), and TARGET_FLAG_UNIT_MASK.
Referenced by Spell::CheckCast(), Spell::CheckPetCast(), CharmInfo::InitCharmCreateSpells(), NeedsToBeTriggeredByCaster(), and spell_mage_living_bomb_explosion::Validate().
| bool SpellInfo::NeedsToBeTriggeredByCaster | ( | SpellInfo const * | triggeringSpell | ) | const |
Definition at line 1721 of file SpellInfo.cpp.
References GetEffects(), IsChanneled(), NeedsExplicitUnitTarget(), TARGET_DEST_CASTER, TARGET_FLAG_UNIT_MASK, and TARGET_UNIT_CASTER.
Referenced by Spell::EffectTriggerMissileSpell(), Spell::EffectTriggerSpell(), and AuraEffect::HandleAuraLinked().
| bool SpellInfo::SpellCancelsAuraEffect | ( | AuraEffect const * | aurEff | ) | const |
Definition at line 3910 of file SpellInfo.cpp.
References CanSpellEffectProvideImmunityAgainstAuraEffect(), SpellEffectInfo::EffectAttributes, GetEffects(), AuraEffect::GetSpellEffectInfo(), AuraEffect::GetSpellInfo(), HasAttribute(), EnumFlag< T >::HasFlag(), NoImmunity, SPELL_ATTR0_NO_IMMUNITIES, and SPELL_ATTR1_IMMUNITY_PURGES_EFFECT.
Referenced by Spell::CheckSpellCancelsAuraEffect().
|
friend |
Definition at line 325 of file SpellInfo.h.
|
private |
Definition at line 635 of file SpellInfo.h.
Referenced by _LoadImmunityInfo(), and GetAllowedMechanicMask().
|
private |
Definition at line 632 of file SpellInfo.h.
Referenced by _LoadAuraState(), and GetAuraState().
|
private |
Definition at line 634 of file SpellInfo.h.
Referenced by _LoadSpellDiminishInfo(), GetDiminishingReturnsGroupForSpell(), GetDiminishingReturnsGroupType(), GetDiminishingReturnsLimitDuration(), and GetDiminishingReturnsMaxLevel().
|
private |
Definition at line 629 of file SpellInfo.h.
Referenced by _LoadImmunityInfo(), _UnloadImplicitTargetConditionLists(), CanSpellProvideImmunityAgainstAura(), SpellInfo(), and SpellInfo().
|
private |
Definition at line 631 of file SpellInfo.h.
Referenced by _LoadSpellSpecific(), and GetSpellSpecific().
|
private |
Definition at line 630 of file SpellInfo.h.
Referenced by GetSpellXSpellVisualId(), SpellMgr::LoadSpellInfoCustomAttributes(), and SpellInfo().
| uint32 SpellInfo::ActiveIconFileDataId = 0 |
Definition at line 406 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoCorrections(), and SpellInfo().
| uint32 SpellInfo::Attributes = 0 |
Definition at line 333 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::AttributesCu = 0 |
Definition at line 350 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoCorrections(), and SpellMgr::LoadSpellInfoCustomAttributes().
| uint32 SpellInfo::AttributesEx = 0 |
Definition at line 334 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::AttributesEx10 = 0 |
Definition at line 343 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::AttributesEx11 = 0 |
Definition at line 344 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::AttributesEx12 = 0 |
Definition at line 345 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::AttributesEx13 = 0 |
Definition at line 346 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::AttributesEx14 = 0 |
Definition at line 347 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::AttributesEx15 = 0 |
Definition at line 348 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::AttributesEx16 = 0 |
Definition at line 349 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::AttributesEx2 = 0 |
Definition at line 335 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::AttributesEx3 = 0 |
Definition at line 336 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::AttributesEx4 = 0 |
Definition at line 337 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::AttributesEx5 = 0 |
Definition at line 338 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::AttributesEx6 = 0 |
Definition at line 339 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::AttributesEx7 = 0 |
Definition at line 340 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::AttributesEx8 = 0 |
Definition at line 341 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::AttributesEx9 = 0 |
Definition at line 342 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| EnumFlag<SpellAuraInterruptFlags> SpellInfo::AuraInterruptFlags = SpellAuraInterruptFlags::None |
Definition at line 377 of file SpellInfo.h.
Referenced by Unit::_CreateAuraApplication(), HasAnyAuraInterruptFlag(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| EnumFlag<SpellAuraInterruptFlags2> SpellInfo::AuraInterruptFlags2 = SpellAuraInterruptFlags2::None |
Definition at line 378 of file SpellInfo.h.
Referenced by Unit::_CreateAuraApplication(), HasAnyAuraInterruptFlag(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::BaseLevel = 0 |
Definition at line 388 of file SpellInfo.h.
Referenced by SpellEffectInfo::CalcBaseValue(), SpellEffectInfo::CalcValue(), Player::LearnSkillRewardedSpells(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::CasterAuraSpell = 0 |
Definition at line 362 of file SpellInfo.h.
Referenced by Spell::CheckCast(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::CasterAuraState = 0 |
Definition at line 358 of file SpellInfo.h.
Referenced by Pet::addSpell(), Spell::CheckCast(), Player::HandlePassiveSpellLearn(), SpellMgr::LoadSpellInfoServerside(), Unit::ModifyAuraState(), and SpellInfo().
| AuraType SpellInfo::CasterAuraType = SPELL_AURA_NONE |
Definition at line 366 of file SpellInfo.h.
Referenced by Spell::CheckCast(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| SpellCastTimesEntry const* SpellInfo::CastTimeEntry = nullptr |
Definition at line 370 of file SpellInfo.h.
Referenced by CalcCastTime(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::CategoryId = 0 |
Definition at line 330 of file SpellInfo.h.
Referenced by Unit::AtEndOfEncounter(), Spell::CheckCast(), GetCategory(), IsCooldownStartedOnEventAfterCombat(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::CategoryRecoveryTime = 0 |
Definition at line 372 of file SpellInfo.h.
Referenced by SpellHistory::GetCooldownDurations(), GetRecoveryTime(), SpellMgr::LoadSpellInfoServerside(), DuelResetScript::ResetSpellCooldowns(), SpellHistory::RestoreCooldownStateAfterDuel(), and SpellInfo().
| SpellChainNode const* SpellInfo::ChainEntry = nullptr |
Definition at line 433 of file SpellInfo.h.
Referenced by GetFirstRankSpell(), GetLastRankSpell(), GetNextRankSpell(), GetPrevRankSpell(), GetRank(), IsHighRankOf(), IsRanked(), SpellMgr::LoadSpellRanks(), and SpellMgr::UnloadSpellInfoChains().
| EnumFlag<SpellAuraInterruptFlags> SpellInfo::ChannelInterruptFlags = SpellAuraInterruptFlags::None |
Definition at line 379 of file SpellInfo.h.
Referenced by Spell::handle_immediate(), IsMoveAllowedChannel(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| EnumFlag<SpellAuraInterruptFlags2> SpellInfo::ChannelInterruptFlags2 = SpellAuraInterruptFlags2::None |
Definition at line 380 of file SpellInfo.h.
Referenced by Spell::handle_immediate(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::ChargeCategoryId = 0 |
Definition at line 420 of file SpellInfo.h.
Referenced by Spell::_cast(), spell_mage_alter_time_aura::AfterRemove(), spell_sha_lava_burst::EnsureLavaSurgeCanBeImmediatelyConsumed(), SpellHistory::HandleCooldowns(), spell_warr_tactician::HandleProc(), spell_warr_raging_blow_cooldown_reset::HandleResetCooldown(), SpellHistory::IsReady(), SpellMgr::LoadSpellInfoServerside(), SpellHistory::ModifyCooldown(), Spell::Spell(), SpellInfo(), and spell_warl_shadowburn::TryEnergize().
| float SpellInfo::ConeAngle = 0.0f |
Definition at line 410 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoServerside(), Spell::SelectImplicitConeTargets(), and SpellInfo().
| uint32 SpellInfo::ContentTuningId = 0 |
Definition at line 407 of file SpellInfo.h.
Referenced by SpellEffectInfo::CalcBaseValue(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::CooldownAuraSpellId = 0 |
Definition at line 375 of file SpellInfo.h.
Referenced by SpellHistory::HasCooldown(), and SpellInfo().
| ::Difficulty const SpellInfo::Difficulty = DIFFICULTY_NONE |
Definition at line 329 of file SpellInfo.h.
Referenced by _isPositiveEffectImpl(), Player::AddQuest(), ConditionMgr::addToSpellImplicitTargetConditions(), CalcPredictedHealing(), UnitAI::FillAISpellInfo(), SpellMgr::GetSpellProcEntry(), AuraEffect::HandleLinkedSummon(), SpellMgr::LoadSpellProcs(), and Player::RewardQuest().
| uint32 SpellInfo::Dispel = 0 |
Definition at line 331 of file SpellInfo.h.
Referenced by _LoadAuraState(), _LoadSpellSpecific(), CanSpellEffectProvideImmunityAgainstAuraEffect(), CanSpellProvideImmunityAgainstAura(), spell_ahnkahet_combined_toxins::CheckProc(), GetDispelMask(), GetUnitConditionVariable(), Unit::IsImmunedToSpell(), IsInterruptFlagIgnoredForSpell(), SpellMgr::LoadSpellInfoServerside(), WorldObject::ModSpellDuration(), and SpellInfo().
| uint32 SpellInfo::DmgClass = 0 |
Definition at line 416 of file SpellInfo.h.
Referenced by Unit::CalculateSpellDamageTaken(), Spell::CheckCast(), spell_ahnkahet_combined_toxins::CheckProc(), Spell::TargetInfo::DoDamageAndTriggers(), GetAttackType(), SpellMgr::LoadSpellInfoServerside(), Unit::MeleeSpellHitResult(), Spell::prepareDataForTriggerSystem(), Spell::SearchChainTargets(), Spell::SelectExplicitTargets(), Spell::Spell(), Unit::SpellAbsorbBonusDone(), Unit::SpellCritChanceDone(), Unit::SpellCritChanceTaken(), Unit::SpellDamageBonusDone(), Unit::SpellHealingBonusDone(), WorldObject::SpellHitResult(), SpellInfo(), and Spell::TriggerGlobalCooldown().
| SpellDurationEntry const* SpellInfo::DurationEntry = nullptr |
Definition at line 390 of file SpellInfo.h.
Referenced by Aura::CalcMaxDuration(), WorldObject::CalcSpellDuration(), GetDuration(), GetMaxDuration(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| std::vector<Milliseconds> SpellInfo::EmpowerStageThresholds |
Definition at line 422 of file SpellInfo.h.
Referenced by Spell::handle_immediate(), IsEmpowerSpell(), and SpellInfo().
| int32 SpellInfo::EquippedItemClass = -1 |
Definition at line 402 of file SpellInfo.h.
Referenced by Player::ApplyItemDependentAuras(), Player::CheckAttackFitToAuraRequirement(), Spell::CheckItems(), Spell::EffectProficiency(), Spell::EffectTitanGrip(), FillSpellCastFailedArgs(), Aura::GetProcEffectMask(), Player::HandlePassiveSpellLearn(), Player::HasItemFitToSpellRequirements(), Item::IsFitToSpellRequirements(), IsItemFitToSpellRequirements(), SpellMgr::LoadSpellInfoServerside(), Spell::prepareDataForTriggerSystem(), and SpellInfo().
| int32 SpellInfo::EquippedItemInventoryTypeMask = 0 |
Definition at line 404 of file SpellInfo.h.
Referenced by Item::IsFitToSpellRequirements(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| int32 SpellInfo::EquippedItemSubClassMask = 0 |
Definition at line 403 of file SpellInfo.h.
Referenced by Spell::EffectProficiency(), Spell::EffectTitanGrip(), FillSpellCastFailedArgs(), Player::HasItemFitToSpellRequirements(), Item::IsFitToSpellRequirements(), IsRangedWeaponSpell(), SpellMgr::LoadSpellInfoServerside(), Spell::prepareDataForTriggerSystem(), and SpellInfo().
| uint32 SpellInfo::ExcludeCasterAuraSpell = 0 |
Definition at line 364 of file SpellInfo.h.
Referenced by Spell::CheckCast(), SpellMgr::LoadSpellInfoServerside(), SpellInfo(), spell_gen_trigger_exclude_caster_aura_spell::Validate(), and spell_pal_divine_shield::Validate().
| uint32 SpellInfo::ExcludeCasterAuraState = 0 |
Definition at line 360 of file SpellInfo.h.
Referenced by Spell::CheckCast(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| AuraType SpellInfo::ExcludeCasterAuraType = SPELL_AURA_NONE |
Definition at line 368 of file SpellInfo.h.
Referenced by Spell::CheckCast(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::ExcludeTargetAuraSpell = 0 |
Definition at line 365 of file SpellInfo.h.
Referenced by CheckTarget(), SpellMgr::LoadSpellInfoServerside(), SpellInfo(), spell_putricide_ooze_channel::Validate(), spell_gen_trigger_exclude_target_aura_spell::Validate(), spell_pal_blessing_of_protection::Validate(), and spell_pal_lay_on_hands::Validate().
| uint32 SpellInfo::ExcludeTargetAuraState = 0 |
Definition at line 361 of file SpellInfo.h.
Referenced by CheckTarget(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| AuraType SpellInfo::ExcludeTargetAuraType = SPELL_AURA_NONE |
Definition at line 369 of file SpellInfo.h.
Referenced by CheckTarget(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::ExplicitTargetMask = 0 |
Definition at line 431 of file SpellInfo.h.
Referenced by _InitializeExplicitTargetMask(), and GetExplicitTargetMask().
| uint32 SpellInfo::FacingCasterFlags = 0 |
Definition at line 357 of file SpellInfo.h.
Referenced by Spell::CheckRange(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::IconFileDataId = 0 |
Definition at line 405 of file SpellInfo.h.
Referenced by Spell::finish(), and SpellInfo().
| uint32 const SpellInfo::Id = 0 |
Definition at line 328 of file SpellInfo.h.
Referenced by Spell::_cast(), Unit::_CreateAuraApplication(), Spell::_handle_finish_phase(), _isPositiveEffectImpl(), Pet::_LoadAuras(), Player::_LoadAuras(), _LoadAuraState(), _LoadImmunityInfo(), _LoadSpellDiminishInfo(), _LoadSpellSpecific(), _LoadSqrtTargetLimit(), Unit::_TryStackingOrRefreshingExistingAura(), Aura::_UnapplyForTarget(), SpellScriptBase::_Validate(), SpellScript::_Validate(), AuraScript::_Validate(), spell_valkyr_essences::Absorb(), spell_monk_stagger::AddAndRefreshStagger(), Unit::AddAura(), Player::AddQuest(), SpellMgr::AddSameEffectStackRuleSpellGroups(), CharmInfo::AddSpellToActionBar(), ApplyAllSpellImmunitiesTo(), Player::ApplyEquipSpell(), ApplySpellEffectFix(), Unit::CalcAbsorbResist(), Unit::CalcHealAbsorb(), CalcPowerCost(), Unit::CalculateAverageResistReduction(), ThreatManager::CalculateModifiedThreat(), SpellEffectInfo::CalcValue(), Spell::CanAutoCast(), CanBeInterrupted(), Spell::cancel(), Spell::CanOpenLock(), Aura::CanStackWith(), Player::CanUseBattlegroundObject(), Player::CastItemCombatSpell(), Spell::CheckCast(), Spell::CheckEffectTarget(), CheckLocation(), spell_item_wracking_brilliance::CheckProc(), spell_dk_rime::CheckProc(), spell_gen_boost_2_0_paladin_priest_watch_for_shield::CheckProc(), spell_sha_deeply_rooted_elements::CheckProc(), spell_dk_dark_simulacrum_buff::CheckProc(), spell_sha_mastery_elemental_overload::CheckProc(), spell_pri_heavens_wrath::CheckProc(), spell_pri_surge_of_light::CheckProc(), spell_sha_ancestral_guidance::CheckProc(), spell_sha_voltaic_blaze_aura::CheckProc(), spell_sha_ascendance_restoration::CheckProc(), spell_sha_earthen_rage_passive::CheckProc(), spell_eredar_twins_dark_flame_aura_shadow::CheckProc(), spell_eredar_twins_dark_flame_aura_fire::CheckProc(), spell_tutorial_health_dnt_proc_aura::CheckProc(), spell_dru_t10_restoration_4p_bonus_dummy::CheckProc(), spell_monk_crackling_jade_lightning_knockback_proc_aura::CheckProc(), spell_torghast_touch_of_the_unseen::CheckProc(), spell_mage_hot_streak::CheckProc(), cast_commandscript::CheckSpellExistsAndIsValid(), SpellMgr::CheckSpellGroupStackRules(), AreaTrigger::Create(), DynamicObject::CreateDynamicObject(), npc_silverpine_forest_ettin::DamageTaken(), Unit::DealDamage(), Unit::DealMeleeDamage(), Spell::DelayedChannel(), ScriptedAI::DoCastSpell(), Spell::DoCreateItem(), Spell::DoTriggersOnSpellHit(), Spell::EffectActivateObject(), Spell::EffectCastButtons(), Spell::EffectCreateItem2(), Spell::EffectCreateRandomItem(), Spell::EffectCreateTamedPet(), Spell::EffectDispel(), Spell::EffectDuel(), Spell::EffectDummy(), Spell::EffectEnchantHeldItem(), Spell::EffectEnchantItemPrismatic(), Spell::EffectEnchantItemTmp(), Spell::EffectEnergize(), Spell::EffectForceCast(), Spell::EffectForceCast2(), Spell::EffectHeal(), Spell::EffectInstaKill(), Spell::EffectInterruptCast(), Spell::EffectLearnPetSpell(), Spell::EffectOpenLock(), Spell::EffectPlayMusic(), Spell::EffectPlaySound(), Spell::EffectPullTowards(), Spell::EffectPullTowardsDest(), Spell::EffectRedirectThreat(), Spell::EffectScriptEffect(), Spell::EffectSendEvent(), Spell::EffectSendTaxi(), Spell::EffectSkinning(), Spell::EffectStealBeneficialBuff(), Spell::EffectSummonObject(), Spell::EffectSummonObjectWild(), Spell::EffectSummonPersonalGameObject(), Spell::EffectSummonPet(), Spell::EffectSummonType(), Spell::EffectTameCreature(), Spell::EffectTaunt(), Spell::EffectTeleportUnits(), Spell::EffectTeleportUnitsWithVisualLoadingScreen(), Spell::EffectTransmitted(), Spell::EffectTriggerMissileSpell(), Spell::EffectTriggerRitualOfSummoning(), Spell::EffectTriggerSpell(), Unit::EnergizeBySpell(), Player::ExecutePendingSpellCastRequest(), UnitAI::FillAISpellInfo(), FillSpellCastFailedArgs(), Spell::finish(), Unit::GetCastSpellInfo(), Player::GetCastSpellInfo(), Unit::GetCastSpellXSpellVisualId(), SpellHistory::GetCooldownDurations(), Spell::GetDebugInfo(), SpellMgr::GetFirstSpellInChain(), Unit::GetHighestExclusiveSameEffectSpellGroupValue(), SpellHistory::GetRemainingCooldown(), SpellMgr::GetSpellProcEntry(), spell_ioc_seaforium_blast_credit::HandleAchievementCredit(), AuraEffect::HandleAuraDummy(), AuraEffect::HandleAuraModPacifyAndSilence(), WorldSession::HandleCancelChanneling(), cast_commandscript::HandleCastBackCommand(), cast_commandscript::HandleCastCommand(), cast_commandscript::HandleCastDestCommand(), cast_commandscript::HandleCastDistCommand(), cast_commandscript::HandleCastSelfCommand(), cast_commandscript::HandleCastTargetCommad(), spell_item_deadly_precision_dummy::HandleDummy(), learn_commandscript::HandleLearnCommand(), learn_commandscript::HandleLearnMySpellsCommand(), AuraEffect::HandleLinkedSummon(), spell_dru_thrash::HandleOnHitTarget(), spell_pri_power_leech_passive::HandleOnProc(), Player::HandlePassiveSpellLearn(), WorldSession::HandlePetCastSpellOpcode(), pet_commandscript::HandlePetLearnCommand(), pet_commandscript::HandlePetUnlearnCommand(), spell_azhiccar_player_detection::HandlePlayerDetection(), spell_pri_holy_words::HandleProc(), spell_warr_sweeping_strikes::HandleProc(), spell_warl_seed_of_corruption_dummy_aura::HandleProc(), spell_dk_dark_simulacrum::HandleProc(), spell_sha_mastery_elemental_overload::HandleProc(), spell_dru_power_of_the_archdruid::HandleProc(), spell_pri_power_surge::HandleProc(), spell_pri_divine_word::HandleProc(), spell_dru_eclipse_aura::HandleRemoved(), spell_sartura_whirlwind::HandleScript(), spell_leotheras_the_blind_whirlwind_effect::HandleScript(), spell_gen_dalaran_disguise::HandleScript(), spell_gen_profession_research::HandleScript(), spell_item_book_of_glyph_mastery::HandleScript(), Unit::HandleSpellClick(), WorldSession::HandleSpellEmpowerRelease(), WorldSession::HandleSpellEmpowerRestart(), spell_thaddius_polarity_charge::HandleTargets(), spell_capacitus_polarity_charge::HandleTargets(), Spell::HandleThreatSpells(), learn_commandscript::HandleUnLearnCommand(), WorldSession::HandleUpdateAuraVisual(), WorldSession::HandleUpdateMissileTrajectory(), SpellHistory::HasCooldown(), CharmInfo::InitCharmCreateSpells(), Pet::InitLevelupSpellsForLevel(), CharmInfo::InitPossessCreateSpells(), IsAbilityOfSkillType(), IsDifferentRankOf(), IsExplicitDiscovery(), Unit::IsImmunedToSpell(), IsMultiSlotAura(), SpellMgr::IsSpellValid(), LinkValidator< LinkTags::enchant >::IsTextValid(), IsUpdatingTemporaryAuraValuesBySpellMod(), Spell::IsWithinLOS(), Spell::IsWithinLOS(), npc_guard_generic::JustEngagedWith(), spell_yogg_saron_psychosis::spell_yogg_saron_psychosis_SpellScript::Load(), spell_yogg_saron_lunatic_gaze::spell_yogg_saron_lunatic_gaze_SpellScript::Load(), spell_pri_entropic_rift::Load(), ObjectMgr::LoadCreatureAddons(), ObjectMgr::LoadCreatureTemplateAddons(), SmartAIMgr::LoadHelperStores(), LoadLootTemplates_Spell(), SpellMgr::LoadPetFamilySpellsStore(), SpellMgr::LoadPetLevelupSpellMap(), Aura::LoadScripts(), Spell::LoadScripts(), LoadSkillDiscoveryTable(), SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellProcs(), SpellMgr::LoadSpellRanks(), ObjectMgr::LoadSpellScriptNames(), SpellHistory::ModifyCooldown(), WorldObject::ModSpellCastTime(), WorldObject::ModSpellDuration(), boss_ymiron_the_fallen_king::OnChannelFinished(), npc_jayce_darkweaver_cryptic_hollow_private::OnChannelFinished(), boss_leymor::OnChannelFinished(), boss_the_curator_rtk::OnChannelFinished(), boss_skarmorak::OnChannelFinished(), Scripts::QuelThalas::MurderRow::KystiaManaheart::boss_kystia_manaheart::OnChannelFinished(), Scripts::QuelThalas::MurderRow::KystiaManaheart::boss_kystia_manaheart_nibbles::OnChannelFinished(), boss_cragmaw_the_infested::OnChannelFinished(), boss_garothi_worldbreaker::OnSpellCast(), npc_fel_lord_caza_cryptic_hollow::OnSpellCast(), boss_baron_geddon::OnSpellCast(), boss_garr::OnSpellCast(), npc_core_rager::OnSpellCast(), boss_magmadar::OnSpellCast(), boss_maiden_of_virtue::OnSpellCast(), boss_moroes::OnSpellCast(), boss_doctor_theolen_krastinov::OnSpellCast(), boss_kormok::OnSpellCast(), boss_brutallus::OnSpellCast(), boss_sacrolash::OnSpellCast(), boss_alythess::OnSpellCast(), npc_shadow_image::OnSpellCast(), boss_muru::OnSpellCast(), boss_ayamiss::OnSpellCast(), boss_kurinnaxx::OnSpellCast(), boss_moam::OnSpellCast(), boss_rajaxx::OnSpellCast(), boss_huhuran::OnSpellCast(), boss_sartura::OnSpellCast(), boss_king_dred::OnSpellCast(), boss_magus_telestra::OnSpellCast(), boss_drakos::OnSpellCast(), boss_krystallus::OnSpellCast(), boss_maiden_of_grief::OnSpellCast(), boss_ingvar_the_plunderer::OnSpellCast(), boss_warbringer_omrogg::OnSpellCast(), npc_millhouse_manastorm::OnSpellCast(), boss_dalliah_the_doomsayer::OnSpellCast(), boss_harbinger_skyriss::OnSpellCast(), boss_wrath_scryer_soccothrates::OnSpellCast(), boss_zereketh_the_unbound::OnSpellCast(), boss_commander_sarannis::OnSpellCast(), boss_thorngrin_the_tender::OnSpellCast(), boss_warp_splinter::OnSpellCast(), boss_alar::OnSpellCast(), boss_void_reaver::OnSpellCast(), boss_gatewatcher_gyrokill::OnSpellCast(), boss_gatewatcher_iron_hand::OnSpellCast(), boss_nethermancer_sepethrea::OnSpellCast(), boss_pathaleon_the_calculator::OnSpellCast(), boss_majordomo::OnSpellCast(), boss_ragnaros::OnSpellCast(), boss_tinhead::OnSpellCast(), boss_big_bad_wolf::OnSpellCast(), Scripts::EasternKingdoms::Vashjir::AbyssalDepths::npc_abyssal_depths_whirlpool_vehicle::OnSpellCast(), boss_akilzon::OnSpellCast(), boss_halazzi::OnSpellCast(), boss_hexlord_malacrass::OnSpellCast(), boss_janalai::OnSpellCast(), boss_nalorakk::OnSpellCast(), boss_anetheron::OnSpellCast(), boss_archimonde::OnSpellCast(), boss_azgalor::OnSpellCast(), boss_kazrogal::OnSpellCast(), boss_rage_winterchill::OnSpellCast(), boss_aeonus::OnSpellCast(), boss_chrono_lord_deja::OnSpellCast(), boss_temporus::OnSpellCast(), boss_hodir::OnSpellCast(), boss_exarch_maladaar::OnSpellCast(), boss_nexusprince_shaffar::OnSpellCast(), boss_darkweaver_syth::OnSpellCast(), boss_talon_king_ikiss::OnSpellCast(), boss_doom_lord_kazzak::OnSpellCast(), boss_lady_vashj::OnSpellCast(), boss_leotheras_the_blind::OnSpellCast(), boss_morogrim_tidewalker::OnSpellCast(), boss_hydromancer_thespia::OnSpellCast(), boss_mekgineer_steamrigger::OnSpellCast(), boss_swamplord_muselek::OnSpellCast(), boss_gruul::OnSpellCast(), boss_high_king_maulgar::OnSpellCast(), boss_blindeye_the_seer::OnSpellCast(), boss_omor_the_unscarred::OnSpellCast(), boss_watchkeeper_gargolmar::OnSpellCast(), boss_kaelthas::OnSpellCast(), npc_phoenix_the_eye::OnSpellCast(), npc_volatile_sapling::OnSpellFailed(), npc_shambling_horror_icc::OnSpellFailed(), boss_shade_of_medivh::OnSpellFailed(), boss_kaelthas::OnSpellFailed(), boss_drakos::OnSpellStart(), boss_ingvar_the_plunderer::OnSpellStart(), npc_millhouse_manastorm::OnSpellStart(), boss_commander_sarannis::OnSpellStart(), boss_thorngrin_the_tender::OnSpellStart(), boss_gatewatcher_iron_hand::OnSpellStart(), boss_shade_of_medivh::OnSpellStart(), boss_azhiccar::OnSpellStart(), boss_the_candle_king::OnSpellStart(), boss_hodir::OnSpellStart(), boss_exarch_maladaar::OnSpellStart(), boss_pandemonius::OnSpellStart(), boss_the_lurker_below::OnSpellStart(), boss_magtheridon::OnSpellStart(), boss_kaelthas::OnSpellStart(), Scripts::QuelThalas::MurderRow::KystiaManaheart::boss_kystia_manaheart::OnSpellStart(), Spell::prepare(), Spell::PreprocessSpellHit(), Spell::TargetInfo::PreprocessTarget(), spell_garfrost_permafrost::PreventHitByLoS(), SmartScript::ProcessEvent(), Unit::RemoveAurasWithInterruptFlags(), Player::ResetSpells(), Player::RewardQuest(), spell_sha_molten_thunder_sundering::RollReset(), Spell::SelectEffectImplicitTargets(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitChannelTargets(), Spell::SelectImplicitNearbyTargets(), Spell::SendChannelStart(), SpellHistory::SendCooldownEvent(), Unit::SendHealSpellLog(), Spell::SendInterrupted(), Spell::SendResurrectRequest(), Spell::SendSpellExecuteLog(), Spell::SendSpellGo(), Spell::SendSpellInterruptLog(), Unit::SendSpellNonMeleeDamageLog(), Spell::SendSpellStart(), AuraEffect::SendTickImmune(), CharmInfo::SetSpellAutocast(), list_commandscript::ShouldListAura(), Spell::Spell(), Unit::SpellDamagePctDone(), npc_redridge_huge_boulder::SpellHit(), npc_ley_line_sprouts::SpellHit(), boss_pyroguard_emberseer::SpellHit(), boss_garr::SpellHit(), npc_firesworn::SpellHit(), boss_shazzrah::SpellHit(), boss_attumen::boss_attumenAI::SpellHit(), netherspite_infernal::netherspite_infernalAI::SpellHit(), boss_terestian_illhoof::boss_terestianAI::SpellHit(), boss_romulo::SpellHit(), boss_shade_of_medivh::SpellHit(), npc_sir_thomas::SpellHit(), boss_scarlet_commander_mograine::SpellHit(), npc_summoned_skeleton::SpellHit(), npc_spectral_ghostly_citizen::npc_spectral_ghostly_citizenAI::SpellHit(), npc_muru_portal::SpellHit(), npc_earthen_hallshaper_custodian::SpellHit(), npc_earthen_guardian::SpellHit(), npc_vault_warder::SpellHit(), npc_silverpine_forsaken_bat::SpellHit(), npc_silverpine_orc_sea_pup::SpellHit(), npc_silverpine_agatha_fenris_isle::SpellHit(), npc_silverpine_hillsbrad_refugee::SpellHit(), npc_silverpine_fenris_keep_stalker::SpellHit(), npc_silverpine_fenris_keep_camera::SpellHit(), npc_silverpine_crowley_bloodfang_fenris_keep::SpellHit(), npc_silverpine_generic_actor_fenris_keep::SpellHit(), npc_fire_bomb_zulaman::SpellHit(), npc_dragonhawk_egg::SpellHit(), npc_omen::SpellHit(), npc_garrick_summoned_beach::SpellHit(), npc_grimaxe_summoned_beach::SpellHit(), npc_leader_northbound::SpellHit(), npc_lindie_springstock_q56034::SpellHit(), npc_cork_fizzlepop_q59941::SpellHit(), npc_captain_garrick_q55879::SpellHit(), npc_giant_boar_vehicle_q55879::SpellHit(), npc_warlord_grimaxe_q59942::SpellHit(), boss_archimonde::SpellHit(), npc_crate_helper::npc_crate_helperAI::SpellHit(), boss_onyxia::SpellHit(), npc_hive_zara_swarmer::SpellHit(), boss_buru::SpellHit(), npc_buru_egg::SpellHit(), npc_taskmaster_fizzule::npc_taskmaster_fizzuleAI::SpellHit(), npc_azhiccar_intro_creature::SpellHit(), npc_drustvar_charging_familiar::SpellHit(), boss_aqusirr::SpellHit(), npc_aqusirr_intro_lord_stormsong::SpellHit(), boss_soulbound_goliath::SpellHit(), npc_taelia_get_your_bearings::SpellHit(), boss_anub_arak::SpellHit(), boss_krik_thir::SpellHit(), npc_gatewatcher_petAI::SpellHit(), boss_halion::SpellHit(), boss_twilight_halion::SpellHit(), npc_open_portal_target_toc::SpellHit(), boss_king_dred::SpellHit(), boss_gal_darah::SpellHit(), boss_moorabi::SpellHit(), BloodPrincesBossAI::SpellHit(), boss_deathbringer_saurfang::SpellHit(), npc_high_overlord_saurfang_icc::SpellHit(), npc_muradin_bronzebeard_icc::SpellHit(), npc_saurfang_event::SpellHit(), npc_cult_fanatic::SpellHit(), npc_cult_adherent::SpellHit(), npc_putricide_oozeAI::SpellHit(), npc_argent_captainAI::SpellHit(), boss_the_lich_king::SpellHit(), npc_tirion_fordring_tft::SpellHit(), boss_valithria_dreamwalker::SpellHit(), npc_gothik_trigger::SpellHit(), boss_kelthuzad::SpellHit(), npc_portal_eoe::SpellHit(), npc_arcane_overload::SpellHit(), boss_magus_telestra::SpellHit(), boss_urom::SpellHit(), npc_ruby_emerald_amber_drake::SpellHit(), boss_ionar::SpellHit(), npc_black_hole::SpellHit(), boss_flame_leviathan::boss_flame_leviathanAI::SpellHit(), npc_toasty_fire::SpellHit(), boss_razorscale::SpellHit(), npc_razorscale_harpoon_fire_state::SpellHit(), boss_thorim::boss_thorimAI::SpellHit(), npc_sif::npc_sifAI::SpellHit(), boss_yogg_saron::boss_yogg_saronAI::SpellHit(), npc_grauf::SpellHit(), boss_xevozz::SpellHit(), npc_wyrmrest_defender::SpellHit(), npc_frostbrood_skytalon::SpellHit(), npc_focus_fire::SpellHit(), boss_shade_of_akama::SpellHit(), npc_akama_shade::SpellHit(), boss_najentus::SpellHit(), boss_fathomlord_karathress::SpellHit(), boss_ahune::SpellHit(), npc_shaman_bonfire_bunny::SpellHit(), boss_swamplord_muselek::SpellHit(), npc_claw::SpellHit(), boss_gruul::SpellHit(), boss_kelidan_the_breaker::SpellHit(), boss_vazruden_the_herald::SpellHit(), boss_magtheridon::SpellHit(), npc_fel_orc_convert::SpellHit(), npc_warden_mellichar::SpellHit(), boss_dalliah_the_doomsayer::SpellHit(), boss_high_botanist_freywinn::SpellHit(), npc_warp_splinter_sapling::SpellHit(), boss_alar::SpellHit(), boss_kaelthas::SpellHit(), AdvisorBaseAI::SpellHit(), npc_nagrand_banner::npc_nagrand_bannerAI::SpellHit(), npc_infernal_attacker::npc_infernal_attackerAI::SpellHit(), npc_shadowmoon_tuber_node::npc_shadowmoon_tuber_nodeAI::SpellHit(), Scripts::QuelThalas::MurderRow::KystiaManaheart::boss_kystia_manaheart::SpellHit(), boss_volkaal::SpellHit(), npc_animated_gold::SpellHit(), npc_sporecaller_zancha_musashitake::SpellHit(), npc_wounded_coldridge_mountaineer::npc_wounded_coldridge_mountaineerAI::SpellHit(), npc_wounded_milita::npc_wounded_militaAI::SpellHit(), npc_redridge_subdued_canyon_ettin::SpellHit(), Scripts::Kalimdor::Durotar::npc_lazy_peon::npc_lazy_peonAI::SpellHit(), npc_death_knight_initiate::npc_death_knight_initiateAI::SpellHit(), npc_restless_soul::npc_restless_soulAI::SpellHit(), boss_felmyst::SpellHit(), boss_sathrovarr::SpellHit(), Scripts::EasternKingdoms::Vashjir::Chapter1::npc_vashjir_drowning_soldier::SpellHit(), npc_silverpine_forest_ettin::SpellHit(), npc_troll_volunteer::SpellHit(), npc_survivors_healed_by_leader_beach_private< PathId, WaitTime >::SpellHit(), npc_alliance_survivors_beach_laying< ConversationId >::SpellHit(), npc_bo_beach_laying::SpellHit(), npc_mithran_dawntracker_beach_laying::SpellHit(), npc_lana_jordan_beach_laying::SpellHit(), npc_sparring_partner_enhanced_combat_training_warrior::SpellHit(), npc_sparring_partner_enhanced_combat_training_paladin::SpellHit(), npc_sparring_partner_enhanced_combat_training_rogue::SpellHit(), npc_sparring_partner_enhanced_combat_training_priest::SpellHit(), npc_sparring_partner_enhanced_combat_training_shaman::SpellHit(), npc_sparring_partner_enhanced_combat_training_mage::SpellHit(), npc_sparring_partner_enhanced_combat_training_warlock::SpellHit(), npc_sparring_partner_enhanced_combat_training_monk::SpellHit(), npc_sparring_partner_enhanced_combat_training_druid::SpellHit(), npc_scoutomatic_5000::SpellHit(), npc_choppy_booster_scout::SpellHit(), boss_ossirian::boss_ossirianAI::SpellHit(), boss_twinemperorsAI::SpellHit(), npc_aged_dying_ancient_kodo::npc_aged_dying_ancient_kodoAI::SpellHit(), npc_drustvar_frightend_woodsman::SpellHit(), boss_sister_svalna::SpellHit(), npc_icc_orb_controller::SpellHit(), boss_faerlina::SpellHit(), boss_razuvious::SpellHit(), npc_stalagg::SpellHit(), npc_feugen::SpellHit(), boss_malygos::SpellHit(), npc_living_constellation::SpellHit(), npc_ichor_globule::SpellHit(), go_caribou_trap::SpellHit(), go_mammoth_trap::SpellHit(), npc_outhouse_bunny::SpellHit(), npc_wounded_skirmisher::SpellHit(), npc_venture_co_straggler::SpellHit(), npc_tournament_training_dummy::SpellHit(), npc_jungle_punch_target::SpellHit(), npc_brunnhildar_prisoner::SpellHit(), npc_wild_wyrm::SpellHit(), npc_storm_cloud::SpellHit(), npc_nether_drake::npc_nether_drakeAI::SpellHit(), npc_mature_netherwing_drake::npc_mature_netherwing_drakeAI::SpellHit(), npc_enslaved_netherwing_drake::npc_enslaved_netherwing_drakeAI::SpellHit(), npc_pet_dk_ebon_gargoyle::SpellHit(), npc_injured_patient::npc_injured_patientAI::SpellHit(), npc_dark_fiend::SpellHitTarget(), npc_shard_of_torment::SpellHitTarget(), boss_krik_thir::SpellHitTarget(), boss_devourer_of_souls::SpellHitTarget(), npc_vengeful_shade::SpellHitTarget(), npc_putricide_oozeAI::SpellHitTarget(), boss_rotface::SpellHitTarget(), boss_four_horsemen_baron::SpellHitTarget(), boss_four_horsemen_thane::SpellHitTarget(), boss_four_horsemen_sir::SpellHitTarget(), boss_sara::boss_saraAI::SpellHitTarget(), npc_maghar_captive::npc_maghar_captiveAI::SpellHitTarget(), npc_kurenai_captive::npc_kurenai_captiveAI::SpellHitTarget(), npc_train_wrecker::npc_train_wreckerAI::SpellHitTarget(), npc_fel_lord_caza_cryptic_hollow::SpellHitTarget(), boss_felblood_kaelthas::SpellHitTarget(), boss_shade_of_medivh::SpellHitTarget(), npc_dark_rider_of_acherus::SpellHitTarget(), boss_high_inquisitor_whitemane::SpellHitTarget(), boss_tunk::SpellHitTarget(), boss_epoch::boss_epochAI::SpellHitTarget(), boss_infinite_corruptor::boss_infinite_corruptorAI::SpellHitTarget(), boss_onyxia::SpellHitTarget(), boss_the_candle_king::SpellHitTarget(), boss_lord_stormsong::SpellHitTarget(), boss_soulbound_goliath::SpellHitTarget(), boss_volazj::SpellHitTarget(), npc_anub_ar_skirmisher::SpellHitTarget(), boss_garfrost::SpellHitTarget(), boss_drakkari_elemental::SpellHitTarget(), boss_deathbringer_saurfang::SpellHitTarget(), boss_festergut::SpellHitTarget(), boss_lady_deathwhisper::SpellHitTarget(), boss_sindragosa::SpellHitTarget(), boss_sister_svalna::SpellHitTarget(), boss_grobbulus::SpellHitTarget(), boss_sapphiron::SpellHitTarget(), npc_azure_ring_captain::SpellHitTarget(), npc_malformed_ooze::SpellHitTarget(), boss_flame_leviathan::boss_flame_leviathanAI::SpellHitTarget(), npc_unstable_sun_beam::npc_unstable_sun_beamAI::SpellHitTarget(), boss_general_vezax::boss_general_vezaxAI::SpellHitTarget(), boss_thorim::boss_thorimAI::SpellHitTarget(), boss_ymiron::SpellHitTarget(), npc_haiphoon::SpellHitTarget(), npc_water_globule::SpellHitTarget(), boss_kiggler_the_crazed::SpellHitTarget(), boss_warchief_kargath_bladefist::SpellHitTarget(), npc_simon_bunny::npc_simon_bunnyAI::SpellHitTarget(), Scripts::Pandaria::TheWanderingIsle::npc_jaomin_ro::SpellHitTarget(), Scripts::Pandaria::TheWanderingIsle::npc_jaomin_ro_hawk::SpellHitTarget(), boss_lethon::boss_lethonAI::SpellHitTarget(), SpellHistory::StartCooldown(), Spell::SummonGuardian(), Spell::TakeCastItem(), Pet::ToggleAutocast(), CharmInfo::ToggleCreatureAutocast(), DivineImageHelpers::Trigger(), GameObject::TriggeringLinkedGameObject(), Spell::update(), Spell::UpdateChanneledTargetList(), Player::UpdateCraftSkill(), spell_deathwhisper_dark_reckoning::Validate(), spell_garothi_fel_bombardment_periodic::Validate(), spell_garothi_annihilation_selector::Validate(), spell_bg_seething_shore_parachute::Validate(), spell_lick_selector_guarm::Validate(), spell_volatile_foam_aura< SpellIdOnExpire >::Validate(), spell_occuthar_eyes_of_occuthar::spell_occuthar_eyes_of_occuthar_SpellScript::Validate(), spell_kalecgos_tap_check::Validate(), spell_muru_negative_energy_periodic::Validate(), Scripts::EasternKingdoms::Westfall::spell_westfall_reaping_blows::Validate(), spell_pilgrims_bounty_feast_on::Validate(), spell_baleroc_decimating_strike::Validate(), spell_husam_hammer_fist::Validate(), spell_husam_bad_intentions::Validate(), spell_husam_hurl::Validate(), spell_ooze_zap::Validate(), spell_halion_combustion_consumption_periodic::Validate(), spell_mistress_kiss_area::Validate(), spell_fel_streak_visual::Validate(), spell_jormungars_slime_pool::Validate(), spell_icehowl_arctic_breath::Validate(), spell_trollgore_invader_taunt::Validate(), spell_putricide_ooze_tank_protection::Validate(), spell_rotface_mutated_infection_aura::Validate(), spell_frostwarden_handler_focus_fire_aura::Validate(), spell_grobbulus_poison_cloud::Validate(), spell_krystallus_shatter_effect::Validate(), spell_algalon_phase_constellation::Validate(), spell_tar_blaze::Validate(), spell_hodir_freeze::Validate(), spell_hodir_dispel_magic::Validate(), spell_hodir_melt_ice::Validate(), spell_ulduar_cancel_stone_grip::spell_ulduar_cancel_stone_gripSpellScript::Validate(), spell_borean_tundra_nerubar_web_random_unit_not_on_quest::Validate(), spell_borean_tundra_dispel_freed_soldier_debuff::Validate(), spell_icecrown_cannons_target::Validate(), spell_icecrown_bested_trigger::Validate(), spell_sholazar_take_sputum_sample::Validate(), spell_wintergrasp_tenacity_refresh::Validate(), spell_mother_shahraz_saber_lash::Validate(), spell_mother_shahraz_generic_periodic::Validate(), spell_leotheras_the_blind_demon_link::Validate(), spell_gruul_shatter_effect::Validate(), spell_broggok_poison_cloud::Validate(), spell_astromancer_wrath_of_the_astromancer::Validate(), spell_anduin_wrynn_befouled_barrier_absorb::Validate(), spell_azerite_gen_aura_calc_from_2nd_effect_triggered_spell::Validate(), spell_dh_calcified_spikes_periodic::Validate(), spell_dh_darkness::Validate(), spell_dh_deflecting_spikes::Validate(), spell_dh_last_resort::Validate(), spell_dh_shattered_destiny::Validate(), spell_dh_soul_carver::Validate(), spell_dk_anti_magic_shell::Validate(), spell_dk_apply_bone_shield::Validate(), spell_dk_death_pact::Validate(), spell_dk_death_strike::Validate(), spell_dk_ghoul_explode::Validate(), spell_dk_improved_death_strike::Validate(), spell_dk_rime::Validate(), spell_dru_embrace_of_the_dream::Validate(), spell_dru_flower_walk::Validate(), spell_dru_flower_walk_heal::Validate(), spell_dru_inner_peace::Validate(), spell_dru_mangle::Validate(), spell_dru_natures_grace::Validate(), spell_dru_pulverize::Validate(), spell_dru_rake::Validate(), spell_dru_wild_growth::Validate(), spell_evo_emerald_blossom_heal::Validate(), spell_evo_fire_breath_damage::Validate(), spell_evo_ruby_embers::Validate(), spell_gen_arena_drink::Validate(), spell_gen_aura_of_fear::Validate(), spell_gen_burning_depths_necrolyte_image::Validate(), spell_gen_dalaran_disguise::Validate(), spell_gen_gift_of_naaru::Validate(), spell_gen_oracle_wolvar_reputation::Validate(), spell_gen_remove_on_health_pct::Validate(), spell_gen_eject_passenger::Validate(), spell_gen_mixology_bonus::Validate(), spell_gen_face_rage::Validate(), spell_gen_random_aggro_taunt::Validate(), spell_hun_aspect_of_the_fox::Validate(), spell_hun_bleak_arrows::Validate(), spell_hun_cobra_sting::Validate(), spell_hun_masters_call::Validate(), spell_hun_quick_draw_speed::Validate(), spell_hun_scouts_instincts::Validate(), spell_item_crystal_spire_of_karabor::Validate(), spell_item_artifical_stamina::Validate(), spell_item_artifical_damage::Validate(), spell_item_water_strider::Validate(), spell_item_seal_of_darkshire_nobility::Validate(), spell_item_grips_of_forsaken_sanity::Validate(), spell_mage_arcane_barrage::Validate(), spell_mage_arcane_explosion::Validate(), spell_mage_cauterize_AuraScript::Validate(), spell_mage_flame_on::Validate(), spell_mage_prismatic_barrier::Validate(), spell_mage_scald::Validate(), spell_monk_pressure_points::Validate(), spell_monk_save_them_all::Validate(), spell_pal_ardent_defender::Validate(), spell_pal_awakening::Validate(), spell_pal_blade_of_vengeance::Validate(), spell_pal_eternal_flame::Validate(), spell_pal_eternal_flame_aura::Validate(), spell_pal_execution_sentence_aura::Validate(), spell_pal_judgment_of_justice::Validate(), spell_pal_justicars_vengeance::Validate(), spell_pal_shield_of_vengeance::Validate(), spell_pri_angelic_bulwark::Validate(), spell_pri_answered_prayers::Validate(), spell_pri_atonement::Validate(), spell_pri_circle_of_healing::Validate(), spell_pri_deaths_torment::Validate(), spell_pri_dispersing_light::Validate(), spell_pri_divine_word::Validate(), spell_pri_divine_word_sanctuary_heal::Validate(), spell_pri_divinity::Validate(), spell_pri_guardian_spirit::Validate(), spell_pri_holy_word_salvation::Validate(), spell_pri_lights_wrath::Validate(), spell_pri_shadow_word_death::Validate(), spell_pri_void_volley::Validate(), spell_quest_portal_with_condition::Validate(), spell_rog_backstab::Validate(), spell_rog_cheat_death::Validate(), spell_sha_deeply_rooted_elements::Validate(), spell_sha_downpour::Validate(), spell_sha_earthquake_tick::Validate(), spell_sha_lava_lash::Validate(), spell_sha_stormflurry::Validate(), spell_sha_swirling_maelstrom::Validate(), spell_sha_thorims_invocation_primer::Validate(), spell_warl_burning_rush::Validate(), spell_warl_dark_pact::Validate(), spell_warl_devour_magic::Validate(), spell_warl_drain_soul::Validate(), spell_warl_shadowburn::Validate(), spell_warr_bloodthirst_enrage::Validate(), spell_warr_devastator::Validate(), spell_warr_execute::Validate(), spell_warr_frenzied_enrage::Validate(), spell_warr_powerful_enrage::Validate(), spell_warr_improved_whirlwind::Validate(), spell_warr_item_t10_prot_4p_bonus::Validate(), spell_warr_unbridled_ferocity::Validate(), spell_sanguine_feast_selector::Validate(), ObjectMgr::ValidateSpellScripts(), Player::VehicleSpellInitialize(), Spell::~Spell(), and SpellEvent::~SpellEvent().
| EnumFlag<SpellInterruptFlags> SpellInfo::InterruptFlags = SpellInterruptFlags::None |
Definition at line 376 of file SpellInfo.h.
Referenced by CanBeInterrupted(), Spell::CheckMovement(), Spell::IsAutoActionResetSpell(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| std::unordered_set<uint32> SpellInfo::Labels |
Definition at line 421 of file SpellInfo.h.
Referenced by Aura::CanBeAppliedOn(), Unit::CanCastSpellWhileMoving(), HasLabel(), and SpellInfo().
| float SpellInfo::LaunchDelay = 0.0f |
Definition at line 394 of file SpellInfo.h.
Referenced by Spell::_cast(), Spell::AddCorpseTarget(), Spell::AddGOTarget(), Spell::AddUnitTarget(), SpellEvent::Execute(), WorldObject::GetMagicHitRedirectTarget(), Spell::handle_delayed(), HasHitDelay(), SpellMgr::LoadSpellInfoServerside(), Spell::SelectSpellTargets(), and SpellInfo().
| uint32 SpellInfo::MaxAffectedTargets = 0 |
Definition at line 413 of file SpellInfo.h.
Referenced by Unit::_AddAura(), spell_pal_glyph_of_holy_light::FilterTargets(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoServerside(), SpellInfo(), and SpellValue::SpellValue().
| uint32 SpellInfo::MaxLevel = 0 |
Definition at line 387 of file SpellInfo.h.
Referenced by SpellEffectInfo::CalcValue(), Spell::CheckItems(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::MaxTargetLevel = 0 |
Definition at line 412 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| int32 SpellInfo::MaxTargets = 0 |
Definition at line 436 of file SpellInfo.h.
Referenced by Spell::DoEffectOnLaunchTarget().
| uint32 SpellInfo::Mechanic = 0 |
Definition at line 332 of file SpellInfo.h.
Referenced by _isPositiveEffectImpl(), _LoadAuraState(), CanSpellEffectProvideImmunityAgainstAuraEffect(), CanSpellProvideImmunityAgainstAura(), CheckTarget(), GetAllEffectsMechanicMask(), GetEffectMechanic(), GetEffectMechanicMask(), GetSpellMechanicMaskByEffectMask(), Unit::HasAuraWithMechanic(), Unit::IsImmunedToSpell(), LoadSkillDiscoveryTable(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoServerside(), Unit::MeleeDamageBonusDone(), Unit::RemoveAurasWithMechanic(), Unit::SpellDamagePctDone(), boss_attumen::boss_attumenAI::SpellHit(), SpellInfo(), and Player::UpdateCraftSkill().
| float SpellInfo::MinDuration = 0.0f |
Definition at line 395 of file SpellInfo.h.
Referenced by Spell::AddCorpseTarget(), Spell::AddGOTarget(), Spell::AddUnitTarget(), Spell::CalculateDelayMomentForDst(), WorldObject::GetMagicHitRedirectTarget(), and SpellInfo().
| std::bitset<MAX_SPELL_EFFECTS> SpellInfo::NegativeEffects |
Definition at line 351 of file SpellInfo.h.
Referenced by _InitializeSpellPositivity(), Unit::IsImmunedToSpell(), IsPositive(), IsPositiveEffect(), and SpellMgr::LoadSpellInfoCorrections().
| int32 SpellInfo::NumNonDiminishedTargets = 0 |
Definition at line 437 of file SpellInfo.h.
Referenced by Spell::DoEffectOnLaunchTarget().
| std::array<SpellPowerEntry const*, MAX_POWERS_PER_SPELL> SpellInfo::PowerCosts = {} |
Definition at line 391 of file SpellInfo.h.
Referenced by Aura::Aura(), CalcPowerCost(), CalcPowerCost(), spell_warr_execute::GetRageCost(), spell_dk_t20_2p_rune_empowered::HandleProc(), and SpellInfo().
| uint32 SpellInfo::PreventionType = 0 |
Definition at line 417 of file SpellInfo.h.
Referenced by CanBeInterrupted(), Spell::CheckCasterAuras(), SpellHistory::IsReady(), SpellMgr::LoadSpellInfoServerside(), SpellHistory::LockSpellSchool(), and SpellInfo().
| float SpellInfo::ProcBasePPM = 0.0f |
Definition at line 385 of file SpellInfo.h.
Referenced by CalcProcPPM(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::ProcChance = 0 |
Definition at line 382 of file SpellInfo.h.
Referenced by Player::CastItemCombatSpell(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoServerside(), SpellMgr::LoadSpellProcs(), and SpellInfo().
| uint32 SpellInfo::ProcCharges = 0 |
Definition at line 383 of file SpellInfo.h.
Referenced by Pet::_LoadAuras(), Player::_LoadAuras(), Aura::CalcMaxCharges(), SpellMgr::LoadSpellInfoServerside(), SpellMgr::LoadSpellProcs(), and SpellInfo().
| uint32 SpellInfo::ProcCooldown = 0 |
Definition at line 384 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoServerside(), SpellMgr::LoadSpellProcs(), and SpellInfo().
| ProcFlagsInit SpellInfo::ProcFlags |
Definition at line 381 of file SpellInfo.h.
Referenced by AuraEffect::CalculateAmount(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoServerside(), and SpellMgr::LoadSpellProcs().
| std::vector<SpellProcsPerMinuteModEntry const*> SpellInfo::ProcPPMMods |
Definition at line 386 of file SpellInfo.h.
Referenced by CalcProcPPM(), and SpellInfo().
| SpellRangeEntry const* SpellInfo::RangeEntry = nullptr |
Definition at line 392 of file SpellInfo.h.
Referenced by Spell::CheckRange(), GetMaxRange(), GetMinMaxRange(), Spell::GetMinMaxRange(), GetMinRange(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoServerside(), SpellTargetSelector::operator()(), and SpellInfo().
| std::array<int32, MAX_SPELL_REAGENTS> SpellInfo::Reagent = {} |
Definition at line 399 of file SpellInfo.h.
Referenced by Spell::CheckItems(), SpellMgr::IsSpellValid(), Player::RemovePet(), SpellInfo(), and Spell::TakeReagents().
| std::array<int16, MAX_SPELL_REAGENTS> SpellInfo::ReagentCount = {} |
Definition at line 400 of file SpellInfo.h.
Referenced by Spell::CheckItems(), Player::RemovePet(), SpellInfo(), and Spell::TakeReagents().
| std::vector<SpellReagentsCurrencyEntry const*> SpellInfo::ReagentsCurrency |
Definition at line 401 of file SpellInfo.h.
Referenced by Spell::CheckItems(), SpellInfo(), and Spell::TakeReagents().
| uint32 SpellInfo::RecoveryTime = 0 |
Definition at line 371 of file SpellInfo.h.
Referenced by UnitAI::FillAISpellInfo(), SpellHistory::GetCooldownDurations(), GetRecoveryTime(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoServerside(), DuelResetScript::ResetSpellCooldowns(), SpellHistory::RestoreCooldownStateAfterDuel(), and SpellInfo().
| int32 SpellInfo::RequiredAreasID = -1 |
Definition at line 418 of file SpellInfo.h.
Referenced by CheckLocation(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::RequiredExplicitTargetMask = 0 |
Definition at line 432 of file SpellInfo.h.
Referenced by _InitializeExplicitTargetMask(), and CheckExplicitTarget().
| uint32 SpellInfo::RequiresSpellFocus = 0 |
Definition at line 356 of file SpellInfo.h.
Referenced by Spell::CheckCast(), FillSpellCastFailedArgs(), SpellMgr::LoadSpellInfoServerside(), Spell::SearchSpellFocus(), Spell::SelectImplicitNearbyTargets(), and SpellInfo().
| struct SpellInfo::ScalingInfo SpellInfo::Scaling |
Referenced by SpellEffectInfo::CalcBaseValue(), and SpellInfo().
| uint32 SpellInfo::SchoolMask = 0 |
Definition at line 419 of file SpellInfo.h.
Referenced by CanSpellEffectProvideImmunityAgainstAuraEffect(), CanSpellProvideImmunityAgainstAura(), spell_warr_tactician::CheckEffectProc(), Unit::DealMeleeDamage(), Spell::DoEffectOnLaunchTarget(), GetSchoolMask(), AuraEffect::HandlePeriodicDamageAurasTick(), AuraEffect::HandlePeriodicHealthLeechAuraTick(), AuraEffect::HandlePeriodicPowerBurnAuraTick(), SmartAIMgr::IsEventValid(), SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellInfoServerside(), SmartScript::ProcessEvent(), npc_pool_of_tar::npc_pool_of_tarAI::SpellHit(), and SpellInfo().
| uint32 SpellInfo::ShowFutureSpellPlayerConditionID = 0 |
Definition at line 408 of file SpellInfo.h.
Referenced by Player::LearnSkillRewardedSpells(), MeetsFutureSpellPlayerCondition(), and SpellInfo().
| float SpellInfo::Speed = 0.0f |
Definition at line 393 of file SpellInfo.h.
Referenced by Spell::AddCorpseTarget(), Spell::AddGOTarget(), Spell::AddUnitTarget(), Spell::CalculateDelayMomentForDst(), Spell::EffectCharge(), Spell::EffectChargeDest(), Spell::EffectTransmitted(), WorldObject::GetMagicHitRedirectTarget(), HasHitDelay(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| flag128 SpellInfo::SpellFamilyFlags |
Definition at line 415 of file SpellInfo.h.
Referenced by _isPositiveEffectImpl(), _LoadAuraState(), _LoadSpellDiminishInfo(), _LoadSpellSpecific(), Player::CanNoReagentCast(), Spell::CheckCast(), Spell::CheckItems(), spell_pri_vampiric_embrace::CheckProc(), spell_pal_item_t6_trinket::CheckProc(), Spell::EffectHeal(), Spell::EffectModifyCooldowns(), Unit::GetAuraEffect(), Aura::HandleAuraSpecificMods(), spell_warl_soul_swap_dot_marker::HandleHit(), AuraEffect::HandlePeriodicManaLeechAuraTick(), spell_dru_item_t6_trinket::HandleProc(), spell_sha_item_t6_trinket::HandleProc(), spell_dk_glyph_of_scourge_strike_script::HandleScriptEffect(), IsAffected(), IsAffectedBySpellMod(), IsRangedWeaponSpell(), IsStackableWithRanks(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellInfoServerside(), Unit::MeleeDamageBonusTaken(), Unit::RemoveAurasWithFamily(), Unit::SpellDamagePctDone(), Unit::SpellHealingBonusTaken(), npc_draenei_survivor::npc_draenei_survivorAI::SpellHit(), and SpellInfo().
| uint32 SpellInfo::SpellFamilyName = 0 |
Definition at line 414 of file SpellInfo.h.
Referenced by _isPositiveEffectImpl(), _LoadAuraState(), _LoadSpellDiminishInfo(), _LoadSpellSpecific(), Unit::CalculateAverageResistReduction(), Aura::CanStackWith(), Spell::CheckItems(), spell_pri_surge_of_light::CheckProc(), spell_item_alchemist_stone::CheckProc(), CheckTargetCreatureType(), Spell::EffectHeal(), Spell::EffectModifyCooldowns(), Spell::EffectScriptEffect(), Spell::EffectWeaponDmg(), Unit::GetAuraEffect(), AuraEffect::HandleAuraDummy(), Aura::HandleAuraSpecificMods(), spell_warl_soul_swap_dot_marker::HandleHit(), learn_commandscript::HandleLearnMySpellsCommand(), AuraEffect::HandlePeriodicManaLeechAuraTick(), spell_dk_glyph_of_scourge_strike_script::HandleScriptEffect(), IsAffected(), IsAffectedBySpellMod(), AuraEffect::IsAffectingSpell(), IsRangedWeaponSpell(), IsStackableWithRanks(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellInfoServerside(), Unit::MeleeDamageBonusTaken(), WorldObject::ModSpellCastTime(), WorldObject::ModSpellDuration(), WorldObject::ModSpellDurationTime(), Unit::RemoveAurasWithFamily(), Player::ResetSpells(), Unit::SpellCritChanceTaken(), Unit::SpellDamagePctDone(), Unit::SpellHealingBonusDone(), Unit::SpellHealingBonusTaken(), Unit::SpellHealingPctDone(), and SpellInfo().
| uint32 SpellInfo::SpellLevel = 0 |
Definition at line 389 of file SpellInfo.h.
Referenced by SpellEffectInfo::CalcBaseValue(), CalcPowerCost(), SpellEffectInfo::CalcValue(), Spell::CheckCast(), learn_commandscript::HandleLearnMySpellsCommand(), Spell::HandleThreatSpells(), Pet::InitLevelupSpellsForLevel(), Player::LearnSkillRewardedSpells(), Pet::LearnSpecializationSpells(), Player::LearnSpecializationSpells(), SpellMgr::LoadPetLevelupSpellMap(), SpellMgr::LoadSpellInfoServerside(), WorldObject::MagicSpellHitResult(), Player::ResetSpells(), and SpellInfo().
| LocalizedString const* SpellInfo::SpellName = nullptr |
Definition at line 409 of file SpellInfo.h.
Referenced by Aura::GetDebugInfo(), Spell::GetDebugInfo(), debug_commandscript::HandleDebugThreatInfoCommand(), LinkValidator< LinkTags::spell >::IsTextValid(), LinkValidator< LinkTags::enchant >::IsTextValid(), list_commandscript::ListAurasCommand(), list_commandscript::ShouldListAura(), SpellInfo(), and SpellInfo().
| struct { ... } SpellInfo::SqrtDamageAndHealingDiminishing |
Referenced by _LoadSqrtTargetLimit(), and Spell::DoEffectOnLaunchTarget().
| uint32 SpellInfo::StackAmount = 0 |
Definition at line 396 of file SpellInfo.h.
Referenced by ApplyWhirlwindCleaveAura(), Aura::CalcMaxStackAmount(), Spell::DoSpellEffectHit(), Spell::EffectTriggerSpell(), AuraEffect::HandleAuraDummy(), spell_item_deadly_precision_dummy::HandleDummy(), IsStackableOnOneSlotWithDifferentCasters(), Aura::IsUsingStacks(), SpellMgr::LoadSpellInfoServerside(), Aura::ModStackAmount(), spell_gen_defend::RefreshVisualShields(), spell_gen_defend::RemoveVisualShields(), and SpellInfo().
| uint64 SpellInfo::Stances = 0 |
Definition at line 352 of file SpellInfo.h.
Referenced by CheckShapeshift(), Player::HandlePassiveSpellLearn(), AuraEffect::HandleShapeshiftBoosts(), Aura::IsRemovedOnShapeLost(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint64 SpellInfo::StancesNot = 0 |
Definition at line 353 of file SpellInfo.h.
Referenced by CheckShapeshift(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::StartRecoveryCategory = 0 |
Definition at line 373 of file SpellInfo.h.
Referenced by SpellHistory::AddGlobalCooldown(), SpellHistory::CancelGlobalCooldown(), Spell::CheckPetCast(), SpellHistory::GetRemainingGlobalCooldown(), SpellHistory::HasGlobalCooldown(), SpellMgr::LoadSpellInfoServerside(), SpellInfo(), and Spell::TriggerGlobalCooldown().
| uint32 SpellInfo::StartRecoveryTime = 0 |
Definition at line 374 of file SpellInfo.h.
Referenced by Spell::CancelGlobalCooldown(), Player::EquipItem(), UnitAI::FillAISpellInfo(), SpellMgr::LoadSpellInfoServerside(), SpellInfo(), and Spell::TriggerGlobalCooldown().
| uint32 SpellInfo::TargetAuraSpell = 0 |
Definition at line 363 of file SpellInfo.h.
Referenced by CheckTarget(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::TargetAuraState = 0 |
Definition at line 359 of file SpellInfo.h.
Referenced by CheckTarget(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| AuraType SpellInfo::TargetAuraType = SPELL_AURA_NONE |
Definition at line 367 of file SpellInfo.h.
Referenced by CheckTarget(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::TargetCreatureType = 0 |
Definition at line 355 of file SpellInfo.h.
Referenced by CheckTargetCreatureType(), SpellMgr::LoadSpellInfoServerside(), and SpellInfo().
| uint32 SpellInfo::Targets = 0 |
Definition at line 354 of file SpellInfo.h.
Referenced by _InitializeExplicitTargetMask(), and SpellMgr::LoadSpellInfoServerside().
| std::array<int32, MAX_SPELL_TOTEMS> SpellInfo::Totem = {} |
Definition at line 397 of file SpellInfo.h.
Referenced by Spell::CheckItems(), FillSpellCastFailedArgs(), and TempSummon::IsSharingTotemSlotWith().
| std::array<uint16, MAX_SPELL_TOTEMS> SpellInfo::TotemCategory = {} |
Definition at line 398 of file SpellInfo.h.
Referenced by Spell::CheckItems(), FillSpellCastFailedArgs(), and TempSummon::IsSharingTotemSlotWith().
| float SpellInfo::Width = 0.0f |
Definition at line 411 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellInfoServerside(), Spell::SelectImplicitConeTargets(), Spell::SelectImplicitLineTargets(), and SpellInfo().