![]() |
TrinityCore
|
#include <SpellInfo.h>
Static Public Member Functions | |
| static uint32 | GetDispelMask (DispelType type) |
Private Member Functions | |
| void | _InitializeExplicitTargetMask () |
| void | _InitializeSpellPositivity () |
| void | _LoadSpellSpecific () |
| void | _LoadAuraState () |
| void | _LoadSpellDiminishInfo () |
| void | _LoadImmunityInfo () |
| std::array< SpellEffectInfo, MAX_SPELL_EFFECTS > & | _GetEffects () |
| SpellEffectInfo & | _GetEffect (SpellEffIndex index) |
| void | _UnloadImplicitTargetConditionLists () |
Private Attributes | |
| SpellSpecificType | _spellSpecific |
| AuraStateType | _auraState |
| SpellDiminishInfo | _diminishInfoNonTriggered |
| SpellDiminishInfo | _diminishInfoTriggered |
| uint32 | _allowedMechanicMask |
Friends | |
| class | SpellMgr |
Definition at line 284 of file SpellInfo.h.
| SpellInfo::SpellInfo | ( | SpellEntry const * | spellEntry | ) |
Definition at line 803 of file SpellInfo.cpp.
References _allowedMechanicMask, _auraState, _effects, _spellSpecific, ActiveIconID, SpellEntry::ActiveIconID, Attributes, SpellEntry::Attributes, AttributesCu, AttributesEx, SpellEntry::AttributesEx, AttributesEx2, AttributesEx3, AttributesEx4, AttributesEx5, AttributesEx6, AttributesEx7, SpellEntry::AttributesExB, SpellEntry::AttributesExC, SpellEntry::AttributesExD, SpellEntry::AttributesExE, SpellEntry::AttributesExF, SpellEntry::AttributesExG, AURA_STATE_NONE, AuraInterruptFlags, SpellEntry::AuraInterruptFlags, BaseLevel, SpellEntry::BaseLevel, CasterAuraSpell, SpellEntry::CasterAuraSpell, CasterAuraState, SpellEntry::CasterAuraState, SpellEntry::CastingTimeIndex, CastTimeEntry, SpellEntry::Category, CategoryEntry, CategoryRecoveryTime, SpellEntry::CategoryRecoveryTime, ChainEntry, ChannelInterruptFlags, SpellEntry::ChannelInterruptFlags, SpellEntry::CumulativeAura, SpellEntry::DefenseType, Dispel, SpellEntry::DispelType, DmgClass, DurationEntry, SpellEntry::DurationIndex, EquippedItemClass, SpellEntry::EquippedItemClass, EquippedItemInventoryTypeMask, SpellEntry::EquippedItemInvTypes, SpellEntry::EquippedItemSubclass, EquippedItemSubClassMask, ExcludeCasterAuraSpell, SpellEntry::ExcludeCasterAuraSpell, ExcludeCasterAuraState, SpellEntry::ExcludeCasterAuraState, ExcludeTargetAuraSpell, SpellEntry::ExcludeTargetAuraSpell, ExcludeTargetAuraState, SpellEntry::ExcludeTargetAuraState, ExplicitTargetMask, FacingCasterFlags, SpellEntry::FacingCasterFlags, Id, SpellEntry::ID, InterruptFlags, SpellEntry::InterruptFlags, MAKE_PAIR64(), ManaCost, SpellEntry::ManaCost, SpellEntry::ManaCostPct, ManaCostPercentage, ManaCostPerlevel, SpellEntry::ManaCostPerLevel, ManaPerSecond, SpellEntry::ManaPerSecond, ManaPerSecondPerLevel, SpellEntry::ManaPerSecondPerLevel, MAX_SPELL_EFFECTS, MaxAffectedTargets, MaxLevel, SpellEntry::MaxLevel, MaxTargetLevel, SpellEntry::MaxTargetLevel, SpellEntry::MaxTargets, Mechanic, SpellEntry::Mechanic, SpellEntry::Name, SpellEntry::NameSubtext, SpellEntry::PowerType, PreventionType, SpellEntry::PreventionType, Priority, ProcChance, SpellEntry::ProcChance, ProcCharges, SpellEntry::ProcCharges, SpellEntry::ProcTypeMask, RangeEntry, SpellEntry::RangeIndex, Rank, Reagent, SpellEntry::Reagent, ReagentCount, SpellEntry::ReagentCount, RecoveryTime, SpellEntry::RecoveryTime, RequiredAreasID, SpellEntry::RequiredAreasID, SpellEntry::RequiredTotemCategoryID, RequiresSpellFocus, SpellEntry::RequiresSpellFocus, RuneCostID, SpellEntry::RuneCostID, SchoolMask, SpellEntry::SchoolMask, SpellEntry::ShapeshiftExclude, SpellEntry::ShapeshiftMask, Speed, SpellEntry::Speed, SPELL_SPECIFIC_NORMAL, SpellEntry::SpellClassMask, SpellEntry::SpellClassSet, SpellFamilyFlags, SpellFamilyName, SpellIconID, SpellEntry::SpellIconID, SpellLevel, SpellEntry::SpellLevel, SpellName, SpellEntry::SpellPriority, SpellVisual, SpellEntry::SpellVisualID, sSpellCastTimesStore, sSpellCategoryStore, sSpellDurationStore, sSpellRangeStore, StackAmount, Stances, StancesNot, StartRecoveryCategory, SpellEntry::StartRecoveryCategory, StartRecoveryTime, SpellEntry::StartRecoveryTime, TargetAuraSpell, SpellEntry::TargetAuraSpell, TargetAuraState, SpellEntry::TargetAuraState, TargetCreatureType, SpellEntry::TargetCreatureType, SpellEntry::Targets, and SpellEntry::Totem.
| SpellInfo::~SpellInfo | ( | ) |
Definition at line 890 of file SpellInfo.cpp.
References _UnloadImplicitTargetConditionLists().
|
inlineprivate |
Definition at line 510 of file SpellInfo.h.
References ASSERT.
Referenced by _UnloadImplicitTargetConditionLists(), and SpellMgr::LoadSpellInfoCorrections().
|
inlineprivate |
Definition at line 509 of file SpellInfo.h.
Referenced by _LoadImmunityInfo(), and SpellMgr::LoadSpellInfoCorrections().
|
private |
Definition at line 3434 of file SpellInfo.cpp.
References EFFECT_IMPLICIT_TARGET_EXPLICIT, ExplicitTargetMask, GetEffects(), GetMaxRange(), TARGET_FLAG_CORPSE_MASK, TARGET_FLAG_DEST_LOCATION, TARGET_FLAG_GAMEOBJECT, TARGET_FLAG_UNIT_MASK, and Targets.
|
private |
Definition at line 3939 of file SpellInfo.cpp.
References _isPositiveEffectImpl(), AttributesCu, GetEffect(), GetEffects(), SpellImplicitTargetInfo::GetTarget(), IsPositiveEffect(), SPELL_ATTR0_CU_NEGATIVE_EFF0, 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.
|
private |
Definition at line 1973 of file SpellInfo.cpp.
References _auraState, AURA_STATE_BLEEDING, AURA_STATE_CONFLAGRATE, AURA_STATE_DEADLY_POISON, AURA_STATE_ENRAGE, AURA_STATE_FAERIE_FIRE, AURA_STATE_FROZEN, AURA_STATE_JUDGEMENT, AURA_STATE_NONE, AURA_STATE_SWIFTMEND, AURA_STATE_UNKNOWN22, AURA_STATE_WARRIOR_VICTORY_RUSH, Dispel, DISPEL_ENRAGE, GetAllEffectsMechanicMask(), GetCategory(), GetEffects(), GetSchoolMask(), GetSpellSpecific(), Id, MECHANIC_BLEED, SPELL_AURA_MOD_ROOT, SPELL_AURA_MOD_STUN, SPELL_SCHOOL_MASK_FROST, SPELL_SPECIFIC_SEAL, SPELLFAMILY_DRUID, SPELLFAMILY_ROGUE, SPELLFAMILY_WARLOCK, SPELLFAMILY_WARRIOR, SpellFamilyFlags, and SpellFamilyName.
|
private |
Definition at line 2581 of file SpellInfo.cpp.
References _allowedMechanicMask, _GetEffects(), SpellEffectInfo::ImmunityInfo::ApplyHarmfulAuraImmuneMask, SpellEffectInfo::ImmunityInfo::AuraTypeImmune, SpellEffectInfo::ImmunityInfo::DamageSchoolMask, SpellEffectInfo::ImmunityInfo::DispelImmune, Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::empty(), GetMaxDuration(), HasAttribute(), Id, IMMUNE_TO_MOVEMENT_IMPAIRMENT_AND_LOSS_CONTROL_MASK, Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::insert(), MECHANIC_DISORIENTED, MECHANIC_FEAR, MECHANIC_FREEZE, MECHANIC_HORROR, MECHANIC_INTERRUPT, MECHANIC_KNOCKOUT, MECHANIC_ROOT, MECHANIC_SILENCE, MECHANIC_SLEEP, MECHANIC_SNARE, MECHANIC_STUN, SpellEffectInfo::ImmunityInfo::MechanicImmuneMask, SpellEffectInfo::ImmunityInfo::RemoveEffectsWithMechanic, SpellEffectInfo::ImmunityInfo::SchoolImmuneMask, Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::shrink_to_fit(), SPELL_ATTR5_USABLE_WHILE_CONFUSED, SPELL_ATTR5_USABLE_WHILE_FEARED, SPELL_ATTR5_USABLE_WHILE_STUNNED, SPELL_AURA_DAMAGE_IMMUNITY, SPELL_AURA_DISPEL_IMMUNITY, SPELL_AURA_EFFECT_IMMUNITY, SPELL_AURA_MECHANIC_IMMUNITY, SPELL_AURA_MECHANIC_IMMUNITY_MASK, SPELL_AURA_MOD_CONFUSE, SPELL_AURA_MOD_DECREASE_SPEED, SPELL_AURA_MOD_DISARM, SPELL_AURA_MOD_FEAR, SPELL_AURA_MOD_IMMUNE_AURA_APPLY_SCHOOL, SPELL_AURA_MOD_ROOT, SPELL_AURA_MOD_STUN, SPELL_AURA_MOD_TAUNT, SPELL_AURA_SCHOOL_IMMUNITY, SPELL_AURA_STATE_IMMUNITY, SPELL_AURA_TRANSFORM, SPELL_AURA_USE_NORMAL_MOVEMENT_SPEED, SPELL_EFFECT_ATTACK_ME, SPELL_EFFECT_KNOCK_BACK, SPELL_EFFECT_KNOCK_BACK_DEST, and SpellEffectInfo::ImmunityInfo::SpellEffectImmune.
|
private |
Definition at line 2248 of file SpellInfo.cpp.
References _diminishInfoNonTriggered, _diminishInfoTriggered, SpellDiminishInfo::DiminishDurationLimit, SpellDiminishInfo::DiminishGroup, DIMINISHING_BANISH, DIMINISHING_CHARGE, DIMINISHING_CONTROLLED_ROOT, DIMINISHING_CONTROLLED_STUN, DIMINISHING_CYCLONE, DIMINISHING_DISARM, DIMINISHING_DISORIENT, DIMINISHING_DRAGONS_BREATH, DIMINISHING_ENTRAPMENT, DIMINISHING_FEAR, DIMINISHING_HORROR, DIMINISHING_LEVEL_IMMUNE, DIMINISHING_LEVEL_TAUNT_IMMUNE, DIMINISHING_LIMITONLY, DIMINISHING_MIND_CONTROL, DIMINISHING_NONE, DIMINISHING_OPENING_STUN, DIMINISHING_ROOT, DIMINISHING_SCATTER_SHOT, DIMINISHING_SILENCE, DIMINISHING_SLEEP, DIMINISHING_STUN, DIMINISHING_TAUNT, SpellDiminishInfo::DiminishMaxLevel, SpellDiminishInfo::DiminishReturnType, DRTYPE_ALL, DRTYPE_NONE, DRTYPE_PLAYER, GetAllEffectsMechanicMask(), HasAura(), Id, IN_MILLISECONDS, IsPositive(), MECHANIC_BANISH, MECHANIC_CHARM, MECHANIC_DISARM, MECHANIC_FEAR, MECHANIC_HORROR, MECHANIC_KNOCKOUT, MECHANIC_POLYMORPH, MECHANIC_ROOT, MECHANIC_SAPPED, MECHANIC_SHACKLE, MECHANIC_SILENCE, MECHANIC_SLEEP, MECHANIC_STUN, SPELL_AURA_MOD_TAUNT, SPELLFAMILY_DEATHKNIGHT, SPELLFAMILY_DRUID, SPELLFAMILY_GENERIC, SPELLFAMILY_HUNTER, SPELLFAMILY_MAGE, SPELLFAMILY_PALADIN, SPELLFAMILY_ROGUE, SPELLFAMILY_SHAMAN, SPELLFAMILY_UNK1, SPELLFAMILY_WARLOCK, SPELLFAMILY_WARRIOR, SpellFamilyFlags, SpellFamilyName, SpellIconID, and SpellVisual.
|
private |
@workaround For non-stacking tracking spells (We need generic solution)
Definition at line 2047 of file SpellInfo.cpp.
References _spellSpecific, AURA_INTERRUPT_FLAG_NOT_SEATED, AuraInterruptFlags, Dispel, DISPEL_CURSE, DISPEL_POISON, EFFECT_0, GetEffect(), GetEffects(), GetFirstRankSpell(), 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_CHARM, SPELL_SPECIFIC_CURSE, SPELL_SPECIFIC_DRINK, SPELL_SPECIFIC_ELEMENTAL_SHIELD, SPELL_SPECIFIC_FOOD, SPELL_SPECIFIC_FOOD_AND_DRINK, SPELL_SPECIFIC_HAND, SPELL_SPECIFIC_JUDGEMENT, SPELL_SPECIFIC_MAGE_ARCANE_BRILLANCE, SPELL_SPECIFIC_MAGE_ARMOR, SPELL_SPECIFIC_MAGE_POLYMORPH, SPELL_SPECIFIC_NORMAL, SPELL_SPECIFIC_PRESENCE, SPELL_SPECIFIC_PRIEST_DIVINE_SPIRIT, SPELL_SPECIFIC_SCROLL, SPELL_SPECIFIC_SEAL, SPELL_SPECIFIC_STING, SPELL_SPECIFIC_TRACKER, SPELL_SPECIFIC_WARLOCK_ARMOR, SPELL_SPECIFIC_WARLOCK_CORRUPTION, SPELL_SPECIFIC_WARRIOR_ENRAGE, SPELLFAMILY_DEATHKNIGHT, SPELLFAMILY_GENERIC, SPELLFAMILY_HUNTER, SPELLFAMILY_MAGE, SPELLFAMILY_PALADIN, SPELLFAMILY_PRIEST, SPELLFAMILY_SHAMAN, SPELLFAMILY_WARLOCK, SPELLFAMILY_WARRIOR, SpellFamilyFlags, and SpellFamilyName.
|
private |
Definition at line 3978 of file SpellInfo.cpp.
References _GetEffect(), GetEffect(), GetEffects(), and SpellEffectInfo::ImplicitTargetConditions.
Referenced by ~SpellInfo().
| void SpellInfo::ApplyAllSpellImmunitiesTo | ( | Unit * | target, |
| SpellEffectInfo const & | spellEffectInfo, | ||
| bool | apply | ||
| ) | const |
Definition at line 2888 of file SpellInfo.cpp.
References Unit::ApplySpellImmune(), AURA_REMOVE_BY_DEFAULT, SpellEffectInfo::ImmunityInfo::AuraTypeImmune, CanDispelAura(), SpellEffectInfo::ImmunityInfo::DamageSchoolMask, Dispel, SpellEffectInfo::ImmunityInfo::DispelImmune, GetAllEffectsMechanicMask(), AuraApplication::GetBase(), SpellEffectInfo::GetImmunityInfo(), GetSchoolMask(), Aura::GetSpellInfo(), HasAttribute(), Id, IMMUNITY_DAMAGE, IMMUNITY_DISPEL, IMMUNITY_EFFECT, IMMUNITY_MECHANIC, IMMUNITY_SCHOOL, IMMUNITY_STATE, IsPassive(), AuraApplication::IsPositive(), IsPositive(), MAX_MECHANIC, SpellEffectInfo::ImmunityInfo::MechanicImmuneMask, Unit::RemoveAppliedAuras(), Unit::RemoveAurasByType(), Unit::RemoveAurasWithMechanic(), SpellEffectInfo::ImmunityInfo::RemoveEffectsWithMechanic, SpellEffectInfo::ImmunityInfo::SchoolImmuneMask, SPELL_ATTR0_UNAFFECTED_BY_INVULNERABILITY, SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY, and SpellEffectInfo::ImmunityInfo::SpellEffectImmune.
Referenced by AuraEffect::HandleAuraModDispelImmunity(), AuraEffect::HandleAuraModDmgImmunity(), AuraEffect::HandleAuraModEffectImmunity(), AuraEffect::HandleAuraModSchoolImmunity(), AuraEffect::HandleAuraModStateImmunity(), AuraEffect::HandleModMechanicImmunity(), and AuraEffect::HandleModMechanicImmunityMask().
Definition at line 3168 of file SpellInfo.cpp.
References SpellCastTimesEntry::Base, CastTimeEntry, Spell::GetCaster(), HasAttribute(), IsAutoRepeatRangedSpell(), WorldObject::ModSpellCastTime(), and SPELL_ATTR0_REQ_AMMO.
Referenced by Unit::CalculateDefaultCoefficient(), AuraEffect::CheckEffectProc(), Unit::GetCastingTimeForBonus(), and Spell::prepare().
| int32 SpellInfo::CalcPowerCost | ( | WorldObject const * | caster, |
| SpellSchoolMask | schoolMask, | ||
| Spell * | spell = nullptr |
||
| ) | const |
Definition at line 3233 of file SpellInfo.cpp.
References CalculatePct(), GtNPCManaCostScalerEntry::Data, Unit::GetAttackTime(), GetAttackType(), Unit::GetAuraEffectsByType(), Unit::GetCreateHealth(), Unit::GetCreateMana(), Unit::GetHealth(), Unit::GetLevel(), Unit::GetMaxPower(), Unit::GetPower(), Unit::GetShapeshiftForm(), WorldObject::GetSpellModOwner(), HasAttribute(), Id, Unit::IsControlledByPlayer(), ManaCost, ManaCostPercentage, MAX_POWERS, POWER_ENERGY, POWER_FOCUS, POWER_HAPPINESS, POWER_HEALTH, POWER_MANA, POWER_RAGE, POWER_RUNE, POWER_RUNIC_POWER, sGtNPCManaCostScalerStore, SPELL_ATTR0_LEVEL_DAMAGE_CALCULATION, SPELL_ATTR1_DRAIN_ALL_POWER, SPELL_ATTR4_SPELL_VS_EXTEND_COST, SPELL_AURA_MOD_POWER_COST_SCHOOL, SPELL_AURA_MOD_POWER_COST_SCHOOL_PCT, SpellLevel, SPELLMOD_COST, sSpellShapeshiftFormStore, TC_LOG_DEBUG, TC_LOG_ERROR, and Object::ToUnit().
Referenced by Spell::CheckPetCast(), Spell::EffectCastButtons(), spell_warr_execute::HandleEffect(), spell_dru_t3_8p_bonus::HandleProc(), spell_hun_glyph_of_arcane_shot::HandleProc(), spell_hun_thrill_of_the_hunt::HandleProc(), spell_mage_burnout::HandleProc(), spell_mage_master_of_elements::HandleProc(), spell_pal_illumination::HandleProc(), spell_rog_quick_recovery::HandleProc(), spell_sha_item_mana_surge::HandleProc(), and Spell::prepare().
| bool SpellInfo::CanBeUsedInCombat | ( | ) | const |
Definition at line 1216 of file SpellInfo.cpp.
References HasAttribute(), and SPELL_ATTR0_CANT_USED_IN_COMBAT.
Referenced by Spell::CheckCast(), and PetAI::UpdateAI().
| bool SpellInfo::CanDispelAura | ( | SpellInfo const * | auraSpellInfo | ) | const |
Definition at line 1379 of file SpellInfo.cpp.
References HasAttribute(), Mechanic, MECHANIC_NONE, SPELL_ATTR0_UNAFFECTED_BY_INVULNERABILITY, SPELL_ATTR1_UNAFFECTED_BY_SCHOOL_IMMUNE, and SPELL_ATTR2_UNAFFECTED_BY_AURA_SCHOOL_IMMUNE.
Referenced by ApplyAllSpellImmunitiesTo().
| bool SpellInfo::CanPierceImmuneAura | ( | SpellInfo const * | auraSpellInfo | ) | const |
Definition at line 1352 of file SpellInfo.cpp.
References CanSpellProvideImmunityAgainstAura(), HasAttribute(), Mechanic, MECHANIC_BANISH, MECHANIC_IMMUNE_SHIELD, MECHANIC_INVULNERABILITY, SPELL_ATTR0_UNAFFECTED_BY_INVULNERABILITY, SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY, SPELL_ATTR1_UNAFFECTED_BY_SCHOOL_IMMUNE, and SPELL_ATTR2_UNAFFECTED_BY_AURA_SCHOOL_IMMUNE.
Referenced by Unit::IsImmunedToDamage(), and Unit::IsImmunedToSpell().
| bool SpellInfo::CanSpellProvideImmunityAgainstAura | ( | SpellInfo const * | auraSpellInfo | ) | const |
Definition at line 2976 of file SpellInfo.cpp.
References _effects, SpellEffectInfo::ImmunityInfo::ApplyHarmfulAuraImmuneMask, SpellEffectInfo::ImmunityInfo::AuraTypeImmune, Dispel, SpellEffectInfo::ImmunityInfo::DispelImmune, 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_ATTR1_UNAFFECTED_BY_SCHOOL_IMMUNE, SPELL_ATTR2_UNAFFECTED_BY_AURA_SCHOOL_IMMUNE, SPELL_ATTR3_IGNORE_HIT_RESULT, and SpellEffectInfo::ImmunityInfo::SpellEffectImmune.
Referenced by CanPierceImmuneAura().
| SpellCastResult SpellInfo::CheckExplicitTarget | ( | WorldObject const * | caster, |
| WorldObject const * | target, | ||
| Item const * | itemTarget = nullptr |
||
| ) | const |
Definition at line 1789 of file SpellInfo.cpp.
References Unit::GetCritterGUID(), GetExplicitTargetMask(), Unit::IsInPartyWith(), Unit::IsInRaidWith(), WorldObject::IsValidAssistTarget(), WorldObject::IsValidAttackTarget(), 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(), WorldObject::GetMagicHitRedirectTarget(), Unit::GetMeleeHitRedirectTarget(), and Spell::InitExplicitTargets().
| SpellCastResult SpellInfo::CheckLocation | ( | uint32 | map_id, |
| uint32 | zone_id, | ||
| uint32 | area_id, | ||
| Player const * | player = nullptr, |
||
| bool | strict = true |
||
| ) | const |
Definition at line 1512 of file SpellInfo.cpp.
References AREA_WINTERGRASP, AreaGroupEntry::AreaID, Player::CanFlyInZone(), MapEntry::Expansion(), Player::GetBattleground(), Battleground::GetStatus(), GetVirtualMapForMapAndZone(), HasAttribute(), Id, Player::InBattleground(), MapEntry::IsBattleArena(), MapEntry::IsBattleground(), MapEntry::IsContinent(), AreaTableEntry::IsFlyable(), MapEntry::IsRaid(), MAX_GROUP_AREA_IDS, AreaGroupEntry::NextAreaID, RequiredAreasID, sAreaGroupStore, sAreaTableStore, sMapStore, SPELL_ATTR4_CAST_ONLY_IN_OUTLAND, SPELL_ATTR6_NOT_IN_RAID_INSTANCE, SPELL_CAST_OK, SPELL_FAILED_INCORRECT_AREA, SPELL_FAILED_NOT_IN_RAID_INSTANCE, SPELL_FAILED_REQUIRES_AREA, sSpellMgr, and STATUS_WAIT_JOIN.
Referenced by Spell::CheckCast(), and spell_gen_mount::HandleMount().
| SpellCastResult SpellInfo::CheckShapeshift | ( | uint32 | form | ) | const |
Definition at line 1458 of file SpellInfo.cpp.
References SpellShapeshiftFormEntry::Flags, GetTalentSpellCost(), HasAttribute(), HasEffect(), Id, SPELL_ATTR0_NOT_SHAPESHIFT, SPELL_ATTR2_NOT_NEED_SHAPESHIFT, SPELL_CAST_OK, SPELL_EFFECT_LEARN_SPELL, SPELL_FAILED_NOT_SHAPESHIFT, SPELL_FAILED_ONLY_SHAPESHIFT, sSpellShapeshiftFormStore, 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 1642 of file SpellInfo.cpp.
References BASE_ATTACK, Unit::CanFreeMove(), WorldObject::CanSeeOrDetect(), CheckTargetCreatureType(), CORPSE_BONES, CREATURE_TYPEMASK_HUMANOID_OR_UNDEAD, ExcludeTargetAuraSpell, ExcludeTargetAuraState, ObjectAccessor::FindPlayer(), WorldObject::GetAffectingPlayer(), Unit::GetCreatureTypeMask(), Object::GetTypeId(), Unit::GetVirtualItemId(), Player::GetWeaponForAttack(), HasAttribute(), Unit::HasAura(), Unit::HasAuraState(), Unit::HasAuraType(), HasEffect(), Unit::HasUnitFlag(), Unit::HasUnitState(), Unit::IsAlive(), IsAllowingDeadTarget(), Player::IsGameMaster(), Unit::IsInCombat(), IsPositive(), Player::IsUseEquipedWeapon(), Unit::IsVisible(), Mechanic, MECHANIC_DISARM, SPELL_ATTR0_CU_ALLOW_INFLIGHT_TARGET, SPELL_ATTR0_CU_PICKPOCKET, SPELL_ATTR1_CANT_TARGET_IN_COMBAT, SPELL_ATTR1_CANT_TARGET_SELF, SPELL_ATTR2_CANT_TARGET_TAPPED, SPELL_ATTR3_ONLY_TARGET_GHOSTS, SPELL_ATTR3_ONLY_TARGET_PLAYERS, SPELL_ATTR6_CAN_TARGET_INVISIBLE, SPELL_ATTR6_CANT_TARGET_CROWD_CONTROLLED, SPELL_ATTR7_BYPASS_NO_RESURRECT_AURA, SPELL_AURA_GHOST, SPELL_AURA_PREVENT_RESURRECTION, SPELL_CAST_OK, SPELL_EFFECT_RESURRECT, SPELL_EFFECT_RESURRECT_NEW, SPELL_EFFECT_SELF_RESURRECT, SPELL_FAILED_BAD_TARGETS, SPELL_FAILED_BM_OR_INVISGOD, SPELL_FAILED_CANT_CAST_ON_TAPPED, SPELL_FAILED_TARGET_AFFECTING_COMBAT, SPELL_FAILED_TARGET_AURASTATE, SPELL_FAILED_TARGET_CANNOT_BE_RESURRECTED, SPELL_FAILED_TARGET_IS_PLAYER, SPELL_FAILED_TARGET_NO_POCKETS, SPELL_FAILED_TARGET_NO_WEAPONS, SPELL_FAILED_TARGET_NOT_GHOST, SPELL_FAILED_TARGET_NOT_PLAYER, SPELL_FAILED_TARGETS_DEAD, sSpellMgr, TargetAuraSpell, TargetAuraState, Object::ToCorpse(), Object::ToCreature(), Object::ToPlayer(), Object::ToUnit(), TYPEID_PLAYER, UNIT_FLAG_PET_IN_COMBAT, and UNIT_STATE_IN_FLIGHT.
Referenced by Spell::AddUnitTarget(), Spell::CheckCast(), Unit::GetMeleeHitRedirectTarget(), SpellTargetSelector::operator()(), Trinity::WorldObjectSpellTargetCheck::operator()(), and Spell::SelectImplicitTrajTargets().
| bool SpellInfo::CheckTargetCreatureType | ( | Unit const * | target | ) | const |
Definition at line 1875 of file SpellInfo.cpp.
References GetCategory(), Unit::GetCreatureTypeMask(), Object::GetTypeId(), Unit::IsMagnet(), SPELLFAMILY_WARLOCK, SpellFamilyName, TargetCreatureType, and TYPEID_PLAYER.
Referenced by CheckTarget().
| SpellCastResult SpellInfo::CheckVehicle | ( | Unit const * | caster | ) | const |
Definition at line 1825 of file SpellInfo.cpp.
References SummonPropertiesEntry::Control, SpellShapeshiftFormEntry::Flags, VehicleSeatEntry::Flags, GetEffects(), Vehicle::GetSeatForPassenger(), Object::GetTypeId(), Unit::GetVehicle(), HasAttribute(), HasAura(), SPELL_ATTR0_CASTABLE_WHILE_MOUNTED, SPELL_ATTR6_CASTABLE_WHILE_ON_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().
| uint32 SpellInfo::GetAllEffectsMechanicMask | ( | ) | const |
Definition at line 1900 of file SpellInfo.cpp.
References GetEffects(), and Mechanic.
Referenced by _LoadAuraState(), _LoadSpellDiminishInfo(), ApplyAllSpellImmunitiesTo(), spell_uk_second_wind::CheckProc(), spell_dk_pvp_4p_bonus::CheckProc(), spell_warr_second_wind::CheckProc(), Spell::EffectDispelMechanic(), Unit::MeleeDamageBonusTaken(), Unit::RemoveAurasByShapeShift(), and Unit::SpellDamageBonusTaken().
| uint32 SpellInfo::GetAllowedMechanicMask | ( | ) | const |
Definition at line 3106 of file SpellInfo.cpp.
References _allowedMechanicMask.
| WeaponAttackType SpellInfo::GetAttackType | ( | ) | const |
Definition at line 1282 of file SpellInfo.cpp.
References BASE_ATTACK, DmgClass, HasAttribute(), IsAutoRepeatRangedSpell(), IsRangedWeaponSpell(), OFF_ATTACK, RANGED_ATTACK, SPELL_ATTR3_REQ_OFFHAND, SPELL_DAMAGE_CLASS_MELEE, and SPELL_DAMAGE_CLASS_RANGED.
Referenced by CalcPowerCost(), Unit::CalcSpellResistedDamage(), and Spell::Spell().
Definition at line 3372 of file SpellInfo.cpp.
References GetEffects(), GetPrevRankSpell(), HasAttribute(), IsPassive(), IsPositiveEffect(), SPELL_ATTR0_NEGATIVE_1, SPELL_ATTR2_ALLOW_LOW_LEVEL_BUFF, SPELL_ATTR3_DRAIN_SOUL, SPELL_EFFECT_APPLY_AREA_AURA_PARTY, SPELL_EFFECT_APPLY_AREA_AURA_RAID, and SPELL_EFFECT_APPLY_AURA.
Referenced by WorldSession::HandleCastSpellOpcode(), and Spell::PreprocessSpellHit().
| AuraStateType SpellInfo::GetAuraState | ( | ) | const |
Definition at line 1968 of file SpellInfo.cpp.
References _auraState.
Referenced by Unit::_ApplyAura(), Unit::_CreateAuraApplication(), and Unit::_UnapplyAura().
| uint32 SpellInfo::GetCategory | ( | ) | const |
Definition at line 895 of file SpellInfo.cpp.
References CategoryEntry, and SpellCategoryEntry::ID.
Referenced by _LoadAuraState(), CheckTargetCreatureType(), Spell::EffectSchoolDMG(), SpellHistory::GetCooldownDurations(), SpellHistory::GetRemainingCooldown(), spell_dru_berserk::HandleEffectApply(), spell_dk_rime::HandleProc(), spell_warr_sword_and_board::HandleProc(), Trinity::AbsorbAuraOrderPred::operator()(), SpellHistory::SendCooldownEvent(), and Unit::SpellCritChanceTaken().
| DiminishingGroup SpellInfo::GetDiminishingReturnsGroupForSpell | ( | bool | triggered | ) | const |
Definition at line 2561 of file SpellInfo.cpp.
References _diminishInfoNonTriggered, _diminishInfoTriggered, and SpellDiminishInfo::DiminishGroup.
Referenced by Spell::_cast(), Unit::ApplyDiminishingToDuration(), Unit::HasStrongerAuraWithDR(), Unit::IncrDiminishing(), and Spell::PreprocessSpellHit().
| DiminishingReturnsType SpellInfo::GetDiminishingReturnsGroupType | ( | bool | triggered | ) | const |
Definition at line 2566 of file SpellInfo.cpp.
References _diminishInfoNonTriggered, _diminishInfoTriggered, and SpellDiminishInfo::DiminishReturnType.
Referenced by Spell::_cast(), Unit::ApplyDiminishingToDuration(), and Spell::PreprocessSpellHit().
| int32 SpellInfo::GetDiminishingReturnsLimitDuration | ( | bool | triggered | ) | const |
Definition at line 2576 of file SpellInfo.cpp.
References _diminishInfoNonTriggered, _diminishInfoTriggered, and SpellDiminishInfo::DiminishDurationLimit.
Referenced by Unit::ApplyDiminishingToDuration().
| DiminishingLevels SpellInfo::GetDiminishingReturnsMaxLevel | ( | bool | triggered | ) | const |
Definition at line 2571 of file SpellInfo.cpp.
References _diminishInfoNonTriggered, _diminishInfoTriggered, and SpellDiminishInfo::DiminishMaxLevel.
Referenced by Unit::IncrDiminishing().
| uint32 SpellInfo::GetDispelMask | ( | ) | const |
Definition at line 1949 of file SpellInfo.cpp.
References Dispel, and GetDispelMask().
Referenced by Spell::CheckCast(), Spell::EffectDispel(), Spell::EffectStealBeneficialBuff(), Unit::GetDispellableAuraList(), and GetDispelMask().
|
static |
Definition at line 1954 of file SpellInfo.cpp.
References DISPEL_ALL, and DISPEL_ALL_MASK.
| int32 SpellInfo::GetDuration | ( | ) | const |
Definition at line 3154 of file SpellInfo.cpp.
References SpellDurationEntry::Duration, DurationEntry, and IsPassive().
Referenced by Aura::CalcMaxDuration(), WorldObject::CalcSpellDuration(), Unit::CalculateDefaultCoefficient(), AuraEffect::CleanupTriggeredSpells(), Spell::DelayedChannel(), Spell::EffectAddFarsight(), Spell::EffectDuel(), Spell::EffectEnchantHeldItem(), Spell::EffectInterruptCast(), Spell::EffectSummonObject(), Spell::EffectSummonObjectWild(), Spell::EffectSummonType(), Spell::EffectTransmitted(), UnitAI::FillAISpellInfo(), Unit::GetCastingTimeForBonus(), GetMaxTicks(), Spell::handle_immediate(), Unit::HasStrongerAuraWithDR(), Player::IsAffectedBySpellmod(), ObjectMgr::LoadCreatureAddons(), ObjectMgr::LoadCreatureTemplateAddons(), Pet::LoadPetFromDB(), and Spell::SummonGuardian().
|
inline |
Definition at line 483 of file SpellInfo.h.
References ASSERT.
Referenced by _InitializeSpellPositivity(), _LoadSpellSpecific(), _UnloadImplicitTargetConditionLists(), spell_valkyr_essences::Absorb(), spell_dk_will_of_the_necropolis::Absorb(), ConditionMgr::addToSpellImplicitTargetConditions(), spell_dragonblight_corrosive_spit::AfterApply(), spell_dk_anti_magic_zone::CalculateAmount(), spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript::CalculateAttackPowerAmount(), spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript::CalculateDamageDoneAmount(), spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript::CalculateStaminaAmount(), spell_dk_pet_scaling_01::spell_dk_pet_scaling_01_AuraScript::CalculateStrengthAmount(), _SpellScript::EffectNameCheck::Check(), _SpellScript::EffectAuraNameCheck::Check(), SpellScript::TargetHook::CheckEffect(), Spell::CheckItems(), Spell::EffectPersistentAA(), Spell::EffectSchoolDMG(), Spell::EffectScriptEffect(), Spell::EffectWeaponDmg(), SpellScript::GetEffectInfo(), AuraScript::GetEffectInfo(), GetEffectMechanic(), GetEffectMechanicMask(), npc_firework::GetFireworkGameObjectId(), spell_dk_raise_dead::GetGhoulSpellId(), AuraEffect::HandleAuraModShapeshift(), spell_leotheras_the_blind_chaos_blast::HandleDummy(), spell_akilzon_electrical_overload::HandleEffect(), spell_warr_bloodthirst_heal::HandleHeal(), lookup_commandscript::HandleLookupSpellCommand(), spell_dru_leader_of_the_pack::HandleProc(), spell_gen_blade_warding::HandleProc(), spell_item_charm_witch_doctor::HandleProc(), spell_pal_glyph_of_holy_light_dummy::HandleProc(), spell_pal_illumination::HandleProc(), spell_pal_judgement_of_wisdom_mana::HandleProc(), spell_sha_frozen_power::HandleProc(), spell_sha_glyph_of_totem_of_wrath::HandleProc(), spell_sha_lightning_overload::HandleProc(), spell_sha_windfury_weapon::HandleProc(), spell_warl_drain_soul::HandleProc(), spell_igb_rocket_pack::HandleRemove(), spell_warl_demonic_empowerment::HandleScriptEffect(), spell_pal_seal_of_vengeance< DoTSpellId, DamageSpellId >::spell_pal_seal_of_vengeance_AuraScript< DoTSpell, DamageSpell >::HandleSeal(), spell_putricide_mutated_plague::HandleTriggerSpell(), IsExplicitDiscovery(), IsLootCrafting(), AchievementCriteriaData::IsValid(), Player::LearnQuestRewardedSpells(), SpellMgr::LoadSpellPetAuras(), SpellMgr::LoadSpellTargetPositions(), WorldObject::ModSpellDuration(), spell_deathwhisper_dark_reckoning::OnPeriodic(), spell_pal_glyph_of_divinity::OnProc(), spell_putricide_mutated_plague::OnRemove(), spell_blood_queen_pact_of_the_darkfallen_dmg::PeriodicTick(), spell_dragonblight_corrosive_spit::PeriodicTick(), Spell::PreprocessSpellHit(), spell_gen_defend::Register(), spell_gen_mounted_charge::Register(), Spell::SetSpellValue(), Trinity::Hyperlinks::LinkTags::trade::StoreTo(), Guardian::UpdateAttackPowerAndDamage(), Guardian::UpdateStats(), spell_deathwhisper_dark_reckoning::Validate(), spell_mage_living_bomb::Validate(), spell_chapter1_emblazon_runeblade_effect::Validate(), spell_kalecgos_tap_check::Validate(), spell_muru_negative_energy_periodic::Validate(), spell_akilzon_eagle_swoop_primer::Validate(), spell_akilzon_electrical_overload_primer::Validate(), spell_akilzon_electrical_overload::Validate(), spell_zuljin_claw_rage_periodic::Validate(), spell_love_is_in_the_air_heavily_perfumed::Validate(), spell_love_is_in_the_air_service_uniform::Validate(), spell_love_is_in_the_air_perfume_cologne_immune::Validate(), spell_silithus_summon_cultist_periodic::Validate(), spell_ahnkahet_yogg_saron_whisper::Validate(), spell_halion_combustion_consumption_periodic::Validate(), spell_black_knight_ghoul_explode::Validate(), spell_black_knight_ghoul_explode_risen_ghoul::Validate(), spell_mistress_kiss_area::Validate(), spell_fel_streak_visual::Validate(), spell_jormungars_slime_pool::Validate(), spell_icehowl_arctic_breath::Validate(), spell_trollgore_invader_taunt::Validate(), spell_hor_quel_delars_will::Validate(), spell_putricide_ooze_tank_protection::Validate(), spell_rotface_mutated_infection_aura::Validate(), spell_grobbulus_poison_cloud::Validate(), spell_algalon_phase_constellation::Validate(), spell_tar_blaze::Validate(), spell_hodir_freeze::Validate(), spell_hodir_icicle::Validate(), spell_hodir_dispel_magic::Validate(), spell_hodir_melt_ice::Validate(), spell_borean_tundra_nerubar_web_random_unit_not_on_quest::Validate(), spell_borean_tundra_dispel_freed_soldier_debuff::Validate(), spell_borean_tundra_weakness_to_lightning_cast_on_master::Validate(), spell_borean_tundra_signal_alliance::Validate(), spell_borean_tundra_arcane_chains_character_force_cast::Validate(), spell_dragonblight_moti_hourglass_cast_see_invis_on_master::Validate(), spell_dragonblight_fill_blood_unholy_frost_gem::Validate(), spell_dragonblight_corrosive_spit::Validate(), spell_fjord_the_cleansing_on_death_cast_on_master::Validate(), spell_fjord_the_way_to_his_heart_reverse_cast::Validate(), spell_fjord_the_way_to_his_heart_quest_complete::Validate(), spell_icecrown_the_ocular_on_death::Validate(), spell_icecrown_summon_freed_crusader::Validate(), spell_icecrown_cannons_target::Validate(), spell_icecrown_bested_trigger::Validate(), spell_sholazar_take_sputum_sample::Validate(), spell_sholazar_flight_to_sholazar::Validate(), spell_sholazar_lifeblood_dummy::Validate(), spell_low_health_trigger::Validate(), spell_wintergrasp_tenacity_refresh::Validate(), spell_zuldrak_chains_of_the_scourge::Validate(), spell_mother_shahraz_saber_lash::Validate(), spell_mother_shahraz_generic_periodic::Validate(), spell_leotheras_the_blind_demon_link::Validate(), spell_the_lurker_below_spout_periodic::Validate(), spell_broggok_poison_cloud::Validate(), spell_omor_the_unscarred_orbital_strike_whip::Validate(), spell_astromancer_wrath_of_the_astromancer::Validate(), spell_kaelthas_nether_vapor_lightning::Validate(), spell_shadowmoon_quest_credit_crazed_colossus::Validate(), spell_pet_gen_lich_pet_focus::Validate(), spell_pet_gen_toxic_wasteling_find_target::Validate(), spell_dk_corpse_explosion::Validate(), spell_dk_ghoul_explode::Validate(), spell_dk_raise_dead::Validate(), spell_dk_raise_ally_initial::Validate(), spell_dru_savage_defense::Validate(), spell_dru_wild_growth::Validate(), spell_gen_arena_drink::Validate(), spell_gen_aura_of_fear::Validate(), spell_gen_burning_depths_necrolyte_image::Validate(), spell_gen_cancel_aura::Validate(), spell_gen_cast_caster_to_target::Validate(), spell_gen_cast_target_to_target::Validate(), spell_gen_player_say::Validate(), spell_gen_whisper_to_controller::Validate(), spell_gen_eject_passenger::Validate(), spell_hun_cobra_strikes::Validate(), spell_hun_masters_call::Validate(), spell_hun_rapid_recuperation::Validate(), spell_mage_mirror_image::Validate(), spell_pal_beacon_of_light::Validate(), spell_pal_improved_lay_of_hands::Validate(), spell_quest_portal_with_condition::Validate(), spell_rog_honor_among_thieves::Validate(), spell_rog_turn_the_tables::Validate(), spell_sha_mana_tide::Validate(), and spell_warr_deep_wounds_aura::Validate().
| Mechanics SpellInfo::GetEffectMechanic | ( | SpellEffIndex | effIndex | ) | const |
Definition at line 1938 of file SpellInfo.cpp.
References GetEffect(), SpellEffectInfo::Mechanic, Mechanic, and MECHANIC_NONE.
Referenced by Unit::GetMechanicResistChance().
| uint32 SpellInfo::GetEffectMechanicMask | ( | SpellEffIndex | effIndex | ) | const |
Definition at line 1913 of file SpellInfo.cpp.
References GetEffect(), SpellEffectInfo::Mechanic, and Mechanic.
|
inline |
Definition at line 482 of file SpellInfo.h.
Referenced by Spell::_cast(), Spell::_handle_immediate_phase(), Aura::_InitEffects(), AuraApplication::_InitFlags(), _InitializeExplicitTargetMask(), _InitializeSpellPositivity(), _isPositiveEffectImpl(), _LoadAuraState(), _LoadSpellSpecific(), Unit::_TryStackingOrRefreshingExistingAura(), _UnloadImplicitTargetConditionLists(), Unit::AddAura(), Spell::AddCorpseTarget(), Spell::AddGOTarget(), Spell::AddItemTarget(), Player::AddSpell(), UnitAura::AddStaticApplication(), ConditionMgr::addToSpellImplicitTargetConditions(), Spell::AddUnitTarget(), Aura::BuildEffectMaskForOwner(), Spell::CanAutoCast(), Aura::CanBeSaved(), Spell::CanExecuteTriggersOnHit(), CanSpellProvideImmunityAgainstAura(), Aura::CanStackWith(), Trainer::Trainer::CanTeachSpell(), Player::CastItemCombatSpell(), Spell::CheckCast(), Spell::CheckItems(), CheckVehicle(), Spell::TargetInfo::DoDamageAndTriggers(), Spell::DoProcessTargetContainer(), Spell::EffectPersistentAA(), Spell::EffectWeaponDmg(), EquippedOk(), UnitAI::FillAISpellInfo(), ScriptMgr::FillSpellSummary(), UnitAura::FillTargetMap(), DynObjAura::FillTargetMap(), GetAllEffectsMechanicMask(), GetAuraRankForLevel(), Unit::GetCastingTimeForBonus(), GetMaxTicks(), Unit::GetMechanicResistChance(), GetSpellMechanicMaskByEffectMask(), npc_thorim_trashAI::AIHelper::GetTotalHeal(), AuraEffect::HandleAuraMounted(), Spell::HandleLaunchPhase(), Player::HandlePassiveSpellLearn(), WorldSession::HandlePetActionHelper(), spell_item_alchemists_stone::HandleProc(), spell_putricide_choking_gas_bomb::HandleScript(), Unit::HandleSpellClick(), Player::Has310Flyer(), HasAreaAuraEffect(), HasAura(), Unit::HasAuraWithMechanic(), HasEffect(), Player::HasItemFitToSpellRequirements(), Aura::HasMoreThanOneEffectForType(), HasOnlyDamageEffects(), IsAffectingArea(), Aura::IsArea(), IsGroupBuff(), Unit::IsImmunedToSpell(), Creature::IsImmunedToSpell(), IsPrimaryProfession(), IsProfession(), IsProfessionOrRiding(), IsSelfCast(), ConditionMgr::isSourceTypeValid(), SpellMgr::IsSpellValid(), IsTargetingArea(), Player::LearnQuestRewardedSpells(), SpellMgr::LoadEnchantCustomAttr(), SmartAIMgr::LoadHelperStores(), SpellMgr::LoadPetDefaultSpells(), ObjectMgr::LoadQuests(), SpellMgr::LoadSpellGroupStackRules(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellLearnSpells(), SpellMgr::LoadSpellLinked(), SpellMgr::LoadSpellProcs(), WorldObject::MagicSpellHitResult(), NeedsToBeTriggeredByCaster(), Spell::prepare(), Spell::PreprocessSpellHit(), Player::RemoveSpell(), Player::ResetTalents(), Aura::SaveCasterInfo(), Spell::SelectImplicitChainTargets(), Spell::SelectSpellTargets(), Spell::SendLogExecute(), Trainer::Trainer::SendSpells(), SpellCancelsAuraEffect(), Unit::SpellHealingBonusDone(), SpellValue::SpellValue(), Spell::UpdateChanneledTargetList(), Spell::UpdatePointers(), and Aura::UpdateTargetMap().
| uint32 SpellInfo::GetExplicitTargetMask | ( | ) | const |
Definition at line 1963 of file SpellInfo.cpp.
References ExplicitTargetMask.
Referenced by CheckExplicitTarget(), Spell::EffectTriggerMissileSpell(), Spell::EffectTriggerSpell(), Spell::InitExplicitTargets(), NeedsExplicitUnitTarget(), and Spell::SelectExplicitTargets().
| SpellInfo const * SpellInfo::GetFirstRankSpell | ( | ) | const |
Definition at line 3347 of file SpellInfo.cpp.
References ChainEntry, and SpellChainNode::first.
Referenced by _LoadSpellSpecific(), SpellMgr::AddSameEffectStackRuleSpellGroups(), CharmInfo::AddSpellToActionBar(), Spell::AddUnitTarget(), SpellMgr::CheckSpellGroupStackRules(), Unit::GetHighestExclusiveSameEffectSpellGroupValue(), spell_pal_improved_aura::HandleEffectRemove(), learn_commandscript::HandleLearnCommand(), IsRankOf(), SpellMgr::LoadSpellProcs(), ObjectMgr::LoadSpellScriptNames(), and Player::ResetSpells().
| SpellInfo const * SpellInfo::GetLastRankSpell | ( | ) | const |
Definition at line 3353 of file SpellInfo.cpp.
References ChainEntry, and SpellChainNode::last.
| int32 SpellInfo::GetMaxDuration | ( | ) | const |
Definition at line 3161 of file SpellInfo.cpp.
References DurationEntry, IsPassive(), and SpellDurationEntry::MaxDuration.
Referenced by _LoadImmunityInfo(), WorldObject::CalcSpellDuration(), spell_dk_glyph_of_scourge_strike_script::HandleScriptEffect(), spell_dru_glyph_of_starfire::HandleScriptEffect(), Unit::HasStrongerAuraWithDR(), Spell::prepare(), and Aura::RefreshDuration().
| float SpellInfo::GetMaxRange | ( | bool | positive = false, |
| WorldObject * | caster = nullptr, |
||
| Spell * | spell = nullptr |
||
| ) | const |
Definition at line 3138 of file SpellInfo.cpp.
References WorldObject::GetSpellModOwner(), Id, RangeEntry, SpellRangeEntry::RangeMax, and SPELLMOD_RANGE.
Referenced by _InitializeExplicitTargetMask(), ArcherAI::ArcherAI(), Spell::CheckCast(), spell_gen_cannibalize::CheckIfCorpseNear(), spell_hun_pet_carrion_feeder::CheckIfCorpseNear(), UnitAI::DoGetSpellMaxRange(), Spell::EffectTransmitted(), UnitAI::FillAISpellInfo(), WorldObject::GetSpellMaxRangeForTarget(), npc_thorim_trashAI::AIHelper::GetUnitWithMostMissingHp(), spell_warl_demonic_circle_summon::HandleDummyTick(), GameObject::IsAtInteractDistance(), Spell::SelectImplicitAreaTargets(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitConeTargets(), Spell::SelectImplicitNearbyTargets(), Spell::SelectImplicitTrajTargets(), TurretAI::TurretAI(), TotemAI::UpdateAI(), Spell::UpdateChanneledTargetList(), and npc_thorim_trashAI::UseAbility().
| uint32 SpellInfo::GetMaxTicks | ( | ) | const |
Definition at line 3185 of file SpellInfo.cpp.
References GetDuration(), GetEffects(), HasAttribute(), SPELL_ATTR5_START_PERIODIC_AT_APPLY, SPELL_AURA_MOD_ATTACK_POWER_OF_ARMOR, SPELL_AURA_OBS_MOD_HEALTH, SPELL_AURA_OBS_MOD_POWER, SPELL_AURA_PERIODIC_DAMAGE, SPELL_AURA_PERIODIC_DAMAGE_PERCENT, SPELL_AURA_PERIODIC_DUMMY, SPELL_AURA_PERIODIC_ENERGIZE, SPELL_AURA_PERIODIC_HEAL, SPELL_AURA_PERIODIC_HEALTH_FUNNEL, SPELL_AURA_PERIODIC_LEECH, SPELL_AURA_PERIODIC_MANA_LEECH, SPELL_AURA_PERIODIC_TRIGGER_SPELL, SPELL_AURA_PERIODIC_TRIGGER_SPELL_FROM_CLIENT, SPELL_AURA_PERIODIC_TRIGGER_SPELL_WITH_VALUE, SPELL_AURA_POWER_BURN, and SPELL_EFFECT_APPLY_AURA.
Referenced by Unit::CalculateDefaultCoefficient(), Spell::EffectSchoolDMG(), npc_thorim_trashAI::AIHelper::GetTotalHeal(), spell_warr_deep_wounds::HandleDummy(), spell_dk_unholy_blight::HandleProc(), spell_dru_glyph_of_innervate::HandleProc(), spell_dru_t10_balance_4p_bonus::HandleProc(), spell_hun_piercing_shots::HandleProc(), spell_mage_ignite::HandleProc(), spell_pal_righteous_vengeance::HandleProc(), spell_pal_sheath_of_light::HandleProc(), spell_pal_t8_2p_bonus::HandleProc(), spell_pri_blessed_recovery::HandleProc(), spell_pri_glyph_of_prayer_of_healing::HandleProc(), spell_pri_t10_heal_2p_bonus::HandleProc(), spell_sha_t8_elemental_4p_bonus::HandleProc(), spell_sha_t9_elemental_4p_bonus::HandleProc(), spell_sha_t10_restoration_4p_bonus::HandleProc(), spell_sartura_whirlwind::HandleScript(), and spell_leotheras_the_blind_whirlwind_effect::HandleScript().
Definition at line 3111 of file SpellInfo.cpp.
References Unit::GetMechanicImmunityMask(), InterruptFlags, MECHANIC_INTERRUPT, MECHANIC_SILENCE, and SPELL_INTERRUPT_FLAG_INTERRUPT.
Referenced by Spell::SendSpellStart().
| float SpellInfo::GetMinRange | ( | bool | positive = false | ) | const |
Definition at line 3129 of file SpellInfo.cpp.
References RangeEntry, and SpellRangeEntry::RangeMin.
Referenced by ArcherAI::ArcherAI(), Spell::EffectTransmitted(), WorldObject::GetSpellMinRangeForTarget(), Spell::SelectImplicitCasterDestTargets(), TurretAI::TurretAI(), and npc_thorim_trashAI::UseAbility().
| SpellInfo const * SpellInfo::GetNextRankSpell | ( | ) | const |
Definition at line 3359 of file SpellInfo.cpp.
References ChainEntry, and SpellChainNode::next.
Referenced by spell_dk_sudden_doom::HandleProc(), spell_sha_windfury_weapon::HandleProc(), SpellMgr::LoadSpellGroupStackRules(), SpellMgr::LoadSpellProcs(), and ObjectMgr::LoadSpellScriptNames().
| SpellInfo const * SpellInfo::GetPrevRankSpell | ( | ) | const |
Definition at line 3365 of file SpellInfo.cpp.
References ChainEntry, and SpellChainNode::prev.
Referenced by GetAuraRankForLevel().
| uint8 SpellInfo::GetRank | ( | ) | const |
Definition at line 3340 of file SpellInfo.cpp.
References ChainEntry, and SpellChainNode::rank.
Referenced by spell_dk_will_of_the_necropolis::Absorb(), spell_dru_nurturing_instinct::AfterApply(), spell_dru_nurturing_instinct::AfterRemove(), spell_warl_create_healthstone::spell_warl_create_healthstone_SpellScript::CheckCast(), spell_pal_holy_shock::HandleDummy(), spell_pri_penance::HandleDummy(), spell_sha_fire_nova::HandleDummy(), lookup_commandscript::HandleLookupSpellCommand(), lookup_commandscript::HandleLookupSpellIdCommand(), spell_pet_silverback::HandleProc(), spell_dk_threat_of_thassarian::HandleProc(), spell_mage_arcane_potency::HandleProc(), spell_mage_ignite::HandleProc(), spell_pal_illumination::HandleProc(), spell_pri_blessed_recovery::HandleProc(), spell_sha_lightning_overload::HandleProc(), spell_sha_lightning_shield::HandleProc(), spell_sha_static_shock::HandleProc(), spell_warl_soul_leech::HandleProc(), spell_warr_second_wind::HandleProc(), spell_hun_rapid_recuperation_trigger::HandleRapidKillingProc(), spell_warl_create_healthstone::spell_warl_create_healthstone_SpellScript::HandleScriptEffect(), IsPrimaryProfessionFirstRank(), SpellMgr::LoadSpellGroups(), spell_hun_feeding_frenzy::PeriodicTick(), spell_dk_will_of_the_necropolis::Validate(), spell_pal_holy_shock::Validate(), spell_pri_penance::Validate(), and spell_sha_fire_nova::Validate().
| uint32 SpellInfo::GetRecoveryTime | ( | ) | const |
Definition at line 3228 of file SpellInfo.cpp.
References CategoryRecoveryTime, and RecoveryTime.
Referenced by Spell::CheckArenaCastRules(), spell_hun_readiness::HandleDummy(), and spell_mage_cold_snap::HandleDummy().
| SpellSchoolMask SpellInfo::GetSchoolMask | ( | ) | const |
Definition at line 1895 of file SpellInfo.cpp.
References SchoolMask.
Referenced by _LoadAuraState(), ApplyAllSpellImmunitiesTo(), ThreatManager::CalculateModifiedThreat(), Unit::CalculateSpellDamageTaken(), CanSpellProvideImmunityAgainstAura(), AuraEffect::CheckEffectProc(), spell_hun_lock_and_load::CheckTrapProc(), Unit::DealDamage(), Unit::DealMeleeDamage(), Spell::TargetInfo::DoDamageAndTriggers(), Spell::EffectCastButtons(), Spell::EffectEnvironmentalDMG(), Spell::EffectHealthLeech(), Spell::EffectInterruptCast(), Spell::EffectWeaponDmg(), ProcEventInfo::GetSchoolMask(), spell_mage_cold_snap::HandleDummy(), spell_dru_t3_8p_bonus::HandleProc(), spell_hun_glyph_of_arcane_shot::HandleProc(), spell_hun_thrill_of_the_hunt::HandleProc(), spell_pal_illumination::HandleProc(), spell_rog_quick_recovery::HandleProc(), Unit::IsImmunedToDamage(), Unit::IsImmunedToSpell(), Unit::IsImmunedToSpellEffect(), SpellHistory::IsReady(), SpellHistory::LockSpellSchool(), WorldObject::MagicSpellHitResult(), Unit::MeleeDamageBonusDone(), Unit::MeleeDamageBonusTaken(), Unit::SendPeriodicAuraLog(), Spell::Spell(), Unit::SpellCriticalDamageBonus(), Unit::SpellDamageBonusDone(), Unit::SpellDamageBonusTaken(), Unit::SpellDamagePctDone(), Unit::SpellHealingBonusDone(), boss_viscidus::boss_viscidusAI::SpellHit(), and WorldObject::SpellHitResult().
Definition at line 1925 of file SpellInfo.cpp.
References GetEffects(), and Mechanic.
Referenced by WorldObject::ModSpellDuration(), and Unit::RemoveAurasWithMechanic().
| SpellSpecificType SpellInfo::GetSpellSpecific | ( | ) | const |
Definition at line 2042 of file SpellInfo.cpp.
References _spellSpecific.
Referenced by _LoadAuraState(), IsAuraExclusiveBySpecificPerCasterWith(), IsAuraExclusiveBySpecificWith(), Unit::IsPolymorphed(), and Aura::IsSingleTargetWith().
| bool SpellInfo::HasAreaAuraEffect | ( | ) | const |
Definition at line 918 of file SpellInfo.cpp.
References GetEffects().
Referenced by AuraScript::_Validate(), and Aura::CanBeSentToClient().
|
inline |
Definition at line 375 of file SpellInfo.h.
Referenced by Spell::_cast(), _isPositiveEffectImpl(), Pet::_LoadAuras(), Player::_LoadAuras(), _LoadImmunityInfo(), Battleground::_ProcessJoin(), Unit::_TryStackingOrRefreshingExistingAura(), Unit::AddAura(), Player::AddSpell(), ThreatManager::AddThreat(), ApplyAllSpellImmunitiesTo(), AuraApplication::BuildUpdatePacket(), CalcCastTime(), CalcPowerCost(), Unit::CalcSpellResistedDamage(), Unit::CalculateAverageResistReduction(), AuraEffect::CalculatePeriodic(), Unit::CalculateSpellDamageTaken(), SpellEffectInfo::CalcValue(), Aura::CanBeSaved(), CanBeUsedInCombat(), PlayerAI::CancelAllShapeshifts(), CanDispelAura(), Spell::CanExecuteTriggersOnHit(), Player::CanFlyInZone(), Player::CanNoReagentCast(), CanPierceImmuneAura(), CanSpellProvideImmunityAgainstAura(), Aura::CanStackWith(), Spell::CheckArenaCastRules(), Spell::CheckCast(), Spell::CheckCasterAuras(), AuraEffect::CheckEffectProc(), Spell::CheckEffectTarget(), Spell::CheckItems(), CheckLocation(), CheckShapeshift(), CheckTarget(), CheckVehicle(), Unit::DealDamage(), Spell::TargetInfo::DoDamageAndTriggers(), Spell::DoEffectOnLaunchTarget(), Spell::DoSpellEffectHit(), Spell::EffectCastButtons(), Spell::EffectEnergize(), Spell::EffectEnergizePct(), Spell::EffectSchoolDMG(), Spell::EffectStealBeneficialBuff(), Spell::EffectWeaponDmg(), UnitAI::FillAISpellInfo(), Spell::finish(), ThreatManager::ForwardThreatForAssistingMe(), GetAttackType(), GetAuraRankForLevel(), Unit::GetDispellableAuraList(), npc_thorim_trashAI::AIHelper::GetHealTarget(), WorldObject::GetMagicHitRedirectTarget(), GetMaxTicks(), Spell::GetMinMaxRange(), Aura::GetProcEffectMask(), Spell::GetSearcherTypeMask(), AuraEffect::GetTotalTicks(), AuraEffect::HandleAuraModSchoolImmunity(), WorldSession::HandleCancelAuraOpcode(), WorldSession::HandleCancelChanneling(), WorldSession::HandleCancelGrowthAuraOpcode(), WorldSession::HandleCancelMountAuraOpcode(), Spell::HandleLaunchPhase(), lookup_commandscript::HandleLookupSpellCommand(), AuraEffect::HandleModTotalPercentStat(), Player::HandlePassiveSpellLearn(), AuraEffect::HandlePeriodicEnergizeAuraTick(), WorldSession::HandlePetAction(), AuraEffect::HandleShapeshiftBoosts(), Spell::HandleThreatSpells(), HasInitialAggro(), Player::IsAffectedBySpellmod(), IsAffectedBySpellMods(), IsAllowingDeadTarget(), Spell::IsAutoActionResetSpell(), IsAutocastable(), IsAutoRepeatRangedSpell(), IsBreakingStealth(), IsChanneled(), IsCooldownStartedOnEvent(), Unit::IsDamageReducedByArmor(), IsDeathPersistent(), Spell::IsFocusDisabled(), Unit::IsImmunedToDamage(), Unit::IsImmunedToSpell(), Unit::IsImmunedToSpellEffect(), IsMoveAllowedChannel(), IsNextMeleeSwingSpell(), IsPassive(), IsPositive(), IsPositiveEffect(), IsRangedWeaponSpell(), Aura::IsRemovedOnShapeLost(), IsRequiringDeadTarget(), IsSingleTarget(), IsStackableOnOneSlotWithDifferentCasters(), WorldObject::IsValidAssistTarget(), WorldObject::IsValidAttackTarget(), list_commandscript::ListAurasCommand(), SpellMgr::LoadEnchantCustomAttr(), LoadLootTemplates_Spell(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellLearnSpells(), WorldObject::MagicSpellHitResult(), Unit::MeleeDamageBonusDone(), Unit::MeleeSpellHitResult(), Unit::MeleeSpellMissChance(), WorldObject::ModSpellCastTime(), WorldObject::ModSpellDuration(), WorldObject::ModSpellDurationTime(), Aura::ModStackAmount(), NeedsComboPoints(), Trinity::AnyAoETargetUnitInObjectRangeCheck::operator()(), Trinity::WorldObjectSpellConeTargetCheck::operator()(), AuraEffect::PeriodicTick(), Spell::prepareDataForTriggerSystem(), Aura::PrepareProcToTrigger(), Spell::TargetInfo::PreprocessTarget(), Aura::RefreshDuration(), Unit::RemoveArenaAuras(), Unit::RemoveAurasByShapeShift(), Unit::RemoveAurasDueToSpellByDispel(), Unit::RemoveAurasDueToSpellBySteal(), Unit::RemoveAurasWithAttribute(), Player::RemoveSpell(), AuraEffect::ResetPeriodic(), DuelResetScript::ResetSpellCooldowns(), Spell::SearchChainTargets(), Spell::SelectSpellTargets(), Spell::SendResurrectRequest(), Spell::SendSpellGo(), Spell::SendSpellStart(), Creature::SetSpellFocus(), Spell::Spell(), SpellCancelsAuraEffect(), CharacterDatabaseCleaner::SpellCheck(), Unit::SpellCritChanceDone(), Unit::SpellCritChanceTaken(), Unit::SpellDamageBonusDone(), Unit::SpellDamageBonusTaken(), Unit::SpellDamagePctDone(), Unit::SpellHealingPctDone(), WorldObject::SpellHitResult(), SpellHistory::StartCooldown(), Trinity::Hyperlinks::LinkTags::enchant::StoreTo(), Unit::TriggerAurasProcOnEvent(), Spell::TriggerGlobalCooldown(), and Spell::UpdateSpellCastDataTargets().
|
inline |
Definition at line 376 of file SpellInfo.h.
|
inline |
Definition at line 377 of file SpellInfo.h.
|
inline |
Definition at line 378 of file SpellInfo.h.
|
inline |
Definition at line 379 of file SpellInfo.h.
|
inline |
Definition at line 380 of file SpellInfo.h.
|
inline |
Definition at line 381 of file SpellInfo.h.
|
inline |
Definition at line 382 of file SpellInfo.h.
|
inline |
Definition at line 383 of file SpellInfo.h.
| bool SpellInfo::HasAura | ( | AuraType | aura | ) | const |
Definition at line 909 of file SpellInfo.cpp.
References GetEffects().
Referenced by Spell::_handle_finish_phase(), _LoadSpellDiminishInfo(), Aura::CanStackWith(), Spell::CheckCast(), CheckVehicle(), Unit::DealDamage(), Spell::EffectSummonType(), Aura::GetProcEffectMask(), WorldSession::HandleCancelAuraOpcode(), IsStackableWithRanks(), ObjectMgr::LoadCreatureAddons(), ObjectMgr::LoadCreatureTemplateAddons(), SpellMgr::LoadSpellGroupStackRules(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoCustomAttributes(), Unit::RemoveAllAurasExceptType(), Unit::RemoveAllAurasExceptType(), Spell::SendSpellGo(), and Creature::SetSpellFocus().
| bool SpellInfo::HasEffect | ( | SpellEffects | effect | ) | const |
Definition at line 900 of file SpellInfo.cpp.
References GetEffects().
Referenced by Spell::_handle_finish_phase(), AuraScript::_Validate(), Player::AddSpell(), Spell::CheckCast(), CheckShapeshift(), CheckTarget(), Spell::TargetInfo::DoDamageAndTriggers(), Item::IsFitToSpellRequirements(), IsPassiveStackableWithRanks(), IsStackableWithRanks(), SpellMgr::LoadSpellLearnSpells(), Unit::MeleeDamageBonusDone(), Spell::PreprocessSpellLaunch(), Spell::TargetInfo::PreprocessTarget(), spell_gen_mounted_charge::Register(), Player::RemoveSpell(), Player::RewardQuest(), Spell::SelectImplicitCasterDestTargets(), Spell::SendSpellGo(), boss_the_beast::SpellHit(), boss_shade_of_aran::boss_aranAI::SpellHit(), and PetAI::UpdateAI().
| bool SpellInfo::HasInitialAggro | ( | ) | const |
Definition at line 1277 of file SpellInfo.cpp.
References HasAttribute(), SPELL_ATTR1_NO_THREAT, and SPELL_ATTR3_NO_INITIAL_AGGRO.
Referenced by Spell::TargetInfo::DoDamageAndTriggers(), Spell::HandleThreatSpells(), Spell::PreprocessSpellHit(), Spell::PreprocessSpellLaunch(), and Spell::TargetInfo::PreprocessTarget().
| bool SpellInfo::HasOnlyDamageEffects | ( | ) | const |
Definition at line 927 of file SpellInfo.cpp.
References GetEffects(), 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::IsAbilityLearnedWithProfession | ( | ) | const |
Definition at line 1018 of file SpellInfo.cpp.
References SkillLineAbilityEntry::AcquireMethod, Id, SkillLineAbilityEntry::MinSkillLineRank, SKILL_LINE_ABILITY_LEARNED_ON_SKILL_VALUE, and sSpellMgr.
Referenced by IsStackableWithRanks().
| bool SpellInfo::IsAbilityOfSkillType | ( | uint32 | skillType | ) | const |
Definition at line 1035 of file SpellInfo.cpp.
Referenced by learn_commandscript::HandleLearnAllGMCommand().
Definition at line 1321 of file SpellInfo.cpp.
References SpellFamilyFlags, and SpellFamilyName.
Referenced by IsAffectedBySpellMod(), and AuraEffect::IsAffectingSpell().
| bool SpellInfo::IsAffectedBySpellMod | ( | SpellModifier const * | mod | ) | const |
Definition at line 1340 of file SpellInfo.cpp.
References IsAffected(), IsAffectedBySpellMods(), SpellModifier::mask, SpellFamilyName, SpellModifier::spellId, and sSpellMgr.
Referenced by AuraEffect::ApplySpellMod(), and Player::IsAffectedBySpellmod().
| bool SpellInfo::IsAffectedBySpellMods | ( | ) | const |
Definition at line 1335 of file SpellInfo.cpp.
References HasAttribute(), and SPELL_ATTR3_NO_DONE_BONUS.
Referenced by IsAffectedBySpellMod().
| bool SpellInfo::IsAffectingArea | ( | ) | const |
Definition at line 1046 of file SpellInfo.cpp.
References GetEffects(), and SPELL_EFFECT_PERSISTENT_AREA_AURA.
Referenced by WorldObject::IsValidAssistTarget(), WorldObject::IsValidAttackTarget(), and WorldObject::MagicSpellHitResult().
| bool SpellInfo::IsAllowingDeadTarget | ( | ) | const |
Definition at line 1193 of file SpellInfo.cpp.
References HasAttribute(), SPELL_ATTR2_CAN_TARGET_DEAD, TARGET_FLAG_CORPSE_ALLY, TARGET_FLAG_CORPSE_ENEMY, and TARGET_FLAG_UNIT_DEAD.
Referenced by CheckTarget(), WorldObject::IsValidAssistTarget(), WorldObject::IsValidAttackTarget(), and Spell::IsValidDeadOrAliveTarget().
| bool SpellInfo::IsAuraExclusiveBySpecificPerCasterWith | ( | SpellInfo const * | spellInfo | ) | const |
Definition at line 1439 of file SpellInfo.cpp.
References GetSpellSpecific(), SPELL_SPECIFIC_ASPECT, SPELL_SPECIFIC_AURA, SPELL_SPECIFIC_CURSE, SPELL_SPECIFIC_HAND, SPELL_SPECIFIC_JUDGEMENT, SPELL_SPECIFIC_SEAL, SPELL_SPECIFIC_STING, and SPELL_SPECIFIC_WARLOCK_CORRUPTION.
Referenced by Aura::CanStackWith().
| bool SpellInfo::IsAuraExclusiveBySpecificWith | ( | SpellInfo const * | spellInfo | ) | const |
Definition at line 1406 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_TRACKER, SPELL_SPECIFIC_WARLOCK_ARMOR, and SPELL_SPECIFIC_WARRIOR_ENRAGE.
Referenced by Aura::CanStackWith().
| bool SpellInfo::IsAutocastable | ( | ) | const |
Definition at line 1117 of file SpellInfo.cpp.
References HasAttribute(), IsPassive(), and SPELL_ATTR1_UNAUTOCASTABLE_BY_PET.
Referenced by Pet::addSpell(), CharmInfo::AddSpellToActionBar(), WorldSession::HandlePetSpellAutocastOpcode(), CharmInfo::InitCharmCreateSpells(), CharmInfo::LoadPetActionBar(), and Pet::ToggleAutocast().
| bool SpellInfo::IsAutoRepeatRangedSpell | ( | ) | const |
Definition at line 1272 of file SpellInfo.cpp.
References HasAttribute(), and SPELL_ATTR2_AUTOREPEAT_FLAG.
Referenced by CalcCastTime(), GetAttackType(), WorldSession::HandleCastSpellOpcode(), Spell::SendSpellGo(), Spell::SendSpellStart(), Spell::Spell(), and SpellHistory::StartCooldown().
| bool SpellInfo::IsBreakingStealth | ( | ) | const |
Definition at line 1260 of file SpellInfo.cpp.
References HasAttribute(), and SPELL_ATTR1_NOT_BREAK_STEALTH.
Referenced by Spell::prepare().
| bool SpellInfo::IsChanneled | ( | ) | const |
Definition at line 1240 of file SpellInfo.cpp.
References HasAttribute(), SPELL_ATTR1_CHANNELED_1, and SPELL_ATTR1_CHANNELED_2.
Referenced by Spell::_cast(), Unit::CalculateDefaultCoefficient(), AuraEffect::CalculatePeriodic(), Spell::cancel(), Aura::CanStackWith(), Spell::DoSpellEffectHit(), Spell::finish(), Unit::GetCastingTimeForBonus(), 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 1175 of file SpellInfo.cpp.
References CategoryEntry, SpellCategoryEntry::Flags, HasAttribute(), SPELL_ATTR0_DISABLED_WHILE_ACTIVE, and SPELL_CATEGORY_FLAG_COOLDOWN_STARTS_ON_EVENT.
Referenced by Aura::_ApplyForTarget(), Unit::AddGameObject(), Spell::CheckCast(), SpellHistory::HandleCooldowns(), SpellHistory::LockSpellSchool(), Unit::RemoveGameObjectImpl(), and Unit::SetMinion().
| bool SpellInfo::IsDeathPersistent | ( | ) | const |
Definition at line 1183 of file SpellInfo.cpp.
References HasAttribute(), and SPELL_ATTR3_DEATH_PERSISTENT.
Referenced by Unit::_CreateAuraApplication(), and Aura::IsDeathPersistent().
| bool SpellInfo::IsDifferentRankOf | ( | SpellInfo const * | spellInfo | ) | const |
Definition at line 3417 of file SpellInfo.cpp.
References Id, and IsRankOf().
Referenced by Pet::addSpell(), Player::AddSpell(), and Aura::CanStackWith().
| bool SpellInfo::IsExplicitDiscovery | ( | ) | const |
Definition at line 952 of file SpellInfo.cpp.
References EFFECT_0, EFFECT_1, GetEffect(), Id, SPELL_EFFECT_CREATE_ITEM_2, SPELL_EFFECT_CREATE_RANDOM_ITEM, and SPELL_EFFECT_SCRIPT_EFFECT.
Referenced by LoadSkillDiscoveryTable().
| bool SpellInfo::IsGroupBuff | ( | ) | const |
Definition at line 1198 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 3424 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 1308 of file SpellInfo.cpp.
References EquippedItemClass, and Item::IsFitToSpellRequirements().
Referenced by Unit::CalcArmorReducedDamage().
| bool SpellInfo::IsLootCrafting | ( | ) | const |
Definition at line 960 of file SpellInfo.cpp.
References EFFECT_0, GetEffect(), SPELL_EFFECT_CREATE_ITEM_2, SPELL_EFFECT_CREATE_RANDOM_ITEM, and SpellIconID.
Referenced by Spell::EffectCreateItem2(), SpellMgr::IsSpellValid(), and LoadLootTemplates_Spell().
| bool SpellInfo::IsMoveAllowedChannel | ( | ) | const |
Definition at line 1245 of file SpellInfo.cpp.
References AURA_INTERRUPT_FLAG_MOVE, AURA_INTERRUPT_FLAG_TURNING, ChannelInterruptFlags, HasAttribute(), IsChanneled(), and SPELL_ATTR5_CAN_CHANNEL_WHEN_MOVING.
Referenced by Spell::CheckMovement().
| bool SpellInfo::IsMultiSlotAura | ( | ) | const |
Definition at line 1164 of file SpellInfo.cpp.
References Id, and IsPassive().
Referenced by Unit::_TryStackingOrRefreshingExistingAura(), and Aura::CanStackWith().
| bool SpellInfo::IsNextMeleeSwingSpell | ( | ) | const |
Definition at line 1255 of file SpellInfo.cpp.
References HasAttribute(), SPELL_ATTR0_ON_NEXT_SWING, and SPELL_ATTR0_ON_NEXT_SWING_2.
Referenced by Spell::GetCurrentContainer(), Spell::GetMinMaxRange(), Spell::prepare(), and Spell::update().
| bool SpellInfo::IsPassive | ( | ) | const |
Definition at line 1112 of file SpellInfo.cpp.
References HasAttribute(), and SPELL_ATTR0_PASSIVE.
Referenced by _isPositiveEffectImpl(), Unit::AddAura(), Pet::addSpell(), Player::AddSpell(), ApplyAllSpellImmunitiesTo(), Player::ApplyItemDependentAuras(), Aura::CalcMaxDuration(), PlayerAI::CancelAllShapeshifts(), Spell::CheckCast(), UnitAI::FillAISpellInfo(), GetAuraRankForLevel(), GetDuration(), GetMaxDuration(), WorldSession::HandleCancelAuraOpcode(), WorldSession::HandleCancelGrowthAuraOpcode(), WorldSession::HandleCancelMountAuraOpcode(), WorldSession::HandleCastSpellOpcode(), SpellHistory::HandleCooldowns(), lookup_commandscript::HandleLookupSpellCommand(), WorldSession::HandlePetActionHelper(), WorldSession::HandlePetCastSpellOpcode(), spell_gen_clear_debuffs::HandleScript(), AuraEffect::HandleShapeshiftBoosts(), Player::HasItemFitToSpellRequirements(), CharmInfo::InitCharmCreateSpells(), CharmInfo::InitPossessCreateSpells(), IsAutocastable(), IsMultiSlotAura(), Aura::IsPassive(), IsPassiveStackableWithRanks(), IsStackableWithRanks(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellLearnSpells(), Unit::ModifyAuraState(), Spell::prepare(), Player::RemoveSpell(), Spell::Spell(), CharmInfo::ToggleCreatureAutocast(), and Player::VehicleSpellInitialize().
| bool SpellInfo::IsPassiveStackableWithRanks | ( | ) | const |
Definition at line 1159 of file SpellInfo.cpp.
References HasEffect(), IsPassive(), and SPELL_EFFECT_APPLY_AURA.
Referenced by Unit::_RemoveNoStackAurasDueToAura().
| bool SpellInfo::IsPositive | ( | ) | const |
Definition at line 1221 of file SpellInfo.cpp.
References HasAttribute(), and SPELL_ATTR0_CU_NEGATIVE.
Referenced by _isPositiveEffectImpl(), Pet::_LoadAuras(), Player::_LoadAuras(), _LoadSpellDiminishInfo(), ApplyAllSpellImmunitiesTo(), PlayerAI::CancelAllShapeshifts(), Player::CastItemCombatSpell(), CheckTarget(), Spell::EffectCharge(), UnitAI::FillAISpellInfo(), spell_rog_deadly_poison::HandleAfterHit(), AuraEffect::HandleAuraTransform(), WorldSession::HandleCancelAuraOpcode(), WorldSession::HandleCancelGrowthAuraOpcode(), WorldSession::HandleCancelMountAuraOpcode(), WorldSession::HandleCastSpellOpcode(), spell_gen_clear_debuffs::HandleScript(), GameObject::IsAtInteractDistance(), Unit::IsImmunedToSpell(), Totem::IsImmunedToSpellEffect(), Spell::IsPositive(), WorldObject::IsValidAssistTarget(), WorldObject::IsValidAttackTarget(), WorldObject::MagicSpellHitResult(), Spell::PreprocessSpellLaunch(), Spell::TargetInfo::PreprocessTarget(), Unit::SpellCritChanceTaken(), WorldObject::SpellHitResult(), and PetAI::UpdateAI().
| bool SpellInfo::IsPositiveEffect | ( | uint8 | effIndex | ) | const |
Definition at line 1226 of file SpellInfo.cpp.
References HasAttribute(), SPELL_ATTR0_CU_NEGATIVE_EFF0, SPELL_ATTR0_CU_NEGATIVE_EFF1, and SPELL_ATTR0_CU_NEGATIVE_EFF2.
Referenced by AuraApplication::_InitFlags(), _InitializeSpellPositivity(), _isPositiveEffectImpl(), CanSpellProvideImmunityAgainstAura(), Spell::TargetInfo::DoDamageAndTriggers(), GetAuraRankForLevel(), Unit::IsImmunedToSpellEffect(), Spell::prepare(), Spell::PreprocessSpellHit(), Spell::SelectImplicitAreaTargets(), and Spell::SelectImplicitConeTargets().
| bool SpellInfo::IsPrimaryProfession | ( | ) | const |
Definition at line 998 of file SpellInfo.cpp.
References GetEffects(), IsPrimaryProfessionSkill(), and SPELL_EFFECT_SKILL.
Referenced by IsPrimaryProfessionFirstRank().
| bool SpellInfo::IsPrimaryProfessionFirstRank | ( | ) | const |
Definition at line 1013 of file SpellInfo.cpp.
References GetRank(), and IsPrimaryProfession().
Referenced by Player::AddSpell(), Trainer::Trainer::CanTeachSpell(), Player::RemoveSpell(), and Trainer::Trainer::SendSpells().
| bool SpellInfo::IsProfession | ( | ) | const |
Definition at line 983 of file SpellInfo.cpp.
References GetEffects(), IsProfessionSkill(), and SPELL_EFFECT_SKILL.
| bool SpellInfo::IsProfessionOrRiding | ( | ) | const |
Definition at line 968 of file SpellInfo.cpp.
References GetEffects(), IsProfessionOrRidingSkill(), and SPELL_EFFECT_SKILL.
Referenced by IsStackableWithRanks().
| bool SpellInfo::IsRangedWeaponSpell | ( | ) | const |
Definition at line 1265 of file SpellInfo.cpp.
References EquippedItemSubClassMask, HasAttribute(), ITEM_SUBCLASS_MASK_WEAPON_RANGED, SPELL_ATTR0_REQ_AMMO, SPELLFAMILY_HUNTER, SpellFamilyFlags, and SpellFamilyName.
Referenced by GetAttackType(), Spell::handle_immediate(), Unit::MeleeSpellHitResult(), Unit::SpellDamageBonusDone(), and Unit::SpellHealingBonusDone().
| bool SpellInfo::IsRanked | ( | ) | const |
Definition at line 3335 of file SpellInfo.cpp.
References ChainEntry.
Referenced by Pet::addSpell(), Player::AddSpell(), IsUnlearnSpellsPacketNeededForSpell(), SpellMgr::LoadSpellProcs(), ObjectMgr::LoadSpellScriptNames(), and Player::RemoveSpell().
| bool SpellInfo::IsRankOf | ( | SpellInfo const * | spellInfo | ) | const |
Definition at line 3412 of file SpellInfo.cpp.
References GetFirstRankSpell().
Referenced by Aura::CanStackWith(), spell_warr_extra_proc::HandleProc(), spell_pal_light_s_beacon::HandleProc(), IsDifferentRankOf(), SpellMgr::LoadSpellRequired(), spell_dk_will_of_the_necropolis::Validate(), spell_pal_holy_shock::Validate(), spell_pri_penance::Validate(), and spell_sha_fire_nova::Validate().
| bool SpellInfo::IsRequiringDeadTarget | ( | ) | const |
Definition at line 1188 of file SpellInfo.cpp.
References HasAttribute(), and SPELL_ATTR3_ONLY_TARGET_GHOSTS.
Referenced by Spell::IsValidDeadOrAliveTarget(), and Unit::RemoveAllAurasRequiringDeadTarget().
| bool SpellInfo::IsSelfCast | ( | ) | const |
Definition at line 1104 of file SpellInfo.cpp.
References GetEffects(), and TARGET_UNIT_CASTER.
Referenced by Player::RewardQuest().
| bool SpellInfo::IsSingleTarget | ( | ) | const |
Definition at line 1397 of file SpellInfo.cpp.
References HasAttribute(), and SPELL_ATTR5_SINGLE_TARGET_SPELL.
Referenced by Unit::_AddAura(), Aura::CanBeSaved(), and Aura::Create().
| bool SpellInfo::IsStackableOnOneSlotWithDifferentCasters | ( | ) | const |
TODO: Re-verify meaning of SPELL_ATTR3_STACK_FOR_DIFF_CASTERS and update conditions here
Definition at line 1169 of file SpellInfo.cpp.
References HasAttribute(), IsChanneled(), SPELL_ATTR3_STACK_FOR_DIFF_CASTERS, and StackAmount.
Referenced by Unit::_TryStackingOrRefreshingExistingAura().
| bool SpellInfo::IsStackableWithRanks | ( | ) | const |
Definition at line 1126 of file SpellInfo.cpp.
References HasAura(), HasEffect(), IsAbilityLearnedWithProfession(), IsPassive(), IsProfessionOrRiding(), POWER_HEALTH, POWER_MANA, SPELL_AURA_MOD_SHAPESHIFT, SPELL_EFFECT_APPLY_AREA_AURA_RAID, SPELLFAMILY_DRUID, SPELLFAMILY_PALADIN, SpellFamilyFlags, and SpellFamilyName.
Referenced by Player::AddSpell(), IsUnlearnSpellsPacketNeededForSpell(), and Player::RemoveSpell().
| bool SpellInfo::IsTargetingArea | ( | ) | const |
Definition at line 1055 of file SpellInfo.cpp.
References GetEffects().
Referenced by Spell::CheckCast(), and Spell::HandleLaunchPhase().
| bool SpellInfo::NeedsComboPoints | ( | ) | const |
Definition at line 1250 of file SpellInfo.cpp.
References HasAttribute(), SPELL_ATTR1_REQ_COMBO_POINTS1, and SPELL_ATTR1_REQ_COMBO_POINTS2.
Referenced by Spell::Spell().
| bool SpellInfo::NeedsExplicitUnitTarget | ( | ) | const |
Definition at line 1063 of file SpellInfo.cpp.
References GetExplicitTargetMask(), and TARGET_FLAG_UNIT_MASK.
Referenced by Spell::CheckCast(), Spell::CheckPetCast(), CharmInfo::InitCharmCreateSpells(), NeedsToBeTriggeredByCaster(), and Spell::SendChannelStart().
| bool SpellInfo::NeedsToBeTriggeredByCaster | ( | SpellInfo const * | triggeringSpell | ) | const |
Definition at line 1068 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 3060 of file SpellInfo.cpp.
References Dispel, AuraEffect::GetAuraType(), GetEffects(), AuraEffect::GetSpellEffectInfo(), AuraEffect::GetSpellInfo(), HasAttribute(), SpellEffectInfo::Mechanic, Mechanic, SchoolMask, SPELL_ATTR0_UNAFFECTED_BY_INVULNERABILITY, SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY, SPELL_ATTR2_UNAFFECTED_BY_AURA_SCHOOL_IMMUNE, SPELL_AURA_DISPEL_IMMUNITY, SPELL_AURA_MECHANIC_IMMUNITY, SPELL_AURA_MOD_IMMUNE_AURA_APPLY_SCHOOL, SPELL_AURA_SCHOOL_IMMUNITY, SPELL_AURA_STATE_IMMUNITY, and SPELL_EFFECT_APPLY_AURA.
Referenced by Spell::CheckSpellCancelsAuraEffect().
|
friend |
Definition at line 286 of file SpellInfo.h.
|
private |
Definition at line 521 of file SpellInfo.h.
Referenced by _LoadImmunityInfo(), GetAllowedMechanicMask(), and SpellInfo().
|
private |
Definition at line 516 of file SpellInfo.h.
Referenced by _LoadAuraState(), GetAuraState(), and SpellInfo().
|
private |
Definition at line 518 of file SpellInfo.h.
Referenced by _LoadSpellDiminishInfo(), GetDiminishingReturnsGroupForSpell(), GetDiminishingReturnsGroupType(), GetDiminishingReturnsLimitDuration(), and GetDiminishingReturnsMaxLevel().
|
private |
Definition at line 519 of file SpellInfo.h.
Referenced by _LoadSpellDiminishInfo(), GetDiminishingReturnsGroupForSpell(), GetDiminishingReturnsGroupType(), GetDiminishingReturnsLimitDuration(), and GetDiminishingReturnsMaxLevel().
| std::array<SpellEffectInfo, MAX_SPELL_EFFECTS> SpellInfo::_effects |
Definition at line 362 of file SpellInfo.h.
Referenced by CanSpellProvideImmunityAgainstAura(), and SpellInfo().
|
private |
Definition at line 515 of file SpellInfo.h.
Referenced by _LoadSpellSpecific(), GetSpellSpecific(), and SpellInfo().
| uint32 SpellInfo::ActiveIconID |
Definition at line 350 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoCorrections(), and SpellInfo().
| uint32 SpellInfo::Attributes |
Definition at line 293 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoCorrections(), and SpellInfo().
| uint32 SpellInfo::AttributesCu |
Definition at line 301 of file SpellInfo.h.
Referenced by _InitializeSpellPositivity(), SpellMgr::LoadSpellInfoCustomAttributes(), and SpellInfo().
| uint32 SpellInfo::AttributesEx |
Definition at line 294 of file SpellInfo.h.
Referenced by SpellInfo().
| uint32 SpellInfo::AttributesEx2 |
Definition at line 295 of file SpellInfo.h.
Referenced by SpellInfo().
| uint32 SpellInfo::AttributesEx3 |
Definition at line 296 of file SpellInfo.h.
Referenced by SpellInfo().
| uint32 SpellInfo::AttributesEx4 |
Definition at line 297 of file SpellInfo.h.
Referenced by SpellInfo().
| uint32 SpellInfo::AttributesEx5 |
Definition at line 298 of file SpellInfo.h.
Referenced by SpellMgr::LoadSpellInfoCorrections(), and SpellInfo().
| uint32 SpellInfo::AttributesEx6 |
Definition at line 299 of file SpellInfo.h.
Referenced by SpellInfo().
| uint32 SpellInfo::AttributesEx7 |
Definition at line 300 of file SpellInfo.h.
Referenced by SpellInfo().
| uint32 SpellInfo::AuraInterruptFlags |
Definition at line 322 of file SpellInfo.h.
Referenced by Unit::_ApplyAura(), Unit::_CreateAuraApplication(), _LoadSpellSpecific(), Unit::_UnapplyAura(), Spell::CheckCast(), Unit::RemoveAurasWithInterruptFlags(), and SpellInfo().
| uint32 SpellInfo::BaseLevel |
Definition at line 328 of file SpellInfo.h.
Referenced by SpellEffectInfo::CalcValue(), and SpellInfo().
| uint32 SpellInfo::CasterAuraSpell |
Definition at line 312 of file SpellInfo.h.
Referenced by Spell::CheckCast(), and SpellInfo().
| uint32 SpellInfo::CasterAuraState |
Definition at line 308 of file SpellInfo.h.
Referenced by Pet::addSpell(), Spell::CheckCast(), Player::HandlePassiveSpellLearn(), Unit::ModifyAuraState(), and SpellInfo().
| SpellCastTimesEntry const* SpellInfo::CastTimeEntry |
Definition at line 316 of file SpellInfo.h.
Referenced by CalcCastTime(), and SpellInfo().
| SpellCategoryEntry const* SpellInfo::CategoryEntry |
Definition at line 290 of file SpellInfo.h.
Referenced by GetCategory(), IsCooldownStartedOnEvent(), and SpellInfo().
| uint32 SpellInfo::CategoryRecoveryTime |
Definition at line 318 of file SpellInfo.h.
Referenced by SpellHistory::GetCooldownDurations(), GetRecoveryTime(), DuelResetScript::ResetSpellCooldowns(), SpellHistory::RestoreCooldownStateAfterDuel(), and SpellInfo().
| SpellChainNode const* SpellInfo::ChainEntry |
Definition at line 364 of file SpellInfo.h.
Referenced by GetFirstRankSpell(), GetLastRankSpell(), GetNextRankSpell(), GetPrevRankSpell(), GetRank(), IsHighRankOf(), IsRanked(), and SpellInfo().
| uint32 SpellInfo::ChannelInterruptFlags |
Definition at line 323 of file SpellInfo.h.
Referenced by Spell::DelayedChannel(), Spell::EffectInterruptCast(), Spell::handle_immediate(), IsMoveAllowedChannel(), and SpellInfo().
| uint32 SpellInfo::Dispel |
Definition at line 291 of file SpellInfo.h.
Referenced by _LoadAuraState(), _LoadSpellSpecific(), ApplyAllSpellImmunitiesTo(), CanSpellProvideImmunityAgainstAura(), spell_ahnkahet_combined_toxins::CheckProc(), spell_dk_hungering_cold::CheckProc(), GetDispelMask(), spell_rog_deadly_poison::HandleAfterHit(), Unit::IsImmunedToSpell(), WorldObject::MagicSpellHitResult(), WorldObject::ModSpellDuration(), SpellCancelsAuraEffect(), and SpellInfo().
| uint32 SpellInfo::DmgClass |
Definition at line 358 of file SpellInfo.h.
Referenced by Spell::_cast(), Spell::_handle_finish_phase(), Unit::CalculateSpellDamageTaken(), spell_ahnkahet_combined_toxins::CheckProc(), Spell::TargetInfo::DoDamageAndTriggers(), Spell::EffectInterruptCast(), GetAttackType(), Unit::MeleeSpellHitResult(), Spell::prepareDataForTriggerSystem(), Spell::SearchChainTargets(), Spell::SelectExplicitTargets(), Spell::Spell(), Unit::SpellCritChanceDone(), Unit::SpellCritChanceTaken(), Unit::SpellCriticalDamageBonus(), Unit::SpellCriticalHealingBonus(), Unit::SpellDamageBonusDone(), Unit::SpellHealingBonusDone(), WorldObject::SpellHitResult(), SpellInfo(), and Spell::TriggerGlobalCooldown().
| SpellDurationEntry const* SpellInfo::DurationEntry |
Definition at line 330 of file SpellInfo.h.
Referenced by Aura::CalcMaxDuration(), GetDuration(), GetMaxDuration(), and SpellInfo().
| int32 SpellInfo::EquippedItemClass |
Definition at line 344 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(), Spell::prepareDataForTriggerSystem(), and SpellInfo().
| int32 SpellInfo::EquippedItemInventoryTypeMask |
Definition at line 346 of file SpellInfo.h.
Referenced by Item::IsFitToSpellRequirements(), and SpellInfo().
| int32 SpellInfo::EquippedItemSubClassMask |
Definition at line 345 of file SpellInfo.h.
Referenced by Spell::EffectProficiency(), Spell::EffectTitanGrip(), FillSpellCastFailedArgs(), Player::HasItemFitToSpellRequirements(), Item::IsFitToSpellRequirements(), IsRangedWeaponSpell(), Spell::prepareDataForTriggerSystem(), and SpellInfo().
| uint32 SpellInfo::ExcludeCasterAuraSpell |
Definition at line 314 of file SpellInfo.h.
Referenced by Spell::CheckCast(), SpellInfo(), and spell_mage_ice_block::Validate().
| uint32 SpellInfo::ExcludeCasterAuraState |
Definition at line 310 of file SpellInfo.h.
Referenced by Spell::CheckCast(), and SpellInfo().
| uint32 SpellInfo::ExcludeTargetAuraSpell |
Definition at line 315 of file SpellInfo.h.
Referenced by CheckTarget(), SpellInfo(), spell_putricide_ooze_channel::Validate(), and spell_pri_power_word_shield::Validate().
| uint32 SpellInfo::ExcludeTargetAuraState |
Definition at line 311 of file SpellInfo.h.
Referenced by CheckTarget(), and SpellInfo().
| uint32 SpellInfo::ExplicitTargetMask |
Definition at line 363 of file SpellInfo.h.
Referenced by _InitializeExplicitTargetMask(), GetExplicitTargetMask(), and SpellInfo().
| uint32 SpellInfo::FacingCasterFlags |
Definition at line 307 of file SpellInfo.h.
Referenced by Spell::CheckRange(), and SpellInfo().
| uint32 SpellInfo::Id |
Definition at line 289 of file SpellInfo.h.
Referenced by Spell::_cast(), Unit::_CreateAuraApplication(), Spell::_handle_finish_phase(), _isPositiveEffectImpl(), Pet::_LoadAuras(), Player::_LoadAuras(), _LoadAuraState(), _LoadImmunityInfo(), _LoadSpellDiminishInfo(), _LoadSpellSpecific(), Unit::_TryStackingOrRefreshingExistingAura(), Aura::_UnapplyForTarget(), Unit::_UpdateAutoRepeatSpell(), _SpellScript::_Validate(), SpellScript::_Validate(), AuraScript::_Validate(), spell_valkyr_essences::Absorb(), AddItemsSetItem(), SpellMgr::AddSameEffectStackRuleSpellGroups(), CharmInfo::AddSpellToActionBar(), ConditionMgr::addToSpellImplicitTargetConditions(), ApplyAllSpellImmunitiesTo(), WorldObject::ApplyEffectModifiers(), Player::ApplyEquipSpell(), Unit::CalcArmorReducedDamage(), SpellEffectInfo::CalcDamageMultiplier(), Aura::CalcMaxDuration(), CalcPowerCost(), SpellEffectInfo::CalcRadius(), AuraEffect::CalculateAmount(), ThreatManager::CalculateModifiedThreat(), Unit::CalculateSpellDamageTaken(), SpellEffectInfo::CalcValueMultiplier(), Spell::CanAutoCast(), Spell::cancel(), Spell::CanOpenLock(), Aura::CanStackWith(), Player::CastItemCombatSpell(), Spell::CheckCast(), Spell::CheckCasterAuras(), Spell::CheckEffectTarget(), CheckLocation(), spell_eredar_twins_dark_flame_aura_shadow::CheckProc(), spell_eredar_twins_dark_flame_aura_fire::CheckProc(), spell_dru_t10_restoration_4p_bonus_dummy::CheckProc(), spell_pri_body_and_soul::CheckProcDummy(), Spell::CheckRuneCost(), CheckShapeshift(), cast_commandscript::CheckSpellExistsAndIsValid(), SpellMgr::CheckSpellGroupStackRules(), DynamicObject::CreateDynamicObject(), Unit::DealDamage(), Unit::DealMeleeDamage(), Spell::Delayed(), Spell::DelayedChannel(), ScriptedAI::DoCastSpell(), Spell::DoCreateItem(), Spell::TargetInfo::DoDamageAndTriggers(), Spell::DoTriggersOnSpellHit(), Spell::EffectActivateObject(), Spell::EffectActivateRune(), Spell::EffectAddHonor(), Spell::EffectCastButtons(), Spell::EffectCreateItem2(), Spell::EffectCreateRandomItem(), Spell::EffectCreateTamedPet(), Spell::EffectDisEnchant(), Spell::EffectDispel(), Spell::EffectDuel(), Spell::EffectDummy(), Spell::EffectEnchantHeldItem(), Spell::EffectEnchantItemPerm(), Spell::EffectEnchantItemPrismatic(), Spell::EffectEnchantItemTmp(), Spell::EffectEnergize(), Spell::EffectEnvironmentalDMG(), Spell::EffectForceCast(), Spell::EffectHeal(), Spell::EffectInstaKill(), Spell::EffectInterruptCast(), Spell::EffectKillCredit(), Spell::EffectLearnPetSpell(), Spell::EffectOpenLock(), Spell::EffectPlayMusic(), Spell::EffectPlaySound(), Spell::EffectPowerBurn(), Spell::EffectPullTowards(), Spell::EffectPullTowardsDest(), Spell::EffectRedirectThreat(), Spell::EffectSchoolDMG(), Spell::EffectScriptEffect(), Spell::EffectSendEvent(), Spell::EffectSendTaxi(), Spell::EffectStealBeneficialBuff(), Spell::EffectSummonObject(), Spell::EffectSummonObjectWild(), Spell::EffectSummonPet(), Spell::EffectSummonType(), Spell::EffectTameCreature(), Spell::EffectTaunt(), Spell::EffectTeleportUnits(), Spell::EffectTransmitted(), Spell::EffectTriggerMissileSpell(), Spell::EffectTriggerRitualOfSummoning(), Spell::EffectTriggerSpell(), Spell::EffectWeaponDmg(), Unit::EnergizeBySpell(), FillSpellCastFailedArgs(), Spell::finish(), SpellHistory::GetCooldownDurations(), Spell::GetDebugInfo(), SpellMgr::GetFirstSpellInChain(), Unit::GetHighestExclusiveSameEffectSpellGroupValue(), GetMaxRange(), Spell::GetMinMaxRange(), Unit::GetPPMProcChance(), SpellHistory::GetRemainingCooldown(), SpellMgr::GetSpellForDifficultyFromSpell(), Spell::handle_immediate(), spell_ioc_seaforium_blast_credit::HandleAchievementCredit(), AuraEffect::HandleAuraDummy(), AuraEffect::HandleAuraModPacifyAndSilence(), WorldSession::HandleCancelChanneling(), cast_commandscript::HandleCastBackCommand(), cast_commandscript::HandleCastCommand(), cast_commandscript::HandleCastDestCommand(), cast_commandscript::HandleCastDistCommand(), cast_commandscript::HandleCastSelfCommand(), WorldSession::HandleCastSpellOpcode(), cast_commandscript::HandleCastTargetCommad(), spell_hun_readiness::HandleDummy(), spell_item_deadly_precision_dummy::HandleDummy(), spell_mage_cold_snap::HandleDummy(), spell_pal_improved_aura::HandleEffectRemove(), learn_commandscript::HandleLearnCommand(), Player::HandlePassiveSpellLearn(), AuraEffect::HandlePeriodicPowerBurnAuraTick(), WorldSession::HandlePetCastSpellOpcode(), pet_commandscript::HandlePetLearnCommand(), pet_commandscript::HandlePetUnlearnCommand(), spell_dk_dancing_rune_weapon::HandleProc(), spell_hun_cobra_strikes::HandleProc(), spell_dk_sudden_doom::HandleProc(), spell_pal_judgement_of_wisdom_mana::HandleProc(), spell_sha_glyph_of_earth_shield::HandleProc(), spell_warr_sweeping_strikes::HandleProc(), spell_sartura_whirlwind::HandleScript(), spell_leotheras_the_blind_whirlwind_effect::HandleScript(), spell_gen_dalaran_disguise::HandleScript(), spell_gen_profession_research::HandleScript(), spell_item_book_of_glyph_mastery::HandleScript(), Unit::HandleSpellClick(), spell_thaddius_polarity_charge::HandleTargets(), Spell::HandleThreatSpells(), learn_commandscript::HandleUnLearnCommand(), WorldSession::HandleUpdateMissileTrajectory(), SpellHistory::HasCooldown(), CharmInfo::InitCharmCreateSpells(), Pet::InitLevelupSpellsForLevel(), CharmInfo::InitPossessCreateSpells(), IsAbilityLearnedWithProfession(), IsAbilityOfSkillType(), IsDifferentRankOf(), IsExplicitDiscovery(), Unit::IsImmunedToSpell(), Totem::IsImmunedToSpellEffect(), IsMultiSlotAura(), SpellHistory::IsReady(), SpellMgr::IsSpellValid(), LinkValidator< LinkTags::enchant >::IsTextValid(), npc_guard_generic::JustEngagedWith(), spell_yogg_saron_psychosis::spell_yogg_saron_psychosis_SpellScript::Load(), spell_yogg_saron_lunatic_gaze::spell_yogg_saron_lunatic_gaze_SpellScript::Load(), ObjectMgr::LoadCreatureAddons(), ObjectMgr::LoadCreatureTemplateAddons(), LoadLootTemplates_Spell(), SpellMgr::LoadPetLevelupSpellMap(), ObjectMgr::LoadQuests(), Aura::LoadScripts(), Spell::LoadScripts(), SpellMgr::LoadSpellProcs(), ObjectMgr::LoadSpellScriptNames(), WorldObject::MagicSpellHitResult(), Unit::MeleeSpellHitResult(), WorldObject::ModSpellCastTime(), WorldObject::ModSpellDuration(), WorldObject::ModSpellDurationTime(), boss_baron_geddon::OnSpellCast(), boss_garr::OnSpellCast(), npc_core_rager::OnSpellCast(), boss_magmadar::OnSpellCast(), boss_maiden_of_virtue::OnSpellCast(), boss_moroes::OnSpellCast(), boss_doctor_theolen_krastinov::OnSpellCast(), boss_kormok::OnSpellCast(), boss_brutallus::OnSpellCast(), boss_sacrolash::OnSpellCast(), boss_alythess::OnSpellCast(), npc_shadow_image::OnSpellCast(), boss_muru::OnSpellCast(), boss_zuljin::OnSpellCast(), boss_ayamiss::OnSpellCast(), boss_kurinnaxx::OnSpellCast(), boss_moam::OnSpellCast(), boss_rajaxx::OnSpellCast(), boss_huhuran::OnSpellCast(), boss_sartura::OnSpellCast(), boss_king_dred::OnSpellCast(), boss_magus_telestra::OnSpellCast(), boss_drakos::OnSpellCast(), boss_krystallus::OnSpellCast(), boss_maiden_of_grief::OnSpellCast(), boss_ingvar_the_plunderer::OnSpellCast(), npc_millhouse_manastorm::OnSpellCast(), boss_dalliah_the_doomsayer::OnSpellCast(), boss_wrath_scryer_soccothrates::OnSpellCast(), boss_alar::OnSpellCast(), boss_void_reaver::OnSpellCast(), boss_majordomo::OnSpellCast(), boss_ragnaros::OnSpellCast(), boss_tinhead::OnSpellCast(), boss_big_bad_wolf::OnSpellCast(), boss_akilzon::OnSpellCast(), boss_halazzi::OnSpellCast(), boss_hexlord_malacrass::OnSpellCast(), boss_janalai::OnSpellCast(), boss_nalorakk::OnSpellCast(), boss_anetheron::OnSpellCast(), boss_archimonde::OnSpellCast(), boss_azgalor::OnSpellCast(), boss_kazrogal::OnSpellCast(), boss_rage_winterchill::OnSpellCast(), boss_aeonus::OnSpellCast(), boss_chrono_lord_deja::OnSpellCast(), boss_temporus::OnSpellCast(), boss_hodir::OnSpellCast(), boss_exarch_maladaar::OnSpellCast(), boss_nexusprince_shaffar::OnSpellCast(), boss_darkweaver_syth::OnSpellCast(), boss_talon_king_ikiss::OnSpellCast(), boss_blackheart_the_inciter::OnSpellCast(), boss_doom_lord_kazzak::OnSpellCast(), boss_lady_vashj::OnSpellCast(), boss_leotheras_the_blind::OnSpellCast(), boss_morogrim_tidewalker::OnSpellCast(), boss_hydromancer_thespia::OnSpellCast(), boss_mekgineer_steamrigger::OnSpellCast(), boss_swamplord_muselek::OnSpellCast(), boss_gruul::OnSpellCast(), boss_high_king_maulgar::OnSpellCast(), boss_blindeye_the_seer::OnSpellCast(), boss_omor_the_unscarred::OnSpellCast(), boss_watchkeeper_gargolmar::OnSpellCast(), boss_warbringer_omrogg::OnSpellCast(), boss_harbinger_skyriss::OnSpellCast(), boss_zereketh_the_unbound::OnSpellCast(), boss_commander_sarannis::OnSpellCast(), boss_high_botanist_freywinn::OnSpellCast(), boss_thorngrin_the_tender::OnSpellCast(), boss_warp_splinter::OnSpellCast(), boss_kaelthas::OnSpellCast(), npc_phoenix_the_eye::OnSpellCast(), boss_gatewatcher_gyrokill::OnSpellCast(), boss_gatewatcher_iron_hand::OnSpellCast(), boss_mechano_lord_capacitus::OnSpellCast(), boss_nethermancer_sepethrea::OnSpellCast(), boss_pathaleon_the_calculator::OnSpellCast(), npc_shambling_horror_icc::OnSpellFailed(), boss_kaelthas::OnSpellFailed(), boss_drakos::OnSpellStart(), boss_ingvar_the_plunderer::OnSpellStart(), npc_millhouse_manastorm::OnSpellStart(), boss_hodir::OnSpellStart(), boss_exarch_maladaar::OnSpellStart(), boss_pandemonius::OnSpellStart(), boss_the_lurker_below::OnSpellStart(), boss_magtheridon::OnSpellStart(), boss_commander_sarannis::OnSpellStart(), boss_thorngrin_the_tender::OnSpellStart(), boss_kaelthas::OnSpellStart(), boss_gatewatcher_iron_hand::OnSpellStart(), boss_mechano_lord_capacitus::OnSpellStart(), Trinity::AbsorbAuraOrderPred::operator()(), Spell::prepare(), Spell::prepareDataForTriggerSystem(), Spell::PreprocessSpellHit(), Spell::TargetInfo::PreprocessTarget(), spell_garfrost_permafrost::PreventHitByLoS(), SmartScript::ProcessEvent(), spell_pri_power_word_shield_aura::ReflectDamage(), RemoveItemsSetItem(), DuelResetScript::ResetSpellCooldowns(), Player::ResetSpells(), Spell::SelectEffectImplicitTargets(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitChainTargets(), Spell::SelectImplicitChannelTargets(), Spell::SelectImplicitNearbyTargets(), Spell::SendChannelStart(), SpellHistory::SendCooldownEvent(), Unit::SendHealSpellLog(), Spell::SendInterrupted(), Spell::SendLogExecute(), Spell::SendSpellGo(), Spell::SendSpellStart(), AuraEffect::SendTickImmune(), Unit::SetCurrentCastSpell(), CharmInfo::SetSpellAutocast(), list_commandscript::ShouldListAura(), Unit::SpellCritChanceDone(), Unit::SpellCriticalDamageBonus(), Unit::SpellDamageBonusDone(), Unit::SpellHealingBonusDone(), boss_pyroguard_emberseer::SpellHit(), boss_garr::SpellHit(), npc_firesworn::SpellHit(), boss_shazzrah::SpellHit(), boss_attumen::boss_attumenAI::SpellHit(), netherspite_infernal::netherspite_infernalAI::SpellHit(), boss_terestian_illhoof::boss_terestianAI::SpellHit(), boss_romulo::SpellHit(), npc_sir_thomas::SpellHit(), boss_scarlet_commander_mograine::SpellHit(), npc_summoned_skeleton::SpellHit(), npc_spectral_ghostly_citizen::npc_spectral_ghostly_citizenAI::SpellHit(), npc_muru_portal::SpellHit(), npc_earthen_hallshaper_custodian::SpellHit(), npc_earthen_guardian::SpellHit(), npc_vault_warder::SpellHit(), npc_fire_bomb_zulaman::SpellHit(), npc_dragonhawk_egg::SpellHit(), boss_zuljin::SpellHit(), npc_zuljin_spirit::SpellHit(), npc_harrison_jones::npc_harrison_jonesAI::SpellHit(), npc_omen::SpellHit(), boss_archimonde::SpellHit(), npc_crate_helper::npc_crate_helperAI::SpellHit(), boss_onyxia::SpellHit(), npc_hive_zara_swarmer::SpellHit(), boss_buru::SpellHit(), npc_buru_egg::SpellHit(), npc_kerlonian::npc_kerlonianAI::SpellHit(), npc_taskmaster_fizzule::npc_taskmaster_fizzuleAI::SpellHit(), boss_anub_arak::SpellHit(), boss_krik_thir::SpellHit(), npc_gatewatcher_petAI::SpellHit(), boss_halion::SpellHit(), boss_twilight_halion::SpellHit(), npc_open_portal_target_toc::SpellHit(), boss_king_dred::SpellHit(), boss_gal_darah::SpellHit(), boss_moorabi::SpellHit(), BloodPrincesBossAI::SpellHit(), boss_deathbringer_saurfang::SpellHit(), npc_high_overlord_saurfang_icc::SpellHit(), npc_muradin_bronzebeard_icc::SpellHit(), npc_saurfang_event::SpellHit(), npc_cult_fanatic::SpellHit(), npc_cult_adherent::SpellHit(), npc_putricide_oozeAI::SpellHit(), npc_argent_captainAI::SpellHit(), boss_the_lich_king::SpellHit(), npc_tirion_fordring_tft::SpellHit(), boss_valithria_dreamwalker::SpellHit(), npc_gothik_trigger::SpellHit(), boss_kelthuzad::SpellHit(), npc_portal_eoe::SpellHit(), npc_arcane_overload::SpellHit(), boss_magus_telestra::SpellHit(), boss_urom::SpellHit(), npc_ruby_emerald_amber_drake::SpellHit(), boss_ionar::SpellHit(), npc_black_hole::SpellHit(), boss_flame_leviathan::boss_flame_leviathanAI::SpellHit(), npc_toasty_fire::SpellHit(), boss_razorscale::SpellHit(), npc_razorscale_harpoon_fire_state::SpellHit(), boss_thorim::boss_thorimAI::SpellHit(), npc_sif::npc_sifAI::SpellHit(), boss_yogg_saron::boss_yogg_saronAI::SpellHit(), npc_grauf::SpellHit(), boss_xevozz::SpellHit(), npc_wyrmrest_defender::SpellHit(), npc_frostbrood_skytalon::SpellHit(), npc_focus_fire::SpellHit(), boss_shade_of_akama::SpellHit(), npc_akama_shade::SpellHit(), boss_najentus::SpellHit(), boss_fathomlord_karathress::SpellHit(), boss_ahune::SpellHit(), npc_shaman_bonfire_bunny::SpellHit(), boss_swamplord_muselek::SpellHit(), npc_claw::SpellHit(), boss_gruul::SpellHit(), boss_kelidan_the_breaker::SpellHit(), boss_vazruden_the_herald::SpellHit(), boss_magtheridon::SpellHit(), npc_fel_orc_convert::SpellHit(), npc_warden_mellichar::SpellHit(), boss_dalliah_the_doomsayer::SpellHit(), boss_high_botanist_freywinn::SpellHit(), npc_warp_splinter_sapling::SpellHit(), boss_alar::SpellHit(), boss_kaelthas::SpellHit(), AdvisorBaseAI::SpellHit(), npc_nagrand_banner::npc_nagrand_bannerAI::SpellHit(), npc_infernal_attacker::npc_infernal_attackerAI::SpellHit(), npc_shadowmoon_tuber_node::npc_shadowmoon_tuber_nodeAI::SpellHit(), npc_death_knight_initiate::npc_death_knight_initiateAI::SpellHit(), npc_restless_soul::npc_restless_soulAI::SpellHit(), boss_felmyst::SpellHit(), boss_sathrovarr::SpellHit(), npc_zulian_prowler::SpellHit(), npc_troll_volunteer::SpellHit(), boss_ossirian::boss_ossirianAI::SpellHit(), boss_twinemperorsAI::SpellHit(), npc_aged_dying_ancient_kodo::npc_aged_dying_ancient_kodoAI::SpellHit(), boss_sister_svalna::SpellHit(), npc_icc_orb_controller::SpellHit(), boss_faerlina::SpellHit(), boss_razuvious::SpellHit(), npc_stalagg::SpellHit(), npc_feugen::SpellHit(), boss_malygos::SpellHit(), npc_living_constellation::SpellHit(), npc_ichor_globule::SpellHit(), go_caribou_trap::SpellHit(), go_mammoth_trap::SpellHit(), npc_outhouse_bunny::SpellHit(), npc_wounded_skirmisher::SpellHit(), npc_venture_co_straggler::SpellHit(), npc_tournament_training_dummy::SpellHit(), npc_jungle_punch_target::SpellHit(), npc_brunnhildar_prisoner::SpellHit(), npc_wild_wyrm::SpellHit(), npc_storm_cloud::SpellHit(), npc_nether_drake::npc_nether_drakeAI::SpellHit(), npc_mature_netherwing_drake::npc_mature_netherwing_drakeAI::SpellHit(), npc_enslaved_netherwing_drake::npc_enslaved_netherwing_drakeAI::SpellHit(), npc_pet_dk_ebon_gargoyle::SpellHit(), npc_injured_patient::npc_injured_patientAI::SpellHit(), boss_archmage_arugal::boss_archmage_arugalAI::SpellHitTarget(), npc_dark_fiend::SpellHitTarget(), boss_krik_thir::SpellHitTarget(), boss_devourer_of_souls::SpellHitTarget(), npc_vengeful_shade::SpellHitTarget(), npc_putricide_oozeAI::SpellHitTarget(), boss_rotface::SpellHitTarget(), boss_four_horsemen_baron::SpellHitTarget(), boss_four_horsemen_thane::SpellHitTarget(), boss_four_horsemen_sir::SpellHitTarget(), boss_sara::boss_saraAI::SpellHitTarget(), npc_maghar_captive::npc_maghar_captiveAI::SpellHitTarget(), npc_kurenai_captive::npc_kurenai_captiveAI::SpellHitTarget(), boss_felblood_kaelthas::SpellHitTarget(), npc_dark_rider_of_acherus::SpellHitTarget(), boss_high_inquisitor_whitemane::SpellHitTarget(), boss_zuljin::SpellHitTarget(), npc_zuljin_vortex::SpellHitTarget(), boss_epoch::boss_epochAI::SpellHitTarget(), boss_infinite_corruptor::boss_infinite_corruptorAI::SpellHitTarget(), boss_onyxia::SpellHitTarget(), boss_volazj::SpellHitTarget(), npc_anub_ar_skirmisher::SpellHitTarget(), boss_garfrost::SpellHitTarget(), boss_drakkari_elemental::SpellHitTarget(), boss_deathbringer_saurfang::SpellHitTarget(), boss_festergut::SpellHitTarget(), boss_lady_deathwhisper::SpellHitTarget(), boss_sindragosa::SpellHitTarget(), boss_sister_svalna::SpellHitTarget(), boss_grobbulus::SpellHitTarget(), boss_sapphiron::SpellHitTarget(), npc_azure_ring_captain::SpellHitTarget(), npc_malformed_ooze::SpellHitTarget(), boss_flame_leviathan::boss_flame_leviathanAI::SpellHitTarget(), npc_unstable_sun_beam::npc_unstable_sun_beamAI::SpellHitTarget(), boss_general_vezax::boss_general_vezaxAI::SpellHitTarget(), boss_thorim::boss_thorimAI::SpellHitTarget(), boss_ymiron::SpellHitTarget(), npc_haiphoon::SpellHitTarget(), npc_water_globule::SpellHitTarget(), boss_kiggler_the_crazed::SpellHitTarget(), npc_simon_bunny::npc_simon_bunnyAI::SpellHitTarget(), boss_lethon::boss_lethonAI::SpellHitTarget(), SpellInfo(), SpellHistory::StartCooldown(), Spell::SummonGuardian(), Spell::TakeCastItem(), Spell::TakePower(), Spell::TakeRunePower(), Pet::ToggleAutocast(), CharmInfo::ToggleCreatureAutocast(), Spell::TriggerGlobalCooldown(), GameObject::TriggeringLinkedGameObject(), Spell::update(), Spell::UpdateChanneledTargetList(), spell_gen_dalaran_disguise::Validate(), ObjectMgr::ValidateSpellScripts(), Spell::~Spell(), and SpellEvent::~SpellEvent().
| uint32 SpellInfo::InterruptFlags |
Definition at line 321 of file SpellInfo.h.
Referenced by Spell::CheckMovement(), Spell::Delayed(), Spell::EffectInterruptCast(), GetMechanicImmunityMask(), Spell::IsAutoActionResetSpell(), and SpellInfo().
| uint32 SpellInfo::ManaCost |
Definition at line 332 of file SpellInfo.h.
Referenced by CalcPowerCost(), AuraEffect::CheckEffectProc(), Spell::EffectDestroyAllTotems(), ScriptedAI::SelectSpell(), and SpellInfo().
| uint32 SpellInfo::ManaCostPercentage |
Definition at line 336 of file SpellInfo.h.
Referenced by CalcPowerCost(), AuraEffect::CheckEffectProc(), Spell::EffectDestroyAllTotems(), AuraEffect::HandlePeriodicManaLeechAuraTick(), and SpellInfo().
| uint32 SpellInfo::ManaCostPerlevel |
Definition at line 333 of file SpellInfo.h.
Referenced by SpellInfo().
| uint32 SpellInfo::ManaPerSecond |
Definition at line 334 of file SpellInfo.h.
Referenced by Aura::Aura(), AuraEffect::HandlePeriodicHealAurasTick(), Aura::RefreshDuration(), SpellInfo(), and Aura::Update().
| uint32 SpellInfo::ManaPerSecondPerLevel |
Definition at line 335 of file SpellInfo.h.
Referenced by Aura::Aura(), Aura::RefreshDuration(), SpellInfo(), and Aura::Update().
| uint32 SpellInfo::MaxAffectedTargets |
Definition at line 355 of file SpellInfo.h.
Referenced by spell_pal_glyph_of_holy_light::FilterTargets(), SpellInfo(), and SpellValue::SpellValue().
| uint32 SpellInfo::MaxLevel |
Definition at line 327 of file SpellInfo.h.
Referenced by Unit::CalculateSpellpowerCoefficientLevelPenalty(), SpellEffectInfo::CalcValue(), Spell::CheckItems(), and SpellInfo().
| uint32 SpellInfo::MaxTargetLevel |
Definition at line 354 of file SpellInfo.h.
Referenced by SpellInfo().
| uint32 SpellInfo::Mechanic |
Definition at line 292 of file SpellInfo.h.
Referenced by _isPositiveEffectImpl(), CanDispelAura(), CanPierceImmuneAura(), CanSpellProvideImmunityAgainstAura(), Spell::CheckCasterAuras(), AuraEffect::CheckEffectProc(), Spell::CheckSpellCancelsAuraEffect(), CheckTarget(), GetAllEffectsMechanicMask(), GetEffectMechanic(), GetEffectMechanicMask(), GetSpellMechanicMaskByEffectMask(), Unit::HasAuraWithMechanic(), Unit::IsImmunedToSpell(), LoadSkillDiscoveryTable(), Unit::MeleeDamageBonusDone(), Unit::RemoveAurasWithMechanic(), ScriptedAI::SelectSpell(), SpellCancelsAuraEffect(), Unit::SpellDamagePctDone(), boss_attumen::boss_attumenAI::SpellHit(), SpellInfo(), and Player::UpdateCraftSkill().
| Powers SpellInfo::PowerType |
Definition at line 331 of file SpellInfo.h.
Referenced by Spell::CheckPower(), Spell::CheckRuneCost(), ScriptedAI::SelectSpell(), Spell::SendSpellGo(), Spell::SendSpellStart(), Spell::TakePower(), and Aura::Update().
| uint32 SpellInfo::PreventionType |
Definition at line 359 of file SpellInfo.h.
Referenced by Spell::CheckCasterAuras(), Spell::EffectInterruptCast(), SpellHistory::IsReady(), SpellHistory::LockSpellSchool(), and SpellInfo().
| uint32 SpellInfo::Priority |
Definition at line 351 of file SpellInfo.h.
Referenced by Player::ApplySpellMod(), and SpellInfo().
| uint32 SpellInfo::ProcChance |
Definition at line 325 of file SpellInfo.h.
Referenced by Player::CastItemCombatSpell(), SpellMgr::LoadSpellProcs(), and SpellInfo().
| uint32 SpellInfo::ProcCharges |
Definition at line 326 of file SpellInfo.h.
Referenced by Pet::_LoadAuras(), Player::_LoadAuras(), Aura::CalcMaxCharges(), SpellMgr::LoadSpellProcs(), and SpellInfo().
| uint32 SpellInfo::ProcFlags |
Definition at line 324 of file SpellInfo.h.
Referenced by AuraEffect::CalculateAmount(), SpellMgr::LoadSpellInfoCorrections(), and SpellMgr::LoadSpellProcs().
| SpellRangeEntry const* SpellInfo::RangeEntry |
Definition at line 338 of file SpellInfo.h.
Referenced by Spell::CheckRange(), GetMaxRange(), Spell::GetMinMaxRange(), GetMinRange(), WorldObject::GetSpellMaxRangeForTarget(), WorldObject::GetSpellMinRangeForTarget(), SpellMgr::LoadSpellInfoCorrections(), SpellTargetSelector::operator()(), and SpellInfo().
| std::array<char const*, 16> SpellInfo::Rank |
Definition at line 353 of file SpellInfo.h.
Referenced by SpellInfo().
| std::array<int32, MAX_SPELL_REAGENTS> SpellInfo::Reagent |
Definition at line 342 of file SpellInfo.h.
Referenced by Spell::CheckItems(), spell_dk_raise_dead::CheckReagents(), SpellMgr::IsSpellValid(), Player::RemovePet(), SpellInfo(), and Spell::TakeReagents().
| std::array<uint32, MAX_SPELL_REAGENTS> SpellInfo::ReagentCount |
Definition at line 343 of file SpellInfo.h.
Referenced by Spell::CheckItems(), spell_dk_raise_dead::CheckReagents(), Player::RemovePet(), SpellInfo(), and Spell::TakeReagents().
| uint32 SpellInfo::RecoveryTime |
Definition at line 317 of file SpellInfo.h.
Referenced by UnitAI::FillAISpellInfo(), SpellHistory::GetCooldownDurations(), GetRecoveryTime(), DuelResetScript::ResetSpellCooldowns(), SpellHistory::RestoreCooldownStateAfterDuel(), and SpellInfo().
| int32 SpellInfo::RequiredAreasID |
Definition at line 360 of file SpellInfo.h.
Referenced by Spell::CheckCast(), CheckLocation(), and SpellInfo().
| uint32 SpellInfo::RequiresSpellFocus |
Definition at line 306 of file SpellInfo.h.
Referenced by Spell::CheckCast(), FillSpellCastFailedArgs(), Spell::SearchSpellFocus(), Spell::SelectImplicitNearbyTargets(), and SpellInfo().
| uint32 SpellInfo::RuneCostID |
Definition at line 337 of file SpellInfo.h.
Referenced by Spell::CheckPower(), Spell::SendSpellGo(), Spell::SendSpellStart(), SpellInfo(), and Spell::TakeRunePower().
| uint32 SpellInfo::SchoolMask |
Definition at line 361 of file SpellInfo.h.
Referenced by Unit::CalcHealAbsorb(), CanSpellProvideImmunityAgainstAura(), Unit::DealMeleeDamage(), Spell::DoEffectOnLaunchTarget(), GetSchoolMask(), spell_warr_execute::HandleEffect(), AuraEffect::HandlePeriodicDamageAurasTick(), AuraEffect::HandlePeriodicHealthLeechAuraTick(), AuraEffect::HandlePeriodicPowerBurnAuraTick(), SmartAIMgr::IsEventValid(), SmartScript::ProcessEvent(), ScriptedAI::SelectSpell(), SpellCancelsAuraEffect(), npc_pool_of_tar::npc_pool_of_tarAI::SpellHit(), and SpellInfo().
| float SpellInfo::Speed |
Definition at line 339 of file SpellInfo.h.
Referenced by Spell::_cast(), Spell::AddCorpseTarget(), Spell::AddGOTarget(), Spell::AddUnitTarget(), Spell::CalculateDelayMomentForDst(), Spell::EffectCharge(), Spell::EffectTransmitted(), WorldObject::GetMagicHitRedirectTarget(), Spell::IsNeedSendToClient(), SpellMgr::LoadSpellInfoCorrections(), Spell::PreprocessSpellHit(), and SpellInfo().
| flag96 SpellInfo::SpellFamilyFlags |
Definition at line 357 of file SpellInfo.h.
Referenced by _isPositiveEffectImpl(), _LoadAuraState(), _LoadSpellDiminishInfo(), _LoadSpellSpecific(), Player::CanNoReagentCast(), Spell::CheckItems(), spell_dru_eclipse::CheckLunar(), spell_gen_black_magic::CheckProc(), spell_hun_glyph_of_arcane_shot::CheckProc(), spell_mage_missile_barrage::CheckProc(), spell_pal_item_t6_trinket::CheckProc(), spell_sha_imp_water_shield::CheckProc(), spell_pri_body_and_soul::CheckProcTriggerSpell(), spell_dru_eclipse::CheckSolar(), Spell::EffectEnchantItemTmp(), Spell::EffectHeal(), Spell::EffectSchoolDMG(), Spell::EffectWeaponDmg(), Unit::GetAuraEffect(), Unit::GetAuraEffect(), spell_rog_deadly_poison::HandleAfterHit(), Aura::HandleAuraSpecificMods(), spell_rog_preparation::HandleDummy(), AuraEffect::HandlePeriodicManaLeechAuraTick(), spell_mage_glyph_of_ice_block::HandleProc(), spell_dk_threat_of_thassarian::HandleProc(), spell_dru_item_t6_trinket::HandleProc(), spell_hun_thrill_of_the_hunt::HandleProc(), spell_pal_illumination::HandleProc(), spell_sha_lightning_overload::HandleProc(), spell_sha_item_t6_trinket::HandleProc(), spell_hun_rapid_recuperation_trigger::HandleRapidFireProc(), spell_hun_rapid_recuperation_trigger::HandleRapidKillingProc(), spell_dk_glyph_of_scourge_strike_script::HandleScriptEffect(), spell_hun_chimera_shot::HandleScriptEffect(), IsAffected(), IsRangedWeaponSpell(), IsStackableWithRanks(), SpellMgr::LoadSpellInfoCorrections(), Unit::MeleeDamageBonusDone(), Unit::MeleeDamageBonusTaken(), WorldObject::ModSpellDuration(), Spell::prepareDataForTriggerSystem(), spell_dru_enrage::RecalculateBaseArmor(), Unit::RemoveAurasWithFamily(), Unit::SpellCritChanceTaken(), Unit::SpellDamagePctDone(), Unit::SpellHealingBonusTaken(), Unit::SpellHealingPctDone(), npc_draenei_survivor::npc_draenei_survivorAI::SpellHit(), and SpellInfo().
| uint32 SpellInfo::SpellFamilyName |
Definition at line 356 of file SpellInfo.h.
Referenced by _isPositiveEffectImpl(), _LoadAuraState(), _LoadSpellDiminishInfo(), _LoadSpellSpecific(), Unit::CalculateAverageResistReduction(), Aura::CanStackWith(), Spell::CheckCast(), Spell::CheckItems(), spell_gen_black_magic::CheckProc(), spell_hun_glyph_of_arcane_shot::CheckProc(), spell_mage_dragon_breath::CheckProc(), CheckTargetCreatureType(), Spell::EffectEnchantItemTmp(), Spell::EffectEnergize(), Spell::EffectHeal(), Spell::EffectSchoolDMG(), Spell::EffectScriptEffect(), Spell::EffectWeaponDmg(), Unit::GetAuraEffect(), Unit::GetAuraEffect(), spell_rog_deadly_poison::HandleAfterHit(), AuraEffect::HandleAuraDummy(), AuraEffect::HandleAuraModShapeshift(), Aura::HandleAuraSpecificMods(), spell_hun_readiness::HandleDummy(), spell_mage_cold_snap::HandleDummy(), spell_rog_preparation::HandleDummy(), Spell::HandleLaunchPhase(), AuraEffect::HandlePeriodicDamageAurasTick(), AuraEffect::HandlePeriodicManaLeechAuraTick(), spell_mage_glyph_of_ice_block::HandleProc(), spell_dk_glyph_of_scourge_strike_script::HandleScriptEffect(), IsAffected(), IsAffectedBySpellMod(), AuraEffect::IsAffectingSpell(), IsRangedWeaponSpell(), IsStackableWithRanks(), SpellMgr::LoadSpellInfoCorrections(), Unit::MeleeDamageBonusDone(), Unit::MeleeDamageBonusTaken(), WorldObject::ModSpellCastTime(), WorldObject::ModSpellDuration(), WorldObject::ModSpellDurationTime(), Trinity::AbsorbAuraOrderPred::operator()(), Spell::prepareDataForTriggerSystem(), spell_dru_enrage::RecalculateBaseArmor(), Unit::RemoveAurasWithFamily(), Player::ResetSpells(), Unit::SpellCritChanceTaken(), Unit::SpellDamageBonusDone(), Unit::SpellDamagePctDone(), Unit::SpellHealingBonusDone(), Unit::SpellHealingBonusTaken(), Unit::SpellHealingPctDone(), and SpellInfo().
| uint32 SpellInfo::SpellIconID |
Definition at line 349 of file SpellInfo.h.
Referenced by _LoadSpellDiminishInfo(), Unit::CalculateAverageResistReduction(), spell_pet_guard_dog::CheckProc(), spell_pet_silverback::CheckProc(), spell_pet_culling_the_herd::CheckProc(), spell_gen_black_magic::CheckProc(), spell_mage_arcane_potency::CheckProc(), spell_mage_dragon_breath::CheckProc(), spell_pri_glyph_of_dispel_magic::CheckProc(), spell_sha_glyph_of_totem_of_wrath::CheckProc(), Spell::EffectLeapBack(), Spell::EffectSchoolDMG(), Spell::EffectWeaponDmg(), Spell::finish(), Unit::GetAuraEffect(), spell_pal_seal_of_vengeance< DoTSpellId, DamageSpellId >::spell_pal_seal_of_vengeance_AuraScript< DoTSpell, DamageSpell >::HandleApplyDoT(), AuraEffect::HandleAuraModShapeshift(), spell_gen_break_shield::HandleScriptEffect(), spell_gen_mounted_charge::HandleScriptEffect(), IsLootCrafting(), SpellMgr::LoadSpellInfoCorrections(), WorldObject::ModSpellDuration(), Trinity::AbsorbAuraOrderPred::operator()(), Unit::SpellCritChanceTaken(), Unit::SpellDamagePctDone(), and SpellInfo().
| uint32 SpellInfo::SpellLevel |
Definition at line 329 of file SpellInfo.h.
Referenced by Spell::AddUnitTarget(), Aura::Aura(), CalcPowerCost(), SpellEffectInfo::CalcValue(), Spell::CheckCast(), Spell::HandleThreatSpells(), Pet::InitLevelupSpellsForLevel(), Player::LearnQuestRewardedSpells(), SpellMgr::LoadPetLevelupSpellMap(), WorldObject::MagicSpellHitResult(), Spell::prepare(), Player::ResetSpells(), and SpellInfo().
| std::array<char const*, 16> SpellInfo::SpellName |
Definition at line 352 of file SpellInfo.h.
Referenced by Aura::GetDebugInfo(), Spell::GetDebugInfo(), debug_commandscript::HandleDebugThreatInfoCommand(), lookup_commandscript::HandleLookupSpellCommand(), LinkValidator< LinkTags::spell >::IsTextValid(), LinkValidator< LinkTags::enchant >::IsTextValid(), list_commandscript::ListAurasCommand(), list_commandscript::ShouldListAura(), and SpellInfo().
| std::array<uint32, 2> SpellInfo::SpellVisual |
Definition at line 348 of file SpellInfo.h.
Referenced by _LoadSpellDiminishInfo(), Spell::EffectEnchantItemTmp(), Spell::EffectSchoolDMG(), Spell::IsNeedSendToClient(), WorldObject::ModSpellCastTime(), and SpellInfo().
| uint32 SpellInfo::StackAmount |
Definition at line 340 of file SpellInfo.h.
Referenced by AuraApplication::BuildUpdatePacket(), Spell::DoSpellEffectHit(), Spell::EffectTriggerSpell(), AuraEffect::HandleAuraDummy(), spell_item_deadly_precision_dummy::HandleDummy(), spell_hun_cobra_strikes::HandleProc(), spell_pal_seal_of_vengeance< DoTSpellId, DamageSpellId >::spell_pal_seal_of_vengeance_AuraScript< DoTSpell, DamageSpell >::HandleSeal(), IsStackableOnOneSlotWithDifferentCasters(), Aura::ModStackAmount(), spell_gen_defend::RefreshVisualShields(), spell_gen_defend::RemoveVisualShields(), and SpellInfo().
| uint64 SpellInfo::Stances |
Definition at line 302 of file SpellInfo.h.
Referenced by CheckShapeshift(), Player::HandlePassiveSpellLearn(), AuraEffect::HandleShapeshiftBoosts(), Aura::IsRemovedOnShapeLost(), and SpellInfo().
| uint64 SpellInfo::StancesNot |
Definition at line 303 of file SpellInfo.h.
Referenced by CheckShapeshift(), and SpellInfo().
| uint32 SpellInfo::StartRecoveryCategory |
Definition at line 319 of file SpellInfo.h.
Referenced by SpellHistory::AddGlobalCooldown(), SpellHistory::CancelGlobalCooldown(), Spell::CheckPetCast(), SpellHistory::HasGlobalCooldown(), SpellInfo(), and Spell::TriggerGlobalCooldown().
| uint32 SpellInfo::StartRecoveryTime |
Definition at line 320 of file SpellInfo.h.
Referenced by Spell::CancelGlobalCooldown(), Player::EquipItem(), UnitAI::FillAISpellInfo(), Spell::SendSpellGo(), SpellInfo(), and Spell::TriggerGlobalCooldown().
| uint32 SpellInfo::TargetAuraSpell |
Definition at line 313 of file SpellInfo.h.
Referenced by CheckTarget(), and SpellInfo().
| uint32 SpellInfo::TargetAuraState |
Definition at line 309 of file SpellInfo.h.
Referenced by CheckTarget(), Spell::EffectHeal(), Spell::EffectSchoolDMG(), and SpellInfo().
| uint32 SpellInfo::TargetCreatureType |
Definition at line 305 of file SpellInfo.h.
Referenced by CheckTargetCreatureType(), and SpellInfo().
| uint32 SpellInfo::Targets |
Definition at line 304 of file SpellInfo.h.
Referenced by _InitializeExplicitTargetMask().
| std::array<uint32, 2> SpellInfo::Totem |
Definition at line 341 of file SpellInfo.h.
Referenced by Spell::CheckItems(), and FillSpellCastFailedArgs().
| std::array<uint32, 2> SpellInfo::TotemCategory |
Definition at line 347 of file SpellInfo.h.
Referenced by Spell::CheckItems(), and FillSpellCastFailedArgs().