![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "SpellInfo.h"
Static Public Member Functions | |
| static uint32 | GetDispelMask (DispelType type) |
| static bool | _IsPositiveTarget (uint32 targetA, uint32 targetB) |
Friends | |
| class | SpellMgr |
| SpellInfo::SpellInfo | ( | SpellEntry const * | spellEntry | ) |
References _isCritCapable, _isSpellValid, _isStackableWithRanks, _requireCooldownInfo, ActiveIconID, SpellEntry::ActiveIconID, AreaGroupId, SpellEntry::AreaGroupId, Attributes, SpellEntry::Attributes, AttributesCu, AttributesEx, SpellEntry::AttributesEx, AttributesEx2, SpellEntry::AttributesEx2, AttributesEx3, SpellEntry::AttributesEx3, AttributesEx4, SpellEntry::AttributesEx4, AttributesEx5, SpellEntry::AttributesEx5, AttributesEx6, SpellEntry::AttributesEx6, AttributesEx7, SpellEntry::AttributesEx7, AuraInterruptFlags, SpellEntry::AuraInterruptFlags, BaseLevel, SpellEntry::BaseLevel, CasterAuraSpell, SpellEntry::CasterAuraSpell, CasterAuraState, SpellEntry::CasterAuraState, CasterAuraStateNot, SpellEntry::CasterAuraStateNot, SpellEntry::CastingTimeIndex, CastTimeEntry, SpellEntry::Category, CategoryEntry, CategoryRecoveryTime, SpellEntry::CategoryRecoveryTime, ChainEntry, ChannelInterruptFlags, SpellEntry::ChannelInterruptFlags, Dispel, SpellEntry::Dispel, DmgClass, SpellEntry::DmgClass, DurationEntry, SpellEntry::DurationIndex, Effects, EquippedItemClass, SpellEntry::EquippedItemClass, EquippedItemInventoryTypeMask, SpellEntry::EquippedItemInventoryTypeMask, EquippedItemSubClassMask, SpellEntry::EquippedItemSubClassMask, ExcludeCasterAuraSpell, SpellEntry::ExcludeCasterAuraSpell, ExcludeTargetAuraSpell, SpellEntry::ExcludeTargetAuraSpell, ExplicitTargetMask, FacingCasterFlags, SpellEntry::FacingCasterFlags, Id, SpellEntry::Id, InterruptFlags, SpellEntry::InterruptFlags, JumpDistance, ManaCost, SpellEntry::ManaCost, ManaCostPercentage, SpellEntry::ManaCostPercentage, ManaCostPerlevel, SpellEntry::ManaCostPerlevel, ManaPerSecond, SpellEntry::ManaPerSecond, ManaPerSecondPerLevel, SpellEntry::ManaPerSecondPerLevel, MAX_SPELL_EFFECTS, MaxAffectedTargets, SpellEntry::MaxAffectedTargets, MaxLevel, SpellEntry::MaxLevel, MaxTargetLevel, SpellEntry::MaxTargetLevel, Mechanic, SpellEntry::Mechanic, SpellEntry::PowerType, PreventionType, SpellEntry::PreventionType, ProcChance, SpellEntry::ProcChance, ProcCharges, SpellEntry::ProcCharges, SpellEntry::ProcFlags, RangeEntry, SpellEntry::RangeIndex, Rank, SpellEntry::Rank, Reagent, SpellEntry::Reagent, ReagentCount, SpellEntry::ReagentCount, RecoveryTime, SpellEntry::RecoveryTime, RequiresSpellFocus, SpellEntry::RequiresSpellFocus, RuneCostID, SpellEntry::RuneCostID, SchoolMask, SpellEntry::SchoolMask, Speed, SpellEntry::Speed, SpellFamilyFlags, SpellEntry::SpellFamilyFlags, SpellFamilyName, SpellEntry::SpellFamilyName, SpellIconID, SpellEntry::SpellIconID, SpellLevel, SpellEntry::SpellLevel, SpellName, SpellEntry::SpellName, SpellPriority, SpellEntry::SpellPriority, SpellVisual, SpellEntry::SpellVisual, sSpellCastTimesStore, sSpellCategoryStore, sSpellDurationStore, sSpellRangeStore, StackAmount, SpellEntry::StackAmount, Stances, SpellEntry::Stances, StancesNot, SpellEntry::StancesNot, StartRecoveryCategory, SpellEntry::StartRecoveryCategory, StartRecoveryTime, SpellEntry::StartRecoveryTime, TargetAuraSpell, SpellEntry::TargetAuraSpell, TargetAuraState, SpellEntry::TargetAuraState, TargetAuraStateNot, SpellEntry::TargetAuraStateNot, TargetCreatureType, SpellEntry::TargetCreatureType, SpellEntry::Targets, SpellEntry::Totem, and SpellEntry::TotemCategory.
| SpellInfo::~SpellInfo | ( | ) |
References _UnloadImplicitTargetConditionLists().
|
inline |
|
inline |
| void SpellInfo::_InitializeExplicitTargetMask | ( | ) |
References EFFECT_IMPLICIT_TARGET_EXPLICIT, Effects, ExplicitTargetMask, GetMaxRange(), MAX_SPELL_EFFECTS, TARGET_FLAG_CORPSE_MASK, TARGET_FLAG_DEST_LOCATION, TARGET_FLAG_GAMEOBJECT, TARGET_FLAG_UNIT_MASK, and Targets.
Referenced by SpellMgr::LoadSpellInfoCustomAttributes().
| bool SpellInfo::_IsPositiveEffect | ( | uint8 | effIndex, |
| bool | deep | ||
| ) | const |
References _IsPositiveEffect(), _IsPositiveTarget(), EFFECT_0, EFFECT_2, Effects, HasAttribute(), Id, MAX_SPELL_EFFECTS, Mechanic, MECHANIC_BANDAGE, MECHANIC_IMMUNE_SHIELD, MECHANIC_INVULNERABILITY, MECHANIC_MOUNT, MECHANIC_SHIELD, SPELL_ATTR0_AURA_IS_DEBUFF, SPELL_AURA_ADD_FLAT_MODIFIER, SPELL_AURA_ADD_PCT_MODIFIER, SPELL_AURA_ADD_TARGET_TRIGGER, SPELL_AURA_GHOST, SPELL_AURA_MECHANIC_IMMUNITY, SPELL_AURA_MOD_CRIT_PCT, SPELL_AURA_MOD_DAMAGE_DONE, SPELL_AURA_MOD_DAMAGE_PERCENT_DONE, SPELL_AURA_MOD_DAMAGE_TAKEN, SPELL_AURA_MOD_DECREASE_SPEED, SPELL_AURA_MOD_DODGE_PERCENT, SPELL_AURA_MOD_FEAR, SPELL_AURA_MOD_HEALING_DONE, SPELL_AURA_MOD_HEALING_PCT, SPELL_AURA_MOD_PACIFY_SILENCE, SPELL_AURA_MOD_ROOT, SPELL_AURA_MOD_SILENCE, SPELL_AURA_MOD_SKILL, SPELL_AURA_MOD_SPELL_CRIT_CHANCE, SPELL_AURA_MOD_STALKED, SPELL_AURA_MOD_STAT, SPELL_AURA_MOD_STEALTH, SPELL_AURA_MOD_STUN, SPELL_AURA_PERIODIC_DAMAGE, SPELL_AURA_PERIODIC_DAMAGE_PERCENT, SPELL_AURA_PERIODIC_LEECH, SPELL_AURA_PERIODIC_TRIGGER_SPELL, SPELL_AURA_PERIODIC_TRIGGER_SPELL_FROM_CLIENT, SPELL_AURA_PERIODIC_TRIGGER_SPELL_WITH_VALUE, SPELL_AURA_PREVENT_RESURRECTION, SPELL_AURA_PROC_TRIGGER_SPELL, SPELL_EFFECT_APPLY_AREA_AURA_ENEMY, SPELL_EFFECT_APPLY_AREA_AURA_FRIEND, SPELL_EFFECT_APPLY_AURA, SPELL_EFFECT_ENERGIZE_PCT, SPELL_EFFECT_GAMEOBJECT_DAMAGE, SPELL_EFFECT_HEAL, SPELL_EFFECT_HEAL_PCT, SPELL_EFFECT_KNOCK_BACK, SPELL_EFFECT_KNOCK_BACK_DEST, SPELL_EFFECT_LEARN_SPELL, SPELL_EFFECT_SCHOOL_DAMAGE, SPELL_EFFECT_SKILL_STEP, SPELLMOD_COST, sSpellMgr, and TARGET_UNIT_CASTER.
Referenced by _IsPositiveEffect(), _IsPositiveSpell(), WorldSession::HandlePetActionHelper(), and SpellMgr::LoadSpellInfoCustomAttributes().
| bool SpellInfo::_IsPositiveSpell | ( | ) | const |
References _IsPositiveEffect(), and MAX_SPELL_EFFECTS.
Referenced by Spell::HandleThreatSpells().
References _IsPositiveTarget(), TARGET_DEST_DYNOBJ_ENEMY, TARGET_DEST_TARGET_ENEMY, TARGET_UNIT_CONE_ENEMY_104, TARGET_UNIT_CONE_ENEMY_24, TARGET_UNIT_CONE_ENEMY_54, TARGET_UNIT_DEST_AREA_ENEMY, TARGET_UNIT_NEARBY_ENEMY, TARGET_UNIT_SRC_AREA_ENEMY, and TARGET_UNIT_TARGET_ENEMY.
Referenced by _IsPositiveEffect(), and _IsPositiveTarget().
| void SpellInfo::_LoadImmunityInfo | ( | ) |
References _immunityInfo, SpellEffectInfo::ApplyAuraName, ImmunityInfo::ApplyHarmfulAuraImmuneMask, ImmunityInfo::AuraTypeImmune, SpellEffectInfo::CalcValue(), ImmunityInfo::DamageSchoolMask, ImmunityInfo::DispelImmuneMask, SpellEffectInfo::Effect, Effects, Id, IMMUNE_TO_MOVEMENT_IMPAIRMENT_AND_LOSS_CONTROL_MASK, MAX_SPELL_EFFECTS, MECHANIC_CHARM, MECHANIC_DISORIENTED, MECHANIC_FEAR, MECHANIC_FREEZE, MECHANIC_HORROR, MECHANIC_POLYMORPH, MECHANIC_ROOT, MECHANIC_SAPPED, MECHANIC_SILENCE, MECHANIC_SLEEP, MECHANIC_SNARE, MECHANIC_STUN, MECHANIC_TURN, ImmunityInfo::MechanicImmuneMask, SpellEffectInfo::MiscValue, ImmunityInfo::SchoolImmuneMask, 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_SILENCE, SPELL_AURA_MOD_STUN, SPELL_AURA_MOD_TAUNT, SPELL_AURA_SCHOOL_IMMUNITY, SPELL_AURA_STATE_IMMUNITY, SPELL_AURA_TRANSFORM, SPELL_EFFECT_ATTACK_ME, SPELL_EFFECT_KNOCK_BACK, SPELL_EFFECT_KNOCK_BACK_DEST, and ImmunityInfo::SpellEffectImmune.
| void SpellInfo::_UnloadImplicitTargetConditionLists | ( | ) |
References Effects, and MAX_SPELL_EFFECTS.
Referenced by ~SpellInfo().
| void SpellInfo::ApplyAllSpellImmunitiesTo | ( | Unit * | target, |
| SpellEffectInfo const * | effect, | ||
| bool | apply | ||
| ) | const |
References _immunityInfo, Unit::ApplySpellImmune(), AURA_REMOVE_BY_DEFAULT, ImmunityInfo::AuraTypeImmune, CanDispelAura(), ImmunityInfo::DamageSchoolMask, Dispel, ImmunityInfo::DispelImmuneMask, SpellEffectInfo::EffectIndex, AuraApplication::GetBase(), Aura::GetCaster(), GetSchoolMask(), Aura::GetSpellInfo(), HasAttribute(), HasAura(), Id, IMMUNITY_DAMAGE, IMMUNITY_DISPEL, IMMUNITY_EFFECT, IMMUNITY_MECHANIC, IMMUNITY_SCHOOL, IMMUNITY_STATE, Unit::IsFriendlyTo(), IsPassive(), MAX_MECHANIC, MAX_SPELL_EFFECTS, ImmunityInfo::MechanicImmuneMask, Unit::RemoveAppliedAuras(), Unit::RemoveAurasWithMechanic(), ImmunityInfo::SchoolImmuneMask, SPELL_ATTR1_IMMUNITY_PURGES_EFFECT, SPELL_ATTR1_IMMUNITY_TO_HOSTILE_AND_FRIENDLY_EFFECTS, and ImmunityInfo::SpellEffectImmune.
Referenced by AuraEffect::HandleAuraModDispelImmunity(), AuraEffect::HandleAuraModDmgImmunity(), AuraEffect::HandleModMechanicImmunity(), and AuraEffect::HandleModStateImmunityMask().
References SpellCastTimesEntry::CastTime, CastTimeEntry, HasAttribute(), IsAutoRepeatRangedSpell(), Unit::ModSpellCastTime(), and SPELL_ATTR0_USES_RANGED_SLOT.
Referenced by Spell::_cast(), Unit::CalculateDefaultCoefficient(), GameObject::CastSpell(), Unit::GetCastingTimeForBonus(), Spell::prepare(), and Player::PrepareCharmAISpells().
| int32 SpellInfo::CalcPowerCost | ( | Unit const * | caster, |
| SpellSchoolMask | schoolMask, | ||
| Spell * | spell = nullptr |
||
| ) | const |
References AttributesEx, AttributesEx3, AttributesEx4, BASE_ATTACK, CalculatePct(), Unit::GetAttackTime(), Unit::GetCreateHealth(), Unit::GetCreateMana(), GetFirstSchoolInMask(), Object::GetFloatValue(), Unit::GetHealth(), Object::GetInt32Value(), Unit::GetLevel(), Unit::GetMaxPower(), Unit::GetPower(), Unit::GetShapeshiftForm(), Unit::GetSpellModOwner(), HasAttribute(), Id, Unit::IsControlledByPlayer(), LOG_DEBUG, LOG_ERROR, ManaCost, ManaCostPercentage, MAX_POWERS, OFF_ATTACK, POWER_ENERGY, POWER_FOCUS, POWER_HAPPINESS, POWER_HEALTH, POWER_MANA, POWER_RAGE, POWER_RUNE, POWER_RUNIC_POWER, GtNPCManaCostScalerEntry::ratio, sGtNPCManaCostScalerStore, SPELL_ATTR0_SCALES_WITH_CREATURE_LEVEL, SPELL_ATTR1_USE_ALL_MANA, SPELL_ATTR3_REQUIRES_OFF_HAND_WEAPON, SPELL_ATTR4_WEAPON_SPEED_COST_SCALING, SpellLevel, SPELLMOD_COST, sSpellShapeshiftFormStore, UNIT_FIELD_POWER_COST_MODIFIER, and UNIT_FIELD_POWER_COST_MULTIPLIER.
Referenced by PetAI::_canMeleeAttack(), Spell::CheckPetCast(), Spell::EffectCastButtons(), spell_warr_execute::HandleEffect(), spell_dru_t3_8p_bonus::HandleProc(), spell_hun_glyph_of_arcane_shot::HandleProc(), spell_mage_burnout::HandleProc(), spell_sha_item_mana_surge::HandleProc(), Spell::prepare(), and SmartScript::ProcessAction().
| bool SpellInfo::CanBeUsedInCombat | ( | ) | const |
References HasAttribute(), and SPELL_ATTR0_NOT_IN_COMBAT_ONLY_PEACEFUL.
Referenced by Spell::CheckCast(), WorldSession::HandleUseItemOpcode(), and PetAI::UpdateAI().
| bool SpellInfo::CanDispelAura | ( | SpellInfo const * | auraSpellInfo | ) | const |
References HasAttribute(), IsPassive(), and SPELL_ATTR0_NO_IMMUNITIES.
Referenced by ApplyAllSpellImmunitiesTo(), and AuraEffect::HandleAuraModSchoolImmunity().
| bool SpellInfo::CanPierceImmuneAura | ( | SpellInfo const * | auraSpellInfo | ) | const |
References CanSpellProvideImmunityAgainstAura(), HasAttribute(), and SPELL_ATTR1_IMMUNITY_PURGES_EFFECT.
Referenced by Unit::IsImmunedToDamage(), Unit::IsImmunedToSchool(), Unit::IsImmunedToSchool(), and Unit::IsImmunedToSpell().
| bool SpellInfo::CanSpellCastOverrideAuraEffect | ( | AuraEffect const * | aurEff | ) | const |
References SpellEffectInfo::ApplyAuraName, Dispel, SpellEffectInfo::Effect, Effects, AuraEffect::GetEffIndex(), AuraEffect::GetSpellInfo(), HasAttribute(), MAX_SPELL_EFFECTS, SpellEffectInfo::Mechanic, Mechanic, SpellEffectInfo::MiscValue, SchoolMask, SPELL_ATTR0_NO_IMMUNITIES, SPELL_ATTR1_IMMUNITY_PURGES_EFFECT, SPELL_ATTR2_NO_SCHOOL_IMMUNITIES, 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.
| bool SpellInfo::CanSpellProvideImmunityAgainstAura | ( | SpellInfo const * | auraSpellInfo | ) | const |
References ImmunityInfo::ApplyHarmfulAuraImmuneMask, ImmunityInfo::AuraTypeImmune, Dispel, ImmunityInfo::DispelImmuneMask, Effects, HasAttribute(), IsPositiveEffect(), Mechanic, ImmunityInfo::MechanicImmuneMask, ImmunityInfo::SchoolImmuneMask, SchoolMask, SPELL_ATTR2_NO_SCHOOL_IMMUNITIES, and ImmunityInfo::SpellEffectImmune.
Referenced by CanPierceImmuneAura().
| SpellCastResult SpellInfo::CheckExplicitTarget | ( | Unit const * | caster, |
| WorldObject const * | target, | ||
| Item const * | itemTarget = nullptr |
||
| ) | const |
References Unit::_IsValidAssistTarget(), Unit::_IsValidAttackTarget(), Unit::GetCritterGUID(), GetExplicitTargetMask(), Unit::IsInPartyWith(), Unit::IsInRaidWith(), 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(), Unit::GetMagicHitRedirectTarget(), Unit::GetMeleeHitRedirectTarget(), and Spell::InitExplicitTargets().
| SpellCastResult SpellInfo::CheckLocation | ( | uint32 | map_id, |
| uint32 | zone_id, | ||
| uint32 | area_id, | ||
| Player * | player = nullptr, |
||
| bool | strict = true |
||
| ) | const |
References AREA_FLAG_NO_FLY_ZONE, AREA_WINTERGRASP, AreaGroupId, AreaGroupEntry::AreaId, Player::canFlyInZone(), AreaTableEntry::flags, HasAttribute(), Id, Player::InBattleground(), MapEntry::IsBattleArena(), MapEntry::IsBattleground(), AreaTableEntry::IsFlyable(), MapEntry::IsRaid(), MAP_EYE_OF_THE_STORM, MAP_WARSONG_GULCH, MAX_GROUP_AREA_IDS, AreaGroupEntry::nextGroup, sAreaGroupStore, sAreaTableStore, sMapStore, SPELL_ATTR4_ONLY_FLYING_AREAS, SPELL_ATTR6_NOT_IN_RAID_INSTANCES, SPELL_CAST_OK, SPELL_FAILED_INCORRECT_AREA, SPELL_FAILED_NOT_IN_RAID_INSTANCE, SPELL_FAILED_REQUIRES_AREA, and sSpellMgr.
Referenced by Spell::CheckCast().
| SpellCastResult SpellInfo::CheckShapeshift | ( | uint32 | form | ) | const |
References AttributesEx2, Effects, SpellShapeshiftFormEntry::flags1, GetTalentSpellCost(), HasAttribute(), Id, LOG_ERROR, SHAPESHIFT_FLAG_CAN_ONLY_CAST_SHAPESHIFT_SPELLS, SHAPESHIFT_FLAG_STANCE, SPELL_ATTR0_NOT_SHAPESHIFTED, SPELL_ATTR2_ALLOW_WHILE_NOT_SHAPESHIFTED, SPELL_CAST_OK, SPELL_EFFECT_LEARN_SPELL, SPELL_FAILED_NOT_SHAPESHIFT, SPELL_FAILED_ONLY_SHAPESHIFT, sSpellShapeshiftFormStore, Stances, and StancesNot.
Referenced by Player::ApplyEquipSpell(), and Spell::CheckCast().
| SpellCastResult SpellInfo::CheckTarget | ( | Unit const * | caster, |
| WorldObject const * | target, | ||
| bool | implicit = true |
||
| ) | const |
References AttributesEx, AttributesEx2, AttributesEx6, BASE_ATTACK, WorldObject::CanSeeOrDetect(), CheckTargetCreatureType(), CORPSE_BONES, ExcludeTargetAuraSpell, ObjectAccessor::FindPlayer(), Unit::GetCharmerOrOwner(), Creature::GetCreatureTemplate(), Object::GetUInt32Value(), HasAttribute(), HasAura(), Unit::HasAura(), Unit::HasAuraState(), HasEffect(), Unit::HasGhostAura(), Unit::HasPreventResurectionAura(), Unit::HasUnitState(), LootStore::HaveLootFor(), Unit::IsAlive(), IsAllowingDeadTarget(), Unit::IsControlledByPlayer(), IsDeathPersistent(), Player::IsGameMaster(), Unit::IsInCombat(), Unit::IsInFlight(), Unit::IsPetInCombat(), Object::IsPlayer(), IsPositive(), IsRequiringDeadTarget(), Unit::IsVehicle(), Unit::IsVisible(), LootTemplates_Pickpocketing, MAX_ATTACK, Mechanic, MECHANIC_DISARM, OFF_ATTACK, CreatureTemplate::pickpocketLootId, RANGED_ATTACK, SPELL_ATTR0_CU_ALLOW_INFLIGHT_TARGET, SPELL_ATTR0_CU_PICKPOCKET, SPELL_ATTR1_EXCLUDE_CASTER, SPELL_ATTR1_ONLY_PEACEFUL_TARGETS, SPELL_ATTR2_CANNOT_CAST_ON_TAPPED, SPELL_ATTR3_NOT_ON_AOE_IMMUNE, SPELL_ATTR3_ONLY_ON_PLAYER, SPELL_ATTR5_NOT_ON_PLAYER, SPELL_ATTR5_NOT_ON_PLAYER_CONTROLLED_NPC, SPELL_ATTR6_DO_NOT_CHAIN_TO_CROWD_CONTROLLED_TARGETS, SPELL_ATTR6_IGNORE_PHASE_SHIFT, SPELL_ATTR7_BYPASS_NO_RESURRECTION_AURA, SPELL_AURA_MOD_DISARM, SPELL_AURA_MOD_DISARM_OFFHAND, SPELL_AURA_MOD_DISARM_RANGED, 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_IS_PLAYER_CONTROLLED, SPELL_FAILED_TARGET_NO_POCKETS, SPELL_FAILED_TARGET_NO_WEAPONS, SPELL_FAILED_TARGET_NOT_GHOST, SPELL_FAILED_TARGET_NOT_PLAYER, SPELL_FAILED_TARGETS_DEAD, sSpellMgr, TargetAuraSpell, TargetAuraState, TargetAuraStateNot, Object::ToCorpse(), Object::ToCreature(), Object::ToPlayer(), Object::ToUnit(), UNIT_STATE_CONTROLLED, and UNIT_VIRTUAL_ITEM_SLOT_ID.
Referenced by Spell::AddUnitTarget(), Spell::CheckCast(), Unit::GetMeleeHitRedirectTarget(), SpellTargetSelector::operator()(), Acore::WorldObjectSpellTargetCheck::operator()(), and Spell::SelectImplicitTrajTargets().
| bool SpellInfo::CheckTargetCreatureType | ( | Unit const * | target | ) | const |
References GetCategory(), Unit::GetCreatureTypeMask(), Object::IsPlayer(), SPELLFAMILY_WARLOCK, SpellFamilyName, and TargetCreatureType.
Referenced by CheckTarget().
| bool SpellInfo::ComputeIsCritCapable | ( | ) | const |
References Effects, MAX_SPELL_EFFECTS, SPELL_EFFECT_HEAL, SPELL_EFFECT_HEAL_MECHANICAL, SPELL_EFFECT_HEAL_PCT, SPELL_EFFECT_HEALTH_LEECH, SPELL_EFFECT_NORMALIZED_WEAPON_DMG, SPELL_EFFECT_POWER_BURN, SPELL_EFFECT_SCHOOL_DAMAGE, SPELL_EFFECT_WEAPON_DAMAGE, SPELL_EFFECT_WEAPON_DAMAGE_NOSCHOOL, and SPELL_EFFECT_WEAPON_PERCENT_DAMAGE.
| bool SpellInfo::ComputeIsStackableWithRanks | ( | ) | const |
References Effects, IsAbilityLearnedWithProfession(), IsPassive(), IsProfessionOrRiding(), MAX_SPELL_EFFECTS, POWER_HEALTH, POWER_MANA, SPELL_AURA_MOD_SHAPESHIFT, SPELL_EFFECT_APPLY_AREA_AURA_RAID, SPELL_EFFECT_APPLY_AURA, SPELLFAMILY_DRUID, SPELLFAMILY_PALADIN, and SpellFamilyName.
| uint64 SpellInfo::GetAllEffectsMechanicMask | ( | ) | const |
References Effects, MAX_SPELL_EFFECTS, Mechanic, and UI64LIT.
Referenced by spell_item_luffa::CheckCast(), Spell::CheckCasterAuras(), AuraEffect::CheckEffectProc(), spell_uk_second_wind::CheckProc(), spell_dk_pvp_4p_bonus::CheckProc(), spell_mage_burning_determination::CheckProc(), spell_warr_second_wind::CheckProc(), Spell::EffectDispelMechanic(), Spell::EffectTriggerSpell(), GetDiminishingReturnsGroupForSpell(), spell_item_luffa::HandleEffect(), LoadAuraState(), Unit::MeleeDamageBonusTaken(), Unit::RemoveAurasByShapeShift(), Unit::RemoveAurasWithMechanic(), and Unit::SpellDamageBonusTaken().
References Effects, GetPrevRankSpell(), HasAttribute(), IsPositiveEffect(), MAX_SPELL_EFFECTS, SPELL_ATTR0_COOLDOWN_ON_EVENT, SPELL_ATTR2_ALLOW_LOW_LEVEL_BUFF, SPELL_ATTR3_ONLY_PROC_ON_CASTER, SPELL_EFFECT_APPLY_AREA_AURA_PARTY, SPELL_EFFECT_APPLY_AREA_AURA_RAID, SPELL_EFFECT_APPLY_AURA, SpellLevel, and sScriptMgr.
Referenced by Pet::_LoadAuras(), Spell::DoSpellHitOnUnit(), and WorldSession::HandleCastSpellOpcode().
| AuraStateType SpellInfo::GetAuraState | ( | ) | const |
References _auraState.
Referenced by Unit::_ApplyAura(), Unit::_CreateAuraApplication(), and Unit::_UnapplyAura().
| uint32 SpellInfo::GetCategory | ( | ) | const |
References CategoryEntry, and SpellCategoryEntry::Id.
Referenced by Player::AddSpellAndCategoryCooldowns(), Creature::AddSpellCooldown(), Player::CanRequestSpellCast(), CheckTargetCreatureType(), Spell::EffectDispel(), Spell::EffectSchoolDMG(), Spell::EffectTriggerMissileSpell(), Spell::EffectTriggerSpell(), WorldSession::HandleCastSpellOpcode(), spell_hun_readiness::HandleDummy(), WorldSession::HandleItemQuerySingleOpcode(), WorldSession::HandleUseItemOpcode(), LoadAuraState(), SpellMgr::LoadSpellInfoCustomAttributes(), Acore::AbsorbAuraOrderPred::operator()(), and Unit::SpellTakenCritChance().
| uint32 SpellInfo::GetDispelMask | ( | ) | const |
References Dispel, and GetDispelMask().
Referenced by Spell::CheckCast(), Spell::CheckCasterAuras(), Spell::EffectDispel(), Spell::EffectStealBeneficialBuff(), Spell::EffectTriggerSpell(), Unit::GetDispellableAuraList(), and GetDispelMask().
|
static |
References DISPEL_ALL, and DISPEL_ALL_MASK.
| int32 SpellInfo::GetDuration | ( | ) | const |
References SpellDurationEntry::Duration, and DurationEntry.
Referenced by Aura::CalcMaxDuration(), Unit::CalcSpellDuration(), Unit::CalculateDefaultCoefficient(), AuraEffect::CleanupTriggeredSpells(), Spell::DelayedChannel(), Spell::EffectAddFarsight(), Spell::EffectDuel(), Spell::EffectEnchantHeldItem(), Spell::EffectSummonObject(), Spell::EffectSummonObjectWild(), Spell::EffectSummonPet(), Spell::EffectSummonType(), Spell::EffectTransmitted(), UnitAI::FillAISpellInfo(), Unit::GetCastingTimeForBonus(), GetMaxTicks(), Spell::handle_immediate(), spell_wintergrasp_create_vehicle::HandleSummon(), Player::IsAffectedBySpellmod(), ObjectMgr::LoadCreatureAddons(), ObjectMgr::LoadCreatureTemplateAddons(), Pet::LoadPetFromDB(), and Spell::SummonGuardian().
|
inline |
References ASSERT.
Referenced by spell_dragonblight_corrosive_spit::AfterApply(), spell_dragonblight_corrosive_spit::PeriodicTick(), spell_lich_king_whisper::Validate(), spell_dragonblight_corrosive_spit::Validate(), spell_the_cleansing_on_death_cast_on_master::Validate(), spell_low_health_trigger::Validate(), and spell_gen_whisper_to_controller::Validate().
References Effects, Mechanic, and MECHANIC_NONE.
Referenced by Unit::GetMechanicResistChance().
References Effects, Mechanic, and UI64LIT.
Referenced by Unit::IsDamageReducedByArmor().
|
inline |
| uint32 SpellInfo::GetExplicitTargetMask | ( | ) | const |
| SpellInfo const * SpellInfo::GetFirstRankSpell | ( | ) | const |
References ChainEntry, and SpellChainNode::first.
Referenced by SpellMgr::AddSameEffectStackRuleSpellGroups(), CharmInfo::AddSpellToActionBar(), Spell::AddUnitTarget(), SpellMgr::CheckSpellGroupStackRules(), Unit::GetHighestExclusiveSameEffectSpellGroupValue(), spell_pal_improved_aura::HandleEffectRemove(), Acore::PlayerCommand::HandleLearnSpellCommand(), IsRankOf(), SpellMgr::LoadSpellProcs(), and LoadSpellSpecific().
|
inline |
| SpellInfo const * SpellInfo::GetLastRankSpell | ( | ) | const |
References ChainEntry, and SpellChainNode::last.
| int32 SpellInfo::GetMaxDuration | ( | ) | const |
References SpellDurationEntry::Duration, and DurationEntry.
Referenced by Unit::CalcSpellDuration(), Unit::GetDiseasesByCaster(), spell_dk_unholy_blight::HandleProc(), spell_pal_infusion_of_light::HandleProc(), spell_dk_glyph_of_scourge_strike_script::HandleScriptEffect(), spell_dru_glyph_of_starfire::HandleScriptEffect(), Spell::prepare(), Aura::RefreshDuration(), and PetAI::UpdateAI().
| float SpellInfo::GetMaxRange | ( | bool | positive = false, |
| Unit * | caster = nullptr, |
||
| Spell * | spell = nullptr |
||
| ) | const |
References Unit::GetSpellModOwner(), Id, RangeEntry, SpellRangeEntry::RangeMax, and SPELLMOD_RANGE.
Referenced by PetAI::_canMeleeAttack(), _InitializeExplicitTargetMask(), ArcherAI::ArcherAI(), Spell::CheckCast(), spell_gen_cannibalize::CheckIfCorpseNear(), spell_hun_pet_carrion_feeder::CheckIfCorpseNear(), UnitAI::DoGetSpellMaxRange(), Spell::EffectTransmitted(), UnitAI::FillAISpellInfo(), Unit::GetSpellMaxRangeForTarget(), spell_warl_demonic_circle_summon::HandleDummyTick(), AuraEffect::HandleFarSight(), GameObject::IsAtInteractDistance(), Creature::reachWithSpellAttack(), Creature::reachWithSpellCure(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitNearbyTargets(), Spell::SelectImplicitTrajTargets(), SmartAI::SetMainSpell(), TurretAI::TurretAI(), TotemAI::UpdateAI(), and Spell::UpdateChanneledTargetList().
| uint32 SpellInfo::GetMaxTicks | ( | ) | const |
References Effects, GetDuration(), MAX_SPELL_EFFECTS, SPELL_AURA_PERIODIC_DAMAGE, SPELL_AURA_PERIODIC_HEAL, SPELL_AURA_PERIODIC_LEECH, SPELL_AURA_PERIODIC_TRIGGER_SPELL_FROM_CLIENT, and SPELL_EFFECT_APPLY_AURA.
Referenced by Unit::CalculateDefaultCoefficient(), spell_mage_ignite::HandleProc(), spell_dru_t10_balance_4p_bonus::HandleProc(), spell_hun_piercing_shots::HandleProc(), spell_pal_sheath_of_light::HandleProc(), spell_pal_t8_2p_bonus::HandleProc(), spell_pri_glyph_of_prayer_of_healing::HandleProc(), spell_pri_t10_heal_2p_bonus::HandleProc(), spell_pri_blessed_recovery::HandleProc(), spell_sha_t10_restoration_4p_bonus::HandleProc(), spell_sha_t8_elemental_4p_bonus::HandleProc(), and spell_sha_t9_elemental_4p_bonus::HandleProc().
| float SpellInfo::GetMinRange | ( | bool | positive = false | ) | const |
References RangeEntry, and SpellRangeEntry::RangeMin.
Referenced by ArcherAI::ArcherAI(), Spell::EffectTransmitted(), Unit::GetSpellMinRangeForTarget(), Creature::reachWithSpellAttack(), Creature::reachWithSpellCure(), Spell::SelectImplicitCasterDestTargets(), and TurretAI::TurretAI().
| SpellInfo const * SpellInfo::GetNextRankSpell | ( | ) | const |
References ChainEntry, and SpellChainNode::next.
Referenced by Player::addSpell(), spell_dk_rime::HandleProc(), spell_dk_sudden_doom::HandleProc(), SpellMgr::LoadSpellGroupStackRules(), SpellMgr::LoadSpellProcs(), and ObjectMgr::LoadSpellScriptNames().
| SpellInfo const * SpellInfo::GetPrevRankSpell | ( | ) | const |
References ChainEntry, and SpellChainNode::prev.
Referenced by GetAuraRankForLevel().
| uint8 SpellInfo::GetRank | ( | ) | const |
References ChainEntry, and SpellChainNode::rank.
Referenced by spell_dk_will_of_the_necropolis::Absorb(), Player::addSpell(), spell_warl_create_healthstone::CheckCast(), spell_pal_holy_shock::HandleDummy(), spell_pri_penance::HandleDummy(), spell_sha_fire_nova::HandleDummy(), lookup_commandscript::HandleLookupSpellCommand(), lookup_commandscript::HandleLookupSpellIdCommand(), spell_mage_ignite::HandleProc(), spell_mage_arcane_potency::HandleProc(), spell_pet_silverback::HandleProc(), spell_dk_threat_of_thassarian::HandleProc(), spell_pal_illumination::HandleProc(), spell_pri_blessed_recovery::HandleProc(), spell_sha_lightning_shield::HandleProc(), spell_sha_static_shock::HandleProc(), spell_warl_soul_leech::HandleProc(), spell_hun_rapid_recuperation_trigger::HandleRapidKillingProc(), spell_warl_create_healthstone::HandleScriptEffect(), IsPrimaryProfessionFirstRank(), SpellMgr::LoadSpellGroups(), 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 |
References CategoryRecoveryTime, and RecoveryTime.
Referenced by Spell::CheckCast(), and spell_mage_cold_snap::HandleDummy().
| SpellSchoolMask SpellInfo::GetSchoolMask | ( | ) | const |
References SchoolMask.
Referenced by PetAI::_canMeleeAttack(), ApplyAllSpellImmunitiesTo(), Unit::CalcArmorReducedDamage(), AuraEffect::CalcPeriodicCritChance(), ThreatManager::CalculateModifiedThreat(), spell_mage_ice_barrier_aura::CalculateSpellAmount(), spell_mage_ice_barrier::CalculateSpellAmount(), CalculateSpellAmount(), Unit::CalculateSpellDamageTaken(), Creature::CanCastSpell(), Spell::CheckCast(), Spell::CheckCasterAuras(), AuraEffect::CheckEffectProc(), spell_karazhan_wrath_titans_aura::CheckProc(), spell_gen_adaptive_warding::CheckProc(), spell_gen_obsidian_armor::CheckProc(), spell_hun_lock_and_load::CheckTrapProc(), Unit::DealDamage(), Unit::DealDamageShieldDamage(), Spell::DoAllEffectOnTarget(), Spell::EffectCastButtons(), Spell::EffectEnvironmentalDMG(), Spell::EffectHeal(), Spell::EffectInterruptCast(), Spell::EffectWeaponDmg(), ProcEventInfo::GetSchoolMask(), AuraEffect::HandleAuraModSchoolImmunity(), spell_mage_cold_snap::HandleDummy(), AuraEffect::HandlePeriodicTriggerSpellAuraTick(), spell_karazhan_wrath_titans_aura::HandleProc(), spell_dru_t3_8p_bonus::HandleProc(), spell_gen_adaptive_warding::HandleProc(), spell_gen_obsidian_armor::HandleProc(), spell_hun_glyph_of_arcane_shot::HandleProc(), Unit::IsImmunedToAuraPeriodicTick(), Unit::IsImmunedToDamage(), Unit::IsImmunedToSchool(), Unit::IsImmunedToSpell(), Unit::IsImmunedToSpellEffect(), LoadAuraState(), Unit::MagicSpellHitResult(), SmartScript::ProcessAction(), Player::ProhibitSpellSchool(), Unit::SendPeriodicAuraLog(), Spell::Spell(), Unit::SpellCriticalDamageBonus(), Unit::SpellDamageBonusDone(), Unit::SpellDamageBonusTaken(), Unit::SpellHealingBonusDone(), Unit::SpellHealingBonusTaken(), boss_viscidus::SpellHit(), Unit::SpellHitResult(), Unit::SpellHitResult(), and Unit::SpellPctDamageModsDone().
References Effects, MAX_SPELL_EFFECTS, Mechanic, and UI64LIT.
Referenced by Unit::ModSpellDuration().
| SpellSpecificType SpellInfo::GetSpellSpecific | ( | ) | const |
References _spellSpecific.
Referenced by IsAuraExclusiveBySpecificPerCasterWith(), IsAuraExclusiveBySpecificWith(), Unit::IsPolymorphed(), Aura::IsSingleTargetWith(), and LoadAuraState().
| bool SpellInfo::HasAnyAura | ( | ) | const |
References Effects, and MAX_SPELL_EFFECTS.
Referenced by Player::_addSpell(), and Player::removeSpell().
| bool SpellInfo::HasAnyEffectMechanic | ( | ) | const |
References Effects, MAX_SPELL_EFFECTS, and Mechanic.
| bool SpellInfo::HasAreaAuraEffect | ( | ) | const |
References Effects, and MAX_SPELL_EFFECTS.
Referenced by AuraScript::_Validate(), and Aura::CanBeSentToClient().
|
inline |
Referenced by Player::_addSpell(), Player::_addTalentAurasAndSpells(), Spell::_cast(), _IsPositiveEffect(), Unit::_IsValidAssistTarget(), Unit::_IsValidAttackTarget(), Pet::_SaveAuras(), Unit::_TryStackingOrRefreshingExistingAura(), Unit::AddAura(), Player::AddSpellAndCategoryCooldowns(), Player::addTalent(), ThreatManager::AddThreat(), ApplyAllSpellImmunitiesTo(), Player::ApplyEquipCooldown(), Aura::Aura(), AuraApplication::BuildUpdatePacket(), Unit::CalcAbsorbResist(), CalcCastTime(), CalcPowerCost(), AuraEffect::CalculatePeriodic(), Unit::CalculateSpellDamageTaken(), boss_mandokir::boss_mandokirAI::CalculateThreat(), SpellEffectInfo::CalcValue(), PetAI::CanAttack(), Aura::CanBeSaved(), CanBeUsedInCombat(), CanDispelAura(), Spell::CanExecuteTriggersOnHit(), Player::canFlyInZone(), Player::CanNoReagentCast(), CanPierceImmuneAura(), CanSpellCastOverrideAuraEffect(), CanSpellProvideImmunityAgainstAura(), Aura::CanStackWith(), Spell::CheckCast(), Spell::CheckCasterAuras(), Spell::CheckEffectTarget(), Spell::CheckItems(), CheckLocation(), spell_dru_omen_of_clarity::CheckProc(), CheckShapeshift(), CheckTarget(), createProcFlags(), Unit::DealDamage(), Spell::Delayed(), Spell::DelayedChannel(), Spell::DoAllEffectOnLaunchTarget(), Spell::DoAllEffectOnTarget(), Spell::DoSpellHitOnUnit(), Spell::EffectCastButtons(), Spell::EffectCharge(), Spell::EffectEnergize(), Spell::EffectEnergizePct(), Spell::EffectForceDeselect(), Spell::EffectSanctuary(), Spell::EffectSchoolDMG(), Spell::EffectStealBeneficialBuff(), Spell::EffectTriggerSpell(), Spell::EffectWeaponDmg(), UnitAI::FillAISpellInfo(), DynObjAura::FillTargetMap(), Spell::finish(), Creature::FocusTarget(), ThreatManager::ForwardThreatForAssistingMe(), GetAuraRankForLevel(), Unit::GetDispellableAuraList(), Unit::GetEffectiveResistChance(), Unit::GetMagicHitRedirectTarget(), Aura::GetProcEffectMask(), Spell::GetSearcherTypeMask(), AuraEffect::GetTotalTicks(), Spell::handle_immediate(), AuraEffect::HandleAuraModSchoolImmunity(), WorldSession::HandleCancelAuraOpcode(), WorldSession::HandleCancelChanneling(), AuraEffect::HandleFeignDeath(), Spell::HandleLaunchPhase(), AuraEffect::HandleModTotalPercentStat(), AuraEffect::HandlePeriodicDamageAurasTick(), AuraEffect::HandlePeriodicEnergizeAuraTick(), WorldSession::HandlePetAction(), AuraEffect::HandleShapeshiftBoosts(), Spell::HandleThreatSpells(), HasInitialAggro(), IsActionAllowedChannel(), Spell::IsAutoActionResetSpell(), IsAutocastable(), IsCooldownStartedOnEvent(), Unit::IsDamageReducedByArmor(), Unit::IsImmunedToAuraPeriodicTick(), Unit::IsImmunedToDamage(), Unit::IsImmunedToSchool(), Unit::IsImmunedToSchool(), Unit::IsImmunedToSpell(), Creature::IsImmunedToSpell(), Unit::IsImmunedToSpell(), Unit::IsImmunedToSpellEffect(), Player::IsNeedCastPassiveSpellAtLearn(), Spell::IsNextMeleeSwingSpell(), IsPassive(), IsRangedWeaponSpell(), Aura::IsRemovedOnShapeLost(), Unit::isSpellBlocked(), Player::LearnTalent(), SpellMgr::LoadEnchantCustomAttr(), LoadLootTemplates_Spell(), SpellMgr::LoadSpellInfoCustomAttributes(), LoadSpellSpecific(), Unit::MagicSpellHitResult(), Unit::MeleeDamageBonusTaken(), Unit::MeleeSpellHitResult(), Unit::MeleeSpellMissChance(), Unit::ModSpellDuration(), Aura::ModStackAmount(), Acore::WorldObjectSpellConeTargetCheck::operator()(), AuraEffect::PeriodicTick(), Player::PrepareCharmAISpells(), Spell::prepareDataForTriggerSystem(), Aura::PrepareProcToTrigger(), SmartScript::ProcessAction(), Aura::RefreshDuration(), Aura::RefreshTimersWithMods(), Creature::ReleaseFocus(), Unit::RemoveAllAurasOnDeath(), Unit::RemoveArenaAuras(), Player::RemoveArenaSpellCooldowns(), Unit::RemoveAurasByShapeShift(), Unit::RemoveAurasDueToSpellByDispel(), Unit::RemoveAurasDueToSpellBySteal(), Unit::RemoveEvadeAuras(), Player::removeSpell(), Player::resetTalents(), Player::RestoreBaseRune(), Spell::SearchChainTargets(), Spell::SendResurrectRequest(), Spell::SendSpellGo(), Spell::SendSpellStart(), ArenaSpectator::ShouldSendAura(), Spell::Spell(), Unit::SpellDamageBonusDone(), Unit::SpellDamageBonusTaken(), Unit::SpellDoneCritChance(), Unit::SpellHealingBonusTaken(), Unit::SpellHitResult(), Unit::SpellHitResult(), Unit::SpellPctDamageModsDone(), Unit::SpellPctHealingModsDone(), Unit::SpellTakenCritChance(), Acore::Hyperlinks::LinkTags::enchant::StoreTo(), Spell::TakeAmmo(), Unit::TriggerAurasProcOnEvent(), Spell::TriggerGlobalCooldown(), Spell::UpdateChanneledTargetList(), and Aura::UpdateTargetMap().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| bool SpellInfo::HasAura | ( | AuraType | aura | ) | const |
References Effects, and MAX_SPELL_EFFECTS.
Referenced by Spell::_handle_finish_phase(), Pet::_SaveAuras(), ApplyAllSpellImmunitiesTo(), AuraEffect::CalculateAmount(), AuraEffect::CalculatePeriodicData(), boss_mandokir::boss_mandokirAI::CalculateThreat(), PetAI::CanAttack(), Spell::CheckCast(), spell_dru_omen_of_clarity::CheckProc(), CheckTarget(), Unit::DealDamage(), Spell::EffectHeal(), Spell::EffectSummonType(), Aura::GetProcEffectMask(), Unit::HandleSpellClick(), Unit::IsImmunedToSpell(), SpellMgr::LoadSpellGroupStackRules(), SpellMgr::LoadSpellInfoCustomAttributes(), Unit::ModSpellCastTime(), Unit::RemoveAllAurasExceptType(), Unit::RemoveEvadeAuras(), PetAI::SpellHit(), Unit::SpellHitResult(), and Unit::SpellHitResult().
| bool SpellInfo::HasEffect | ( | SpellEffects | effect | ) | const |
References Effects, and MAX_SPELL_EFFECTS.
Referenced by Player::_addSpell(), Player::_addTalentAurasAndSpells(), Spell::_cast(), Spell::_handle_finish_phase(), AuraScript::_Validate(), Player::addTalent(), Spell::cancel(), Spell::CheckCast(), spell_dk_dancing_rune_weapon::CheckProc(), spell_dru_omen_of_clarity::CheckProc(), spell_gen_allow_proc_from_spells_with_cost::CheckProc(), spell_item_essence_of_life::CheckProc(), CheckTarget(), Spell::DoAllEffectOnTarget(), Spell::HandleLaunchPhase(), AuraEffect::HandleShapeshiftBoosts(), IsPassiveStackableWithRanks(), Player::LearnTalent(), spell_pal_glyph_of_divinity::OnProc(), Spell::prepare(), spell_gen_mounted_charge::Register(), Player::removeSpell(), Player::resetTalents(), Player::RewardQuest(), Spell::SelectExplicitTargets(), Spell::SelectImplicitCasterDestTargets(), Spell::SendSpellGo(), Spell::Spell(), Unit::SpellHitResult(), Unit::SpellHitResult(), and PetAI::UpdateAI().
| bool SpellInfo::HasEffectMechanic | ( | Mechanics | mechanic | ) | const |
References Effects.
Referenced by spell_warr_heroic_strike::HandleOnHit(), and Unit::RemoveMovementImpairingAuras().
| bool SpellInfo::HasInitialAggro | ( | ) | const |
References HasAttribute(), SPELL_ATTR1_NO_THREAT, and SPELL_ATTR3_SUPPRESS_TARGET_PROCS.
Referenced by Spell::DoAllEffectOnTarget(), and Spell::HandleLaunchPhase().
| bool SpellInfo::HasOnlyDamageEffects | ( | ) | const |
References Effects, MAX_SPELL_EFFECTS, SPELL_EFFECT_HEALTH_LEECH, SPELL_EFFECT_NORMALIZED_WEAPON_DMG, SPELL_EFFECT_POWER_BURN, SPELL_EFFECT_POWER_DRAIN, SPELL_EFFECT_SCHOOL_DAMAGE, and SPELL_EFFECT_WEAPON_PERCENT_DAMAGE.
Referenced by Unit::SpellHitResult().
| bool SpellInfo::IsAbilityLearnedWithProfession | ( | ) | const |
References SkillLineAbilityEntry::AcquireMethod, Id, SkillLineAbilityEntry::MinSkillLineRank, SKILL_LINE_ABILITY_LEARNED_ON_SKILL_VALUE, and sSpellMgr.
Referenced by ComputeIsStackableWithRanks().
| bool SpellInfo::IsAbilityOfSkillType | ( | uint32 | skillType | ) | const |
Referenced by Spell::CanOpenLock(), learn_commandscript::HandleLearnAllGMCommand(), and Item::IsFitToSpellRequirements().
| bool SpellInfo::IsActionAllowedChannel | ( | ) | const |
References HasAttribute(), IsChanneled(), and SPELL_ATTR5_ALLOW_ACTION_DURING_CHANNEL.
Referenced by Creature::IsMovementPreventedByCasting(), and Spell::prepare().
References SpellFamilyFlags, and SpellFamilyName.
Referenced by IsAffectedBySpellMod(), and AuraEffect::IsAffectedOnSpell().
| bool SpellInfo::IsAffectedBySpellMod | ( | SpellModifier const * | mod | ) | const |
References IsAffected(), IsAffectedBySpellMods(), SpellModifier::mask, SpellModifier::op, SpellFamilyName, SpellModifier::spellId, SPELLMOD_DURATION, sScriptMgr, and sSpellMgr.
Referenced by AuraEffect::ApplySpellMod(), and Player::IsAffectedBySpellmod().
| bool SpellInfo::IsAffectedBySpellMods | ( | ) | const |
References AttributesEx3, and SPELL_ATTR3_IGNORE_CASTER_MODIFIERS.
Referenced by IsAffectedBySpellMod().
| bool SpellInfo::IsAffectingArea | ( | ) | const |
References Effects, IsTargetingArea(), MAX_SPELL_EFFECTS, and SPELL_EFFECT_PERSISTENT_AREA_AURA.
Referenced by Unit::_IsValidAssistTarget(), Unit::_IsValidAttackTarget(), and Unit::MagicSpellHitResult().
| bool SpellInfo::IsAllowingDeadTarget | ( | ) | const |
References AttributesEx2, SPELL_ATTR2_ALLOW_DEAD_TARGET, TARGET_FLAG_CORPSE_ALLY, TARGET_FLAG_CORPSE_ENEMY, and TARGET_FLAG_UNIT_DEAD.
Referenced by Unit::_CreateAuraApplication(), Unit::_IsValidAssistTarget(), Unit::_IsValidAttackTarget(), CheckTarget(), and Spell::IsValidDeadOrAliveTarget().
| bool SpellInfo::IsAuraEffectEqual | ( | SpellInfo const * | otherSpellInfo | ) | const |
References EFFECT_0, Effects, and MAX_SPELL_EFFECTS.
Referenced by Spell::DoAllEffectOnTarget().
| bool SpellInfo::IsAuraExclusiveBySpecificPerCasterWith | ( | SpellInfo const * | spellInfo | ) | const |
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 |
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, and SPELL_SPECIFIC_WARLOCK_ARMOR.
Referenced by Aura::CanStackWith().
| bool SpellInfo::IsAutocastable | ( | ) | const |
References HasAttribute(), SPELL_ATTR0_PASSIVE, and SPELL_ATTR1_NO_AUTOCAST_AI.
Referenced by Pet::addSpell(), CharmInfo::AddSpellToActionBar(), WorldSession::HandlePetSpellAutocastOpcode(), CharmInfo::InitCharmCreateSpells(), CharmInfo::LoadPetActionBar(), and Pet::ToggleAutocast().
| bool SpellInfo::IsAutoRepeatRangedSpell | ( | ) | const |
References AttributesEx2, and SPELL_ATTR2_AUTO_REPEAT.
Referenced by Player::AddSpellAndCategoryCooldowns(), CalcCastTime(), WorldSession::HandleCastSpellOpcode(), Spell::SendSpellGo(), Spell::SendSpellStart(), and Spell::Spell().
| bool SpellInfo::IsBreakingStealth | ( | ) | const |
References AttributesEx, and SPELL_ATTR1_ALLOW_WHILE_STEALTHED.
Referenced by Spell::prepare().
| bool SpellInfo::IsChannelCategorySpell | ( | ) | const |
References Effects, MAX_SPELL_EFFECTS, and TARGET_SELECT_CATEGORY_CHANNEL.
Referenced by AuraEffect::HandlePeriodicTriggerSpellAuraTick().
| bool SpellInfo::IsChanneled | ( | ) | const |
References AttributesEx, SPELL_ATTR1_IS_CHANNELED, and SPELL_ATTR1_IS_SELF_CHANNELED.
Referenced by Spell::_cast(), Unit::CalculateDefaultCoefficient(), Spell::cancel(), Aura::CanStackWith(), Spell::finish(), Unit::GetCastingTimeForBonus(), Spell::GetCurrentContainer(), Spell::handle_immediate(), WorldSession::HandleCancelAuraOpcode(), IsActionAllowedChannel(), Spell::IsNeedSendToClient(), Unit::ModSpellCastTime(), NeedsToBeTriggeredByCaster(), AuraEffect::PeriodicTick(), Spell::prepare(), Spell::SelectSpellTargets(), Spell::SendSpellGo(), and Spell::SendSpellStart().
| bool SpellInfo::IsCooldownStartedOnEvent | ( | ) | const |
References CategoryEntry, SpellCategoryEntry::Flags, HasAttribute(), SPELL_ATTR0_COOLDOWN_ON_EVENT, and SPELL_CATEGORY_FLAG_COOLDOWN_STARTS_ON_EVENT.
Referenced by Aura::_ApplyForTarget(), Spell::_handle_finish_phase(), Aura::_UnapplyForTarget(), Unit::AddGameObject(), Player::AddSpellAndCategoryCooldowns(), Spell::cancel(), Spell::CheckCast(), Spell::finish(), WorldSession::HandlePetActionHelper(), Player::ProhibitSpellSchool(), Unit::RemoveGameObject(), Spell::SendSpellCooldown(), Unit::SetMinion(), and Pet::Update().
| bool SpellInfo::IsCritCapable | ( | ) | const |
References _isCritCapable.
Referenced by Unit::SpellDoneCritChance(), and Unit::SpellTakenCritChance().
| bool SpellInfo::IsDeathPersistent | ( | ) | const |
References AttributesEx3, and SPELL_ATTR3_ALLOW_AURA_WHILE_DEAD.
Referenced by Unit::_CreateAuraApplication(), CheckTarget(), and Aura::IsDeathPersistent().
| bool SpellInfo::IsDifferentRankOf | ( | SpellInfo const * | spellInfo | ) | const |
References Id, and IsRankOf().
Referenced by Pet::addSpell(), and Aura::CanStackWith().
| bool SpellInfo::IsExplicitDiscovery | ( | ) | const |
References Effects, Id, SPELL_EFFECT_CREATE_ITEM_2, SPELL_EFFECT_CREATE_RANDOM_ITEM, and SPELL_EFFECT_SCRIPT_EFFECT.
Referenced by LoadSkillDiscoveryTable().
| bool SpellInfo::IsHighRankOf | ( | SpellInfo const * | spellInfo | ) | const |
References ChainEntry, SpellChainNode::first, and SpellChainNode::rank.
Referenced by Pet::addSpell(), and Player::PrepareCharmAISpells().
| bool SpellInfo::IsLootCrafting | ( | ) | const |
References Effects, SPELL_EFFECT_CREATE_ITEM_2, SPELL_EFFECT_CREATE_RANDOM_ITEM, and SpellIconID.
Referenced by SpellMgr::ComputeIsSpellValid(), Spell::EffectCreateItem2(), and LoadLootTemplates_Spell().
| bool SpellInfo::IsMultiSlotAura | ( | ) | const |
References Id, and IsPassive().
Referenced by Unit::_TryStackingOrRefreshingExistingAura(), and Aura::CanStackWith().
| bool SpellInfo::IsPassive | ( | ) | const |
References HasAttribute(), and SPELL_ATTR0_PASSIVE.
Referenced by Player::_addSpell(), Player::_addTalentAurasAndSpells(), Unit::_TryStackingOrRefreshingExistingAura(), Pet::addSpell(), ApplyAllSpellImmunitiesTo(), Player::ApplyItemDependentAuras(), CanDispelAura(), Spell::CheckCast(), spell_dru_omen_of_clarity::CheckProc(), ComputeIsStackableWithRanks(), UnitAI::FillAISpellInfo(), WorldSession::HandleCancelAuraOpcode(), WorldSession::HandleCastSpellOpcode(), lookup_commandscript::HandleLookupSpellCommand(), lookup_commandscript::HandleLookupSpellIdCommand(), WorldSession::HandlePetActionHelper(), WorldSession::HandlePetCastSpellOpcode(), spell_gen_clear_debuffs::HandleScript(), Player::HasItemFitToSpellRequirements(), CharmInfo::InitCharmCreateSpells(), npc_oathbound_warder::InitializeAI(), CharmInfo::InitPossessCreateSpells(), IsMultiSlotAura(), Aura::IsPassive(), IsPassiveStackableWithRanks(), Spell::prepare(), Player::PrepareCharmAISpells(), Spell::SendSpellCooldown(), Spell::Spell(), CharmInfo::ToggleCreatureAutocast(), and Player::VehicleSpellInitialize().
| bool SpellInfo::IsPassiveStackableWithRanks | ( | ) | const |
References HasEffect(), IsPassive(), and SPELL_EFFECT_APPLY_AURA.
| bool SpellInfo::IsPositive | ( | ) | const |
References AttributesCu, SPELL_ATTR0_CU_NEGATIVE, and SPELL_ATTR0_CU_POSITIVE.
Referenced by Spell::_cast(), Spell::_handle_finish_phase(), Pet::_SaveAuras(), Player::CastItemCombatSpell(), spell_item_luffa::CheckCast(), Spell::CheckCast(), spell_dk_dancing_rune_weapon::CheckProc(), spell_pal_spiritual_attunement::CheckProc(), CheckTarget(), Spell::DoAllEffectOnTarget(), Spell::DoSpellHitOnUnit(), Spell::EffectCharge(), UnitAI::FillAISpellInfo(), GetDiminishingReturnsGroupForSpell(), spell_rog_deadly_poison::HandleAfterHit(), AuraEffect::HandleAuraModSchoolImmunity(), AuraEffect::HandleAuraTransform(), WorldSession::HandleCancelAuraOpcode(), WorldSession::HandleCastSpellOpcode(), spell_item_luffa::HandleEffect(), Spell::HandleLaunchPhase(), WorldSession::HandlePetActionHelper(), ArenaSpectator::HandleResetCommand(), spell_gen_clear_debuffs::HandleScript(), SmartAI::InitializeAI(), GameObject::IsAtInteractDistance(), Totem::IsImmunedToSpellEffect(), Unit::MagicSpellHitResult(), Unit::PetSpellFail(), Spell::prepare(), Spell::PrepareTriggersExecutedOnHit(), Spell::SelectExplicitTargets(), Spell::SelectImplicitNearbyTargets(), ArenaSpectator::ShouldSendAura(), Spell::Spell(), Unit::SpellHitResult(), Unit::SpellHitResult(), Unit::SpellTakenCritChance(), PetAI::UpdateAI(), and Spell::UpdateChanneledTargetList().
| bool SpellInfo::IsPositiveEffect | ( | uint8 | effIndex | ) | const |
References AttributesCu, SPELL_ATTR0_CU_NEGATIVE_EFF0, SPELL_ATTR0_CU_NEGATIVE_EFF1, SPELL_ATTR0_CU_NEGATIVE_EFF2, SPELL_ATTR0_CU_POSITIVE_EFF0, SPELL_ATTR0_CU_POSITIVE_EFF1, and SPELL_ATTR0_CU_POSITIVE_EFF2.
Referenced by CanSpellProvideImmunityAgainstAura(), Spell::DoAllEffectOnTarget(), GetAuraRankForLevel(), and Spell::prepare().
| bool SpellInfo::IsPrimaryProfession | ( | ) | const |
References Effects, IsPrimaryProfessionSkill(), MAX_SPELL_EFFECTS, and SPELL_EFFECT_SKILL.
Referenced by IsPrimaryProfessionFirstRank().
| bool SpellInfo::IsPrimaryProfessionFirstRank | ( | ) | const |
References GetRank(), and IsPrimaryProfession().
Referenced by Player::_addSpell(), Trainer::Trainer::CanTeachSpell(), Player::removeSpell(), and Trainer::Trainer::SendSpells().
| bool SpellInfo::IsProfession | ( | ) | const |
References Effects, IsProfessionSkill(), MAX_SPELL_EFFECTS, and SPELL_EFFECT_SKILL.
| bool SpellInfo::IsProfessionOrRiding | ( | ) | const |
References Effects, IsProfessionOrRidingSkill(), MAX_SPELL_EFFECTS, and SPELL_EFFECT_SKILL.
Referenced by ComputeIsStackableWithRanks().
| bool SpellInfo::IsQuestTame | ( | ) | const |
References Effects, SPELL_AURA_DUMMY, SPELL_EFFECT_APPLY_AURA, and SPELL_EFFECT_THREAT.
| bool SpellInfo::IsRangedWeaponSpell | ( | ) | const |
References EquippedItemSubClassMask, HasAttribute(), ITEM_SUBCLASS_MASK_WEAPON_RANGED, SPELL_ATTR0_USES_RANGED_SLOT, SPELLFAMILY_HUNTER, SpellFamilyFlags, and SpellFamilyName.
Referenced by Aura::CalcProcChance(), Spell::handle_immediate(), Unit::MeleeSpellHitResult(), Spell::Spell(), Unit::SpellDamageBonusDone(), and Unit::SpellHealingBonusDone().
| bool SpellInfo::IsRanked | ( | ) | const |
References ChainEntry.
Referenced by Pet::addSpell(), and Player::addSpell().
| bool SpellInfo::IsRankOf | ( | SpellInfo const * | spellInfo | ) | const |
References GetFirstRankSpell().
Referenced by Aura::CanStackWith(), spell_pal_light_s_beacon::HandleProc(), IsDifferentRankOf(), 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 |
References AttributesEx3, and SPELL_ATTR3_ONLY_ON_GHOSTS.
Referenced by CheckTarget(), Spell::IsValidDeadOrAliveTarget(), and Unit::RemoveAllAurasRequiringDeadTarget().
| bool SpellInfo::IsSelfCast | ( | ) | const |
References Effects, MAX_SPELL_EFFECTS, and TARGET_UNIT_CASTER.
Referenced by Spell::CheckCast(), and Player::RewardQuest().
| bool SpellInfo::IsSingleTarget | ( | ) | const |
References AttributesEx5, and SPELL_ATTR5_LIMIT_N.
Referenced by Unit::_AddAura(), and Aura::Create().
| bool SpellInfo::IsSpellValid | ( | ) | const |
References _isSpellValid.
Referenced by SpellMgr::IsSpellValid().
| bool SpellInfo::IsStackableWithRanks | ( | ) | const |
References _isStackableWithRanks.
Referenced by Player::addSpell().
| bool SpellInfo::IsTargetingArea | ( | ) | const |
References Effects, IsTargetingArea(), and MAX_SPELL_EFFECTS.
Referenced by Spell::CheckCast(), spell_dk_dancing_rune_weapon::CheckProc(), spell_gen_proc_from_direct_damage::CheckProc(), Spell::HandleLaunchPhase(), spell_dk_bone_shield::HandleProc(), IsAffectingArea(), IsTargetingArea(), and npc_oculus_drake::npc_oculus_drakeAI::SpellHitTarget().
| AuraStateType SpellInfo::LoadAuraState | ( | ) | const |
References AURA_STATE_BANISHED, 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, Effects, GetAllEffectsMechanicMask(), GetCategory(), GetSchoolMask(), GetSpellSpecific(), Id, MAX_SPELL_EFFECTS, Mechanic, MECHANIC_BANISH, 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, SpellFamilyName, and UI64LIT.
Referenced by SpellMgr::LoadSpellSpecificAndAuraState().
| SpellSpecificType SpellInfo::LoadSpellSpecific | ( | ) | const |
@workaround For non-stacking tracking spells (We need generic solution)
References AURA_INTERRUPT_FLAG_NOT_SEATED, AuraInterruptFlags, Dispel, DISPEL_CURSE, DISPEL_POISON, Effects, GetFirstRankSpell(), HasAttribute(), flag96::HasFlag(), Id, MAX_SPELL_EFFECTS, SPELL_ATTR1_NO_THREAT, 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, SPELLFAMILY_DEATHKNIGHT, SPELLFAMILY_GENERIC, SPELLFAMILY_HUNTER, SPELLFAMILY_MAGE, SPELLFAMILY_PALADIN, SPELLFAMILY_PRIEST, SPELLFAMILY_SHAMAN, SPELLFAMILY_WARLOCK, SpellFamilyFlags, and SpellFamilyName.
Referenced by SpellMgr::LoadSpellSpecificAndAuraState().
| bool SpellInfo::NeedsComboPoints | ( | ) | const |
References AttributesEx, SPELL_ATTR1_FINISHING_MOVE_DAMAGE, and SPELL_ATTR1_FINISHING_MOVE_DURATION.
Referenced by Player::PrepareCharmAISpells(), and Spell::Spell().
| bool SpellInfo::NeedsExplicitUnitTarget | ( | ) | const |
| bool SpellInfo::NeedsToBeTriggeredByCaster | ( | SpellInfo const * | triggeringSpell, |
| uint8 | effIndex = MAX_SPELL_EFFECTS |
||
| ) | const |
References Effects, Id, IsChanneled(), MAX_SPELL_EFFECTS, NeedsExplicitUnitTarget(), TARGET_CHECK_ENTRY, TARGET_DEST_CASTER, TARGET_FLAG_UNIT_MASK, and TARGET_UNIT_CASTER.
Referenced by Spell::EffectTriggerMissileSpell(), Spell::EffectTriggerSpell(), AuraEffect::HandleAuraLinked(), and AuraEffect::HandlePeriodicTriggerSpellAuraTick().
| bool SpellInfo::RequireCooldownInfo | ( | ) | const |
References _requireCooldownInfo.
Referenced by Spell::SendSpellCooldown().
| void SpellInfo::SetCritCapable | ( | bool | val | ) |
References _isCritCapable.
| void SpellInfo::SetSpellValid | ( | bool | val | ) |
References _isSpellValid.
| void SpellInfo::SetStackableWithRanks | ( | bool | val | ) |
References _isStackableWithRanks.
| bool SpellInfo::ValidateAttribute6SpellDamageMods | ( | Unit const * | caster, |
| const AuraEffect * | auraEffect, | ||
| bool | isDot | ||
| ) | const |
References AttributesEx6, AuraEffect::GetAmount(), AuraEffect::GetBase(), AuraEffect::GetCasterGUID(), Aura::GetCastItemGUID(), Object::GetGUID(), AuraEffect::GetSpellInfo(), Id, SPELL_ATTR6_IGNORE_CASTER_DAMAGE_MODIFIERS, SPELLFAMILY_DEATHKNIGHT, SpellFamilyFlags, SpellFamilyName, and SpellIconID.
Referenced by Unit::MeleeDamageBonusDone(), Unit::SpellDamageBonusTaken(), and Unit::SpellPctDamageModsDone().
|
friend |
| AuraStateType SpellInfo::_auraState |
Referenced by GetAuraState(), and SpellMgr::LoadSpellSpecificAndAuraState().
| SpellDiminishInfo SpellInfo::_diminishInfoNonTriggered |
| SpellDiminishInfo SpellInfo::_diminishInfoTriggered |
| ImmunityInfo SpellInfo::_immunityInfo[MAX_SPELL_EFFECTS] |
Referenced by _LoadImmunityInfo(), and ApplyAllSpellImmunitiesTo().
| bool SpellInfo::_isCritCapable |
Referenced by IsCritCapable(), SetCritCapable(), and SpellInfo().
| bool SpellInfo::_isSpellValid |
Referenced by IsSpellValid(), SetSpellValid(), and SpellInfo().
| bool SpellInfo::_isStackableWithRanks |
Referenced by IsStackableWithRanks(), SetStackableWithRanks(), and SpellInfo().
| bool SpellInfo::_requireCooldownInfo |
Referenced by SpellMgr::LoadSpellInfoCustomAttributes(), RequireCooldownInfo(), and SpellInfo().
| SpellSpecificType SpellInfo::_spellSpecific |
Referenced by GetSpellSpecific(), and SpellMgr::LoadSpellSpecificAndAuraState().
| uint32 SpellInfo::ActiveIconID |
Referenced by SpellMgr::LoadSpellInfoCorrections(), and SpellInfo().
| int32 SpellInfo::AreaGroupId |
Referenced by Spell::CheckCast(), CheckLocation(), and SpellInfo().
| uint32 SpellInfo::Attributes |
| uint32 SpellInfo::AttributesCu |
| uint32 SpellInfo::AttributesEx |
| uint32 SpellInfo::AttributesEx2 |
| uint32 SpellInfo::AttributesEx3 |
| uint32 SpellInfo::AttributesEx4 |
Referenced by CalcPowerCost(), spellinfo_commandscript::PrintAttributes(), and SpellInfo().
| uint32 SpellInfo::AttributesEx5 |
Referenced by IsSingleTarget(), Unit::ModSpellCastTime(), spellinfo_commandscript::PrintAttributes(), and SpellInfo().
| uint32 SpellInfo::AttributesEx6 |
| uint32 SpellInfo::AttributesEx7 |
Referenced by spellinfo_commandscript::PrintAttributes(), and SpellInfo().
| uint32 SpellInfo::AuraInterruptFlags |
Referenced by Unit::_ApplyAura(), Unit::_CreateAuraApplication(), Pet::_SaveAuras(), Unit::_UnapplyAura(), Spell::CheckCast(), SpellMgr::LoadSpellInfoCustomAttributes(), LoadSpellSpecific(), Spell::prepare(), spellinfo_commandscript::PrintGeneralInfo(), Unit::RemoveAurasWithInterruptFlags(), and SpellInfo().
| uint32 SpellInfo::BaseLevel |
Referenced by SpellEffectInfo::CalcValue(), spellinfo_commandscript::PrintGeneralInfo(), and SpellInfo().
| uint32 SpellInfo::CasterAuraSpell |
Referenced by Spell::CheckCast(), and SpellInfo().
| uint32 SpellInfo::CasterAuraState |
Referenced by Spell::CheckCast(), Spell::finish(), Player::LoadFromDB(), and SpellInfo().
| uint32 SpellInfo::CasterAuraStateNot |
Referenced by Spell::CheckCast(), and SpellInfo().
| SpellCastTimesEntry const* SpellInfo::CastTimeEntry |
| SpellCategoryEntry const* SpellInfo::CategoryEntry |
Referenced by GetCategory(), IsCooldownStartedOnEvent(), SpellMgr::LoadSpellInfoCorrections(), and SpellInfo().
| uint32 SpellInfo::CategoryRecoveryTime |
Referenced by Player::AddSpellAndCategoryCooldowns(), Creature::AddSpellCooldown(), Player::ApplyEquipCooldown(), Spell::EffectTriggerMissileSpell(), Spell::EffectTriggerSpell(), GetRecoveryTime(), spell_hun_readiness::HandleDummy(), WorldSession::HandleItemQuerySingleOpcode(), spell_pvp_trinket_wotf_shared_cd::HandleScript(), Pet::LoadPetFromDB(), SpellMgr::LoadSpellInfoCustomAttributes(), spellinfo_commandscript::PrintGeneralInfo(), Player::RemoveArenaSpellCooldowns(), SpellInfo(), and Spell::TriggerGlobalCooldown().
| SpellChainNode const* SpellInfo::ChainEntry |
Referenced by GetFirstRankSpell(), GetLastRankSpell(), GetNextRankSpell(), GetPrevRankSpell(), GetRank(), IsHighRankOf(), IsRanked(), and SpellInfo().
| uint32 SpellInfo::ChannelInterruptFlags |
| uint32 SpellInfo::Dispel |
Referenced by ApplyAllSpellImmunitiesTo(), CanSpellCastOverrideAuraEffect(), CanSpellProvideImmunityAgainstAura(), spell_dk_hungering_cold::CheckProc(), Unit::GetDispellableAuraList(), GetDispelMask(), spell_rog_deadly_poison::HandleAfterHit(), spell_item_powerful_anti_venom::HandleDummy(), spell_item_strong_anti_venom::HandleDummy(), spell_item_anti_venom::HandleDummy(), ArenaSpectator::HandleResetCommand(), Unit::IsImmunedToSpell(), LoadAuraState(), LoadSpellSpecific(), Unit::MagicSpellHitResult(), Unit::ModSpellDuration(), spellinfo_commandscript::PrintBasicInfo(), and SpellInfo().
| uint32 SpellInfo::DmgClass |
Referenced by Spell::_cast(), Spell::_handle_finish_phase(), AuraEffect::CalcPeriodicCritChance(), Aura::CalcProcChance(), Unit::CalculateSpellDamageTaken(), Spell::CheckItems(), createProcFlags(), Unit::DealDamage(), Spell::DoAllEffectOnLaunchTarget(), Spell::DoAllEffectOnTarget(), Spell::EffectTriggerSpell(), Unit::MeleeSpellHitResult(), Unit::ModSpellCastTime(), Spell::prepareDataForTriggerSystem(), spellinfo_commandscript::PrintGeneralInfo(), Spell::SearchChainTargets(), Spell::SelectExplicitTargets(), Spell::Spell(), Unit::SpellCriticalDamageBonus(), Unit::SpellCriticalHealingBonus(), Unit::SpellDamageBonusDone(), Unit::SpellDoneCritChance(), Unit::SpellHealingBonusDone(), Unit::SpellHealingBonusTaken(), Unit::SpellHitResult(), Unit::SpellHitResult(), SpellInfo(), Unit::SpellTakenCritChance(), and Spell::TriggerGlobalCooldown().
| SpellDurationEntry const* SpellInfo::DurationEntry |
| std::array<SpellEffectInfo, MAX_SPELL_EFFECTS> SpellInfo::Effects |
Referenced by Player::_addSpell(), Player::_addTalentAurasAndSpells(), Spell::_handle_immediate_phase(), _InitializeExplicitTargetMask(), _IsPositiveEffect(), _LoadImmunityInfo(), Player::_removeTalentAurasAndSpells(), _UnloadImplicitTargetConditionLists(), spell_dk_will_of_the_necropolis::Absorb(), Spell::AddGOTarget(), Spell::AddItemTarget(), ConditionMgr::addToSpellImplicitTargetConditions(), Spell::AddUnitTarget(), Aura::BuildEffectMaskForOwner(), Unit::CalcAbsorbResist(), spell_dk_anti_magic_zone::CalculateAmount(), AuraEffect::CalculateAmount(), spell_krystallus_shatter_effect::CalculateDamage(), spell_gruul_shatter_effect::CalculateDamage(), spell_igb_incinerating_blast::CalculateDamage(), Spell::CalculateJumpSpeeds(), AuraEffect::CalculatePeriodic(), spell_igb_cannon_blast::CalculatePower(), spell_dru_treant_scaling::CalculateResistanceAmount(), spell_hun_generic_scaling::CalculateResistanceAmount(), spell_mage_pet_scaling::CalculateResistanceAmount(), spell_pri_shadowfiend_scaling::CalculateResistanceAmount(), spell_sha_feral_spirit_scaling::CalculateResistanceAmount(), spell_sha_fire_elemental_scaling::CalculateResistanceAmount(), spell_warl_generic_scaling::CalculateResistanceAmount(), spell_warl_infernal_scaling::CalculateResistanceAmount(), Unit::CalculateSpellDamage(), AuraEffect::CalculateSpellMod(), spell_dk_pet_scaling::CalculateStatAmount(), spell_dru_treant_scaling::CalculateStatAmount(), spell_hun_generic_scaling::CalculateStatAmount(), spell_mage_pet_scaling::CalculateStatAmount(), spell_pri_shadowfiend_scaling::CalculateStatAmount(), spell_sha_feral_spirit_scaling::CalculateStatAmount(), spell_sha_fire_elemental_scaling::CalculateStatAmount(), spell_warl_generic_scaling::CalculateStatAmount(), spell_warl_infernal_scaling::CalculateStatAmount(), SpellEffectInfo::CalcValue(), Spell::CanExecuteTriggersOnHit(), Spell::CanOpenLock(), CanSpellCastOverrideAuraEffect(), CanSpellProvideImmunityAgainstAura(), Aura::CanStackWith(), GameObject::CastSpell(), _SpellScript::EffectNameCheck::Check(), _SpellScript::EffectAuraNameCheck::Check(), spell_mage_ice_barrier::CheckCast(), spell_pri_power_word_shield::CheckCast(), Spell::CheckCast(), Spell::CheckCasterAuras(), SpellScript::TargetHook::CheckEffect(), AuraEffect::CheckEffectProc(), Spell::CheckEffectTarget(), Spell::CheckItems(), spell_dru_glyph_of_rake::CheckProc(), spell_sha_nature_guardian::CheckProc(), spell_hun_ascpect_of_the_viper::CheckProc(), CheckShapeshift(), spell_rotface_unstable_ooze_explosion::CheckTarget(), AuraEffect::CleanupTriggeredSpells(), ComputeIsCritCapable(), SpellMgr::ComputeIsSpellValid(), ComputeIsStackableWithRanks(), Spell::DoAllEffectOnLaunchTarget(), Spell::DoAllEffectOnTarget(), Spell::DoSpellHitOnUnit(), Spell::EffectActivateObject(), Spell::EffectActivateRune(), Spell::EffectAddFarsight(), Spell::EffectApplyGlyph(), Spell::EffectBind(), Spell::EffectCastButtons(), Spell::EffectCreateItem(), Spell::EffectCreateItem2(), Spell::EffectCreateTamedPet(), Spell::EffectDiscoverTaxi(), Spell::EffectDispel(), Spell::EffectDispelMechanic(), Spell::EffectDuel(), Spell::EffectDurabilityDamage(), Spell::EffectDurabilityDamagePCT(), Spell::EffectEnchantHeldItem(), Spell::EffectEnchantItemPerm(), Spell::EffectEnchantItemPrismatic(), Spell::EffectEnchantItemTmp(), Spell::EffectEnergize(), Spell::EffectEnergizePct(), Spell::EffectFeedPet(), Spell::EffectForceCast(), Spell::EffectForceDeselect(), Spell::EffectGameObjectSetDestructionState(), Spell::EffectKillCredit(), Spell::EffectKillCreditPersonal(), Spell::EffectKnockBack(), Spell::EffectLeapBack(), Spell::EffectLearnPetSpell(), Spell::EffectLearnSkill(), Spell::EffectLearnSpell(), Spell::EffectPersistentAA(), Spell::EffectPlayMusic(), Spell::EffectPlaySound(), Spell::EffectPowerBurn(), Spell::EffectPowerDrain(), Spell::EffectPullTowards(), Spell::EffectQuestClear(), Spell::EffectQuestComplete(), Spell::EffectQuestFail(), Spell::EffectQuestStart(), Spell::EffectRechargeManaGem(), Spell::EffectRemoveAura(), Spell::EffectReputation(), Spell::EffectResurrectNew(), Spell::EffectSanctuary(), Spell::EffectSchoolDMG(), Spell::EffectScriptEffect(), Spell::EffectSelfResurrect(), Spell::EffectSendEvent(), Spell::EffectSendTaxi(), Spell::EffectStealBeneficialBuff(), Spell::EffectSummonChangeItem(), Spell::EffectSummonObject(), Spell::EffectSummonObjectWild(), Spell::EffectSummonPet(), Spell::EffectSummonType(), Spell::EffectTransmitted(), Spell::EffectTriggerMissileSpell(), Spell::EffectTriggerRitualOfSummoning(), Spell::EffectTriggerSpell(), Spell::EffectUnlearnSpecialization(), Spell::EffectWeaponDmg(), EquippedOk(), UnitAI::FillAISpellInfo(), ScriptMgr::FillSpellSummary(), UnitAura::FillTargetMap(), DynObjAura::FillTargetMap(), GetAllEffectsMechanicMask(), GetAuraRankForLevel(), AuraEffect::GetAuraType(), Unit::GetCastingTimeForBonus(), GetDiminishingReturnsGroupForSpell(), GetEffectMechanic(), GetEffectMechanicMask(), npc_firework::npc_fireworkAI::GetFireworkGameObjectId(), spell_dk_raise_dead::GetGhoulSpellId(), GetMaxTicks(), Unit::GetMechanicResistChance(), AuraEffect::GetMiscValue(), AuraEffect::GetMiscValueB(), GetSpellMechanicMaskByEffectMask(), go_soulwell::go_soulwellAI::GossipHello(), spell_dk_dancing_rune_weapon::HandleApply(), AuraEffect::HandleAuraLinked(), AuraEffect::HandleAuraModDispelImmunity(), AuraEffect::HandleAuraModDmgImmunity(), Unit::HandleAuraRaidProcFromCharge(), Unit::HandleAuraRaidProcFromChargeWithValue(), WorldSession::HandleCastSpellOpcode(), spell_dru_lifebloom::HandleDispel(), spell_gen_oracle_wolvar_reputation::HandleDummy(), spell_q13086_last_line_of_defence::HandleDummy(), spell_dk_raise_ally::HandleDummy(), spell_q12683_take_sputum_sample::HandleDummy(), spell_warr_execute::HandleEffect(), spell_dk_improved_unholy_presence::HandleEffectApply(), spell_dru_idol_lifebloom::HandleEffectCalcSpellMod(), spell_warr_glyph_of_sunder_armor::HandleEffectCalcSpellMod(), spell_rog_prey_on_the_weak::HandleEffectPeriodic(), spell_optic_link_aura::HandleEffectPeriodic(), Spell::HandleEffects(), AuraEffect::HandleFeignDeath(), Spell::HandleLaunchPhase(), lookup_commandscript::HandleLookupSpellCommand(), lookup_commandscript::HandleLookupSpellIdCommand(), AuraEffect::HandleModMechanicImmunity(), AuraEffect::HandleModStateImmunityMask(), spell_putricide_unbound_plague_dmg_aura::HandlePeriodic(), spell_dru_frenzied_regeneration::HandlePeriodic(), spell_hun_rapid_recuperation::HandlePeriodic(), AuraEffect::HandlePeriodicDamageAurasTick(), AuraEffect::HandlePeriodicHealthFunnelAuraTick(), AuraEffect::HandlePeriodicHealthLeechAuraTick(), AuraEffect::HandlePeriodicManaLeechAuraTick(), AuraEffect::HandlePeriodicPowerBurnAuraTick(), AuraEffect::HandlePeriodicTriggerSpellAuraTick(), AuraEffect::HandlePeriodicTriggerSpellWithValueAuraTick(), WorldSession::HandlePetActionHelper(), spell_item_blood_draining_enchant::HandleProc(), spell_hun_cobra_strikes::HandleProc(), spell_warr_extra_proc::HandleProc(), spell_pet_guard_dog::HandleProc(), spell_dk_blood_caked_blade::HandleProc(), spell_dk_dancing_rune_weapon::HandleProc(), spell_dk_unholy_blight::HandleProc(), spell_gen_proc_not_self::HandleProc(), spell_gen_blade_warding::HandleProc(), spell_item_alchemists_stone::HandleProc(), spell_pal_seal_of_command_aura::HandleProc(), spell_pal_judgement_of_wisdom_mana::HandleProc(), spell_pal_infusion_of_light::HandleProc(), spell_pal_glyph_of_holy_light_dummy::HandleProc(), spell_pal_improved_lay_of_hands::HandleProc(), spell_pal_illumination::HandleProc(), spell_sha_flametongue_weapon::HandleProc(), spell_sha_glyph_of_totem_of_wrath::HandleProc(), spell_sha_imp_water_shield::HandleProc(), spell_sha_windfury_weapon::HandleProc(), spell_warr_deep_wounds_aura::HandleProc(), AuraEffect::HandleProcTriggerSpellAuraProc(), AuraEffect::HandleProcTriggerSpellWithValueAuraProc(), AuraEffect::HandleRaidProcFromChargeAuraProc(), AuraEffect::HandleRaidProcFromChargeWithValueAuraProc(), spell_igb_rocket_pack_aura::HandleRemove(), spell_gen_set_health::HandleScript(), spell_pal_seal_of_vengeance_aura::HandleSeal(), Unit::HandleSpellClick(), spell_wintergrasp_create_vehicle::HandleSummon(), spell_item_summon_or_dismiss::HandleSummon(), spell_item_draenic_pale_ale::HandleSummon(), spell_putricide_mutated_plague_aura::HandleTriggerSpell(), spell_mage_arcane_blast::HandleTriggerSpell(), Player::Has310Flyer(), HasAnyAura(), HasAnyEffectMechanic(), HasAreaAuraEffect(), HasAura(), Unit::HasAuraWithMechanic(), HasEffect(), HasEffectMechanic(), Player::HasItemFitToSpellRequirements(), HasOnlyDamageEffects(), AuraEffect::HasSpellClassMask(), ItemTemplate::HasSpellPowerStat(), AuraEffect::IsAffectedOnSpell(), IsAffectingArea(), IsAuraEffectEqual(), IsChannelCategorySpell(), Unit::IsDamageReducedByArmor(), IsExplicitDiscovery(), Unit::IsImmunedToSpell(), Creature::IsImmunedToSpell(), Unit::IsImmunedToSpell(), Unit::IsImmunedToSpellEffect(), Creature::IsImmunedToSpellEffect(), Totem::IsImmunedToSpellEffect(), IsLootCrafting(), IsPrimaryProfession(), IsProfession(), IsProfessionOrRiding(), IsQuestTame(), IsSelfCast(), ConditionMgr::isSourceTypeValid(), IsTargetingArea(), AchievementCriteriaData::IsValid(), Player::learnQuestRewardedSpells(), Player::LearnTalent(), spell_shield_generator_aura::Load(), spell_dk_anti_magic_shell_raid::Load(), spell_dk_anti_magic_shell_self::Load(), spell_dk_anti_magic_zone::Load(), spell_dk_spell_deflection::Load(), spell_dk_will_of_the_necropolis::Load(), spell_dru_moonkin_form_passive::Load(), spell_dru_primal_tenacity::Load(), spell_dru_savage_defense::Load(), spell_gen_absorb0_hitlimit1::Load(), spell_pal_ardent_defender::Load(), spell_pal_divine_sacrifice::Load(), spell_pal_divine_storm::Load(), spell_pri_guardian_spirit::Load(), spell_rog_cheat_death::Load(), spell_rog_nerves_of_steel::Load(), spell_sha_astral_shift::Load(), LoadAuraState(), SpellMgr::LoadEnchantCustomAttr(), SpellMgr::LoadPetDefaultSpells(), ObjectMgr::LoadQuests(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellLearnSkills(), SpellMgr::LoadSpellPetAuras(), SpellMgr::LoadSpellProcs(), ObjectMgr::LoadSpellScripts(), LoadSpellSpecific(), SpellMgr::LoadSpellTargetPositions(), Unit::MagicSpellHitResult(), Unit::MeleeDamageBonusDone(), spell_gen_random_target32::ModDest(), spell_q12308_escape_from_silverbrook_summon_worgen::ModDest(), NeedsToBeTriggeredByCaster(), spell_dru_rejuvenation_moonglade_2_set::OnApply(), spell_valithria_suppression_aura::OnApply(), spell_kologarn_stone_shout_aura::OnPeriodic(), spell_item_fel_mana_potion::OnPeriodic(), spell_deathwhisper_dark_reckoning::OnPeriodic(), spell_pal_glyph_of_divinity::OnProc(), spell_putricide_mutated_plague_aura::OnRemove(), spell_valithria_suppression_aura::OnRemove(), spell_dru_rejuvenation_moonglade_2_set::OnRemove(), spell_hor_shared_suffering_aura::OnRemove(), spell_gen_sober_up::OnRemove(), spell_entropius_negative_energy_periodic::PeriodicTick(), spell_doomfire::PeriodicTick(), spell_blood_queen_pact_of_the_darkfallen_dmg_aura::PeriodicTick(), spell_broggok_poison_cloud::PeriodicTick(), spell_pal_beacon_of_light::PeriodicTick(), Spell::prepare(), Player::PrepareCharmAISpells(), Spell::PrepareTriggersExecutedOnHit(), spellinfo_commandscript::PrintEffects(), spellinfo_commandscript::PrintTargets(), Creature::reachWithSpellAttack(), Creature::reachWithSpellCure(), spell_wg_reduce_damage_by_distance::RecalculateDamage(), spell_gen_mounted_charge::Register(), spell_gen_defend::Register(), Player::removeSpell(), Player::resetTalents(), Spell::SelectEffectImplicitTargets(), Spell::SelectEffectTypeImplicitTargets(), Spell::SelectImplicitAreaTargets(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitChainTargets(), Spell::SelectImplicitConeTargets(), Spell::SelectImplicitDestDestTargets(), Spell::SelectImplicitNearbyTargets(), Spell::SelectImplicitTargetDestTargets(), Spell::SelectImplicitTrajTargets(), Spell::SelectSpellTargets(), Spell::SendLogExecute(), Spell::SetSpellValue(), Unit::SpellDamageBonusDone(), Unit::SpellHealingBonusDone(), Unit::SpellHealingBonusTaken(), Unit::SpellHitResult(), Unit::SpellHitResult(), boss_onyxia::SpellHitTarget(), boss_rotface::boss_rotfaceAI::SpellHitTarget(), SpellInfo(), SpellValue::SpellValue(), Acore::Hyperlinks::LinkTags::trade::StoreTo(), go_wind_stone::go_wind_stoneAI::SummonNPC(), Spell::update(), Player::UpdateAttackPowerAndDamage(), Spell::UpdateChanneledTargetList(), spell_deathwhisper_dark_reckoning::Validate(), spell_mage_living_bomb::Validate(), spell_entropius_negative_energy_periodic::Validate(), spell_putricide_ooze_tank_protection::Validate(), spell_broggok_poison_cloud::Validate(), spell_dru_wild_growth::Validate(), spell_gen_arena_drink::Validate(), spell_gen_eject_passenger::Validate(), spell_hun_cobra_strikes::Validate(), spell_hun_rapid_recuperation::Validate(), spell_pal_beacon_of_light::Validate(), spell_pal_improved_lay_of_hands::Validate(), spell_rog_turn_the_tables::Validate(), spell_sha_mana_tide::Validate(), and Spell::WriteCastResultInfo().
| int32 SpellInfo::EquippedItemClass |
Referenced by Player::ApplyItemDependentAuras(), Unit::CalcArmorReducedDamage(), Player::CheckAttackFitToAuraRequirement(), Spell::CheckItems(), createProcFlags(), Spell::EffectProficiency(), Aura::GetProcEffectMask(), Player::HasItemFitToSpellRequirements(), Item::IsFitToSpellRequirements(), Spell::prepareDataForTriggerSystem(), spellinfo_commandscript::PrintGeneralInfo(), Unit::SpellBaseDamageBonusDone(), boss_viscidus::SpellHit(), SpellInfo(), Unit::SpellPctDamageModsDone(), and Spell::WriteCastResultInfo().
| int32 SpellInfo::EquippedItemInventoryTypeMask |
| int32 SpellInfo::EquippedItemSubClassMask |
Referenced by createProcFlags(), Spell::EffectProficiency(), Player::HasItemFitToSpellRequirements(), Item::IsFitToSpellRequirements(), IsRangedWeaponSpell(), Spell::prepareDataForTriggerSystem(), spellinfo_commandscript::PrintGeneralInfo(), boss_viscidus::SpellHit(), SpellInfo(), Unit::SpellPctDamageModsDone(), and Spell::WriteCastResultInfo().
| uint32 SpellInfo::ExcludeCasterAuraSpell |
Referenced by Spell::CheckCast(), Spell::PrepareTriggersExecutedOnHit(), SpellInfo(), and spell_mage_ice_block::Validate().
| uint32 SpellInfo::ExcludeTargetAuraSpell |
| uint32 SpellInfo::ExplicitTargetMask |
Referenced by _InitializeExplicitTargetMask(), GetExplicitTargetMask(), and SpellInfo().
| uint32 SpellInfo::FacingCasterFlags |
Referenced by Spell::CheckRange(), and SpellInfo().
| uint32 SpellInfo::Id |
Referenced by Player::_addSpell(), Aura::_ApplyForTarget(), Spell::_cast(), Unit::_CreateAuraApplication(), Spell::_handle_finish_phase(), _IsPositiveEffect(), _LoadImmunityInfo(), Unit::_TryStackingOrRefreshingExistingAura(), Aura::_UnapplyForTarget(), Unit::_UpdateAutoRepeatSpell(), _SpellScript::_Validate(), SpellScript::_Validate(), AuraScript::_Validate(), boss_grand_champion::boss_grand_championAI::AddCreatureAddonAuras(), AddItemsSetItem(), SpellMgr::AddSameEffectStackRuleSpellGroups(), Player::addSpell(), Player::AddSpellAndCategoryCooldowns(), Creature::AddSpellCooldown(), CharmInfo::AddSpellToActionBar(), ApplyAllSpellImmunitiesTo(), Unit::ApplyEffectModifiers(), Player::ApplyEquipSpell(), Unit::CalcAbsorbResist(), Unit::CalcArmorReducedDamage(), SpellEffectInfo::CalcDamageMultiplier(), CalcPowerCost(), SpellEffectInfo::CalcRadius(), AuraEffect::CalculateAmount(), ThreatManager::CalculateModifiedThreat(), Unit::CalculateSpellDamageTaken(), SpellEffectInfo::CalcValueMultiplier(), Spell::CanAutoCast(), Spell::cancel(), Player::CanExecutePendingSpellCastRequest(), Spell::CanOpenLock(), Player::CanRequestSpellCast(), Unit::CanRestoreMana(), Aura::CanStackWith(), Player::CastItemCombatSpell(), Player::CastItemUseSpell(), spell_yogg_saron_in_the_maws_of_the_old_god::CheckCast(), Spell::CheckCast(), Spell::CheckCasterAuras(), Spell::CheckEffectTarget(), CheckLocation(), Spell::CheckPetCast(), spell_dk_dancing_rune_weapon::CheckProc(), spell_dru_t10_restoration_4p_bonus_dummy::CheckProc(), spell_mage_brain_freeze::CheckProc(), spell_mage_empowered_fire::CheckProc(), spell_warr_improved_spell_reflection::CheckProc(), spell_pri_body_and_soul::CheckProcDummy(), Spell::CheckRange(), Spell::CheckRuneCost(), CheckShapeshift(), cast_commandscript::CheckSpellExistsAndIsValid(), SpellMgr::CheckSpellGroupStackRules(), SpellMgr::ComputeIsSpellValid(), Unit::DealDamage(), Unit::DealDamageShieldDamage(), Spell::Delayed(), Spell::DelayedChannel(), Spell::DoAllEffectOnTarget(), Spell::DoCreateItem(), Spell::DoSpellHitOnUnit(), Spell::DoTriggersOnSpellHit(), Spell::EffectActivateObject(), Spell::EffectActivateRune(), Spell::EffectAddFarsight(), Spell::EffectAddHonor(), 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::EffectEnergizePct(), Spell::EffectForceCast(), Spell::EffectForceDeselect(), Spell::EffectHeal(), Spell::EffectInstaKill(), Spell::EffectInterruptCast(), Spell::EffectJumpDest(), Spell::EffectKillCredit(), Spell::EffectLearnPetSpell(), Spell::EffectLearnSpell(), Spell::EffectOpenLock(), Spell::EffectPersistentAA(), Spell::EffectPlayMusic(), Spell::EffectPlaySound(), Spell::EffectPowerBurn(), Spell::EffectPowerDrain(), 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(), spell_lady_vashj_summons::FilterTargets(), spell_ulduar_stone_grip_cast_target::FilterTargetsInitial(), Spell::finish(), Spell::GetDebugInfo(), GetDiminishingReturnsGroupForSpell(), SpellMgr::GetFirstSpellInChain(), Unit::GetHighestExclusiveSameEffectSpellGroupValue(), AuraEffect::GetId(), Aura::GetId(), GetMaxRange(), Unit::GetPPMProcChance(), SpellMgr::GetSpellForDifficultyFromSpell(), Spell::handle_immediate(), spell_igb_on_gunship_deck_aura::HandleApply(), misc_commandscript::HandleAuraCommand(), AuraEffect::HandleAuraDummy(), AuraEffect::HandleAuraModSchoolImmunity(), Unit::HandleAuraRaidProcFromCharge(), Unit::HandleAuraRaidProcFromChargeWithValue(), Aura::HandleAuraSpecificMods(), misc_commandscript::HandleAuraStacksCommand(), WorldSession::HandleCancelChanneling(), cast_commandscript::HandleCastBackCommand(), cast_commandscript::HandleCastCommand(), cast_commandscript::HandleCastDestCommand(), cast_commandscript::HandleCastDistCommand(), cast_commandscript::HandleCastSelfCommand(), cast_commandscript::HandleCastTargetCommad(), spell_hun_readiness::HandleDummy(), spell_mage_cold_snap::HandleDummy(), spell_rog_preparation::HandleDummy(), spell_pal_improved_aura::HandleEffectRemove(), Spell::HandleEffects(), spell_ioc_bomb_blast_criteria::HandleGameObjectDamage(), spell_chapter5_return_to_capital::HandleHit(), Acore::PlayerCommand::HandleLearnSpellCommand(), lookup_commandscript::HandleLookupSpellIdCommand(), spell_warr_heroic_strike::HandleOnHit(), AuraEffect::HandlePeriodicTriggerSpellAuraTick(), pet_commandscript::HandlePetLearnCommand(), pet_commandscript::HandlePetUnlearnCommand(), spell_dk_rime::HandleProc(), spell_mage_glyph_of_ice_block::HandleProc(), spell_deathbringer_blood_link_aura::HandleProc(), spell_item_blood_draining_enchant::HandleProc(), spell_hun_cobra_strikes::HandleProc(), spell_item_healing_trance::HandleProc(), spell_dk_sudden_doom::HandleProc(), spell_mage_master_of_elements::HandleProc(), spell_sha_glyph_of_earth_shield::HandleProc(), spell_warr_sweeping_strikes::HandleProc(), ArenaSpectator::HandleResetCommand(), spell_pvp_trinket_wotf_shared_cd::HandleScript(), spell_dreamwalker_summon_portal::HandleScript(), spell_gen_profession_research::HandleScript(), spell_gen_dalaran_disguise::HandleScript(), spell_item_book_of_glyph_mastery::HandleScript(), spell_capacitus_polarity_charge::HandleTargets(), spell_thaddius_pos_neg_charge::HandleTargets(), Spell::HandleThreatSpells(), Acore::PlayerCommand::HandleUnlearnSpellCommand(), WorldSession::HandleUpdateMissileTrajectory(), Pet::InitLevelupSpellsForLevel(), IsAbilityLearnedWithProfession(), IsAbilityOfSkillType(), IsDifferentRankOf(), IsExplicitDiscovery(), Unit::IsImmunedToSchool(), Unit::IsImmunedToSchool(), Unit::IsImmunedToSpell(), Totem::IsImmunedToSpellEffect(), SmartAI::IsMainSpellPrevented(), IsMultiSlotAura(), LinkValidator< LinkTags::enchant >::IsTextValid(), spell_item_brewfest_hops::Load(), spell_pal_seal_of_vengeance_aura::Load(), LoadAuraState(), ObjectMgr::LoadCreatureAddons(), ObjectMgr::LoadCreatureTemplateAddons(), LoadLootTemplates_Spell(), SpellMgr::LoadPetLevelupSpellMap(), ObjectMgr::LoadQuests(), Aura::LoadScripts(), Spell::LoadScripts(), SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellProcs(), ObjectMgr::LoadSpellScriptNames(), LoadSpellSpecific(), Unit::MagicSpellHitResult(), Unit::MeleeSpellHitResult(), Unit::ModSpellCastTime(), NeedsToBeTriggeredByCaster(), boss_stormcaller_brundir::OnChannelFinished(), spell_lurker_below_spout::OnPeriodic(), spell_xt002_gravity_bomb_aura::OnRemove(), boss_stormcaller_brundir::OnSpellCast(), SmartAI::OnSpellFailed(), boss_stormcaller_brundir::OnSpellFailed(), Spell::OnSpellLaunch(), Acore::AbsorbAuraOrderPred::operator()(), Unit::PetSpellFail(), Spell::prepare(), Player::PrepareCharmAISpells(), Spell::prepareDataForTriggerSystem(), Spell::PrepareTriggersExecutedOnHit(), spellinfo_commandscript::PrintBasicInfo(), SmartScript::ProcessEvent(), spell_pri_power_word_shield_aura::ReflectDamage(), RemoveItemsSetItem(), Player::RestoreSpellMods(), Spell::SelectEffectImplicitTargets(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitChainTargets(), Spell::SelectImplicitChannelTargets(), Spell::SelectImplicitNearbyTargets(), Spell::SendChannelStart(), Player::SendCooldownEvent(), Unit::SendHealSpellLog(), Spell::SendInterrupted(), Spell::SendLogExecute(), Spell::SendSpellCooldown(), Spell::SendSpellGo(), Unit::SendSpellNonMeleeDamageLog(), Unit::SendSpellNonMeleeReflectLog(), Spell::SendSpellStart(), AuraEffect::SendTickImmune(), Unit::SetCurrentCastedSpell(), boss_mimiron::SetData(), CharmInfo::SetSpellAutocast(), list_commandscript::ShouldListAura(), Unit::SpellCriticalDamageBonus(), Unit::SpellCriticalHealingBonus(), Unit::SpellDamageBonusDone(), Unit::SpellDamageBonusTaken(), Unit::SpellDoneCritChance(), Unit::SpellHealingBonusDone(), Unit::SpellHealingBonusTaken(), npc_kerlonian::npc_kerlonianAI::SpellHit(), npc_ringo::npc_ringoAI::SpellHit(), boss_pyroguard_emberseer::SpellHit(), npc_netherspite_infernal::SpellHit(), boss_terestian_illhoof::SpellHit(), boss_halazzi::SpellHit(), npc_harrison_jones::SpellHit(), npc_crate_helper::npc_crate_helperAI::SpellHit(), boss_buru::SpellHit(), boss_ossirian::SpellHit(), npc_omen::npc_omenAI::SpellHit(), npc_taskmaster_fizzule::npc_taskmaster_fizzuleAI::SpellHit(), boss_eadric::boss_eadricAI::SpellHit(), npc_black_knight_ghoul::npc_black_knight_ghoulAI::SpellHit(), boss_grand_champion::boss_grand_championAI::SpellHit(), npc_frost_sphere::npc_frost_sphereAI::SpellHit(), boss_prince_keleseth_icc::boss_prince_kelesethAI::SpellHit(), boss_prince_taldaram_icc::boss_prince_taldaramAI::SpellHit(), boss_prince_valanar_icc::boss_prince_valanarAI::SpellHit(), npc_high_overlord_saurfang_icc::npc_high_overlord_saurfangAI::SpellHit(), npc_muradin_bronzebeard_icc::npc_muradin_bronzebeard_iccAI::SpellHit(), npc_saurfang_event::npc_saurfang_eventAI::SpellHit(), npc_cult_fanatic::npc_cult_fanaticAI::SpellHit(), npc_cult_adherent::npc_cult_adherentAI::SpellHit(), npc_putricide_oozeAI::SpellHit(), boss_the_lich_king::boss_the_lich_kingAI::SpellHit(), npc_tirion_fordring_tft::npc_tirion_fordringAI::SpellHit(), boss_valithria_dreamwalker::boss_valithria_dreamwalkerAI::SpellHit(), npc_argent_captainAI::SpellHit(), npc_gothik_trigger::npc_gothik_triggerAI::SpellHit(), boss_malygos::SpellHit(), boss_urom::boss_uromAI::SpellHit(), boss_ionar::SpellHit(), npc_ulduar_toasty_fire::SpellHit(), npc_ulduar_hodir_priest::SpellHit(), npc_ulduar_hodir_druid::SpellHit(), npc_ulduar_hodir_shaman::SpellHit(), npc_ulduar_hodir_mage::SpellHit(), npc_ulduar_iron_construct::SpellHit(), npc_ulduar_leviathan_mkii::SpellHit(), npc_ulduar_vx001::SpellHit(), npc_ulduar_aerial_command_unit::SpellHit(), npc_ulduar_flames_spread::SpellHit(), npc_ichor_globule::npc_ichor_globuleAI::SpellHit(), npc_preparations_for_war_vehicle::SpellHit(), npc_wintergarde_gryphon::SpellHit(), npc_frostbrood_skytalon::npc_frostbrood_skytalonAI::SpellHit(), npc_maiev_illidan::SpellHit(), boss_shade_of_akama::SpellHit(), npc_infernal_attacker::npc_infernal_attackerAI::SpellHit(), npc_shadowmoon_tuber_node::npc_shadowmoon_tuber_nodeAI::SpellHit(), npc_venomhide_hatchling::npc_venomhide_hatchlingAI::SpellHit(), npc_necropolis::SpellHit(), npc_necropolis_health::SpellHit(), npc_necropolis_relay::SpellHit(), boss_majordomo::SpellHit(), boss_attumen::SpellHit(), npc_balance_of_light_and_shadow::npc_balance_of_light_and_shadowAI::SpellHit(), npc_dark_iron_guzzler::SpellHit(), boss_headless_horseman::SpellHit(), boss_headless_horseman_pumpkin::SpellHit(), npc_pilgrims_bounty_chair::SpellHit(), npc_pilgrims_bounty_plate::SpellHit(), boss_veklor::SpellHit(), npc_rabid_thistle_bear::npc_rabid_thistle_bearAI::SpellHit(), boss_gal_darah::SpellHit(), npc_isle_of_conquest_turret::npc_isle_of_conquest_turretAI::SpellHit(), boss_steelbreaker::SpellHit(), boss_runemaster_molgeim::SpellHit(), boss_stormcaller_brundir::SpellHit(), boss_freya::SpellHit(), boss_hodir::SpellHit(), boss_mimiron::SpellHit(), boss_thorim_pillar::SpellHit(), boss_thorim_runic_colossus::SpellHit(), boss_yoggsaron::SpellHit(), npc_ulduar_keeper::npc_ulduar_keeperAI::SpellHit(), boss_skadi_grauf::boss_skadi_graufAI::SpellHit(), npc_overlord_drakuru_betrayal::SpellHit(), npc_earthen_ring_flamecaller::SpellHit(), npc_pet_darting_hatchling::SpellHit(), npc_necropolis_proxy::SpellHit(), boss_tenris_mirkblood::SpellHit(), npc_forest_frog::SpellHit(), npc_zulian_prowler::npc_zulian_prowlerAI::SpellHit(), npc_midsummer_ribbon_pole_target::SpellHit(), npc_aged_dying_ancient_kodo::SpellHit(), npc_troll_volunteer::npc_troll_volunteerAI::SpellHit(), boss_jaraxxus::boss_jaraxxusAI::SpellHit(), boss_sister_svalna::boss_sister_svalnaAI::SpellHit(), boss_faerlina::boss_faerlinaAI::SpellHit(), boss_razuvious::boss_razuviousAI::SpellHit(), npc_living_constellation::SpellHit(), boss_ignis::SpellHit(), boss_razorscale::SpellHit(), npc_sinkhole_kill_credit::npc_sinkhole_kill_creditAI::SpellHit(), npc_torturer_lecraft::npc_torturer_lecraftAI::SpellHit(), npc_wounded_skirmisher::SpellHit(), npc_venture_co_straggler::npc_venture_co_stragglerAI::SpellHit(), npc_tournament_training_dummy::npc_tournament_training_dummyAI::SpellHit(), npc_brunnhildar_prisoner::npc_brunnhildar_prisonerAI::SpellHit(), boss_kaelthas::SpellHit(), advisor_baseAI::SpellHit(), npc_deaths_door_fell_cannon_target_bunny::npc_deaths_door_fell_cannon_target_bunnyAI::SpellHit(), npc_nether_drake::npc_nether_drakeAI::SpellHit(), npc_enslaved_netherwing_drake::SpellHit(), npc_dragonmaw_peon::npc_dragonmaw_peonAI::SpellHit(), npc_injured_patient::npc_injured_patientAI::SpellHit(), npc_garments_of_quests::npc_garments_of_questsAI::SpellHit(), npc_necrotic_shard::SpellHit(), npc_dark_iron_attack_generator::SpellHit(), npc_soh_fire_trigger::SpellHit(), npc_hallows_end_train_fire::SpellHit(), boss_headless_horseman_head::SpellHit(), npc_midsummer_bonfire::SpellHit(), npc_cos_stratholme_citizien::npc_cos_stratholme_citizienAI::SpellHit(), boss_viscidus::SpellHit(), boss_magus_telestra::SpellHit(), boss_flame_leviathan::SpellHit(), boss_thorim::SpellHit(), boss_yoggsaron_immortal_guardian::SpellHit(), npc_attracted_reef_bull::npc_attracted_reef_bullAI::SpellHit(), npc_jungle_punch_target::npc_jungle_punch_targetAI::SpellHit(), npc_iron_watcher::npc_iron_watcherAI::SpellHit(), npc_wild_wyrm::SpellHit(), npc_mature_netherwing_drake::npc_mature_netherwing_drakeAI::SpellHit(), npc_imprisoned_beryl_sorcerer::npc_imprisoned_beryl_sorcererAI::SpellHit(), boss_black_knight::boss_black_knightAI::SpellHitTarget(), boss_bronjahm::SpellHitTarget(), boss_garfrost::boss_garfrostAI::SpellHitTarget(), boss_deathbringer_saurfang::boss_deathbringer_saurfangAI::SpellHitTarget(), npc_vengeful_shade::npc_vengeful_shadeAI::SpellHitTarget(), npc_putricide_oozeAI::SpellHitTarget(), boss_the_lich_king::boss_the_lich_kingAI::SpellHitTarget(), npc_maghar_captive::npc_maghar_captiveAI::SpellHitTarget(), npc_kurenai_captive::npc_kurenai_captiveAI::SpellHitTarget(), npc_necropolis_relay::SpellHitTarget(), boss_quartermaster_zigris::SpellHitTarget(), npc_demonic_vapor_trail::SpellHitTarget(), boss_headless_horseman_head::SpellHitTarget(), boss_taldaram::SpellHitTarget(), boss_anub_arak::SpellHitTarget(), boss_moorabi::boss_moorabiAI::SpellHitTarget(), boss_volkhan::SpellHitTarget(), boss_stormcaller_brundir::SpellHitTarget(), boss_ymiron::boss_ymironAI::SpellHitTarget(), npc_necropolis_proxy::SpellHitTarget(), npc_necrotic_shard::SpellHitTarget(), npc_frostwing_vrykul::npc_frostwing_vrykulAI::SpellHitTarget(), boss_felmyst::SpellHitTarget(), boss_malchezaar::SpellHitTarget(), npc_nerubian_burrower::npc_nerubian_burrowerAI::SpellHitTarget(), boss_devourer_of_souls::SpellHitTarget(), npc_hor_lich_king::SpellHitTarget(), boss_ick::boss_ickAI::SpellHitTarget(), npc_pos_collapsing_icicle::npc_pos_collapsing_icicleAI::SpellHitTarget(), npc_pos_leader_second::npc_pos_leader_secondAI::SpellHitTarget(), boss_eck::SpellHitTarget(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::SpellHitTarget(), boss_lord_marrowgar::SpellHitTarget(), boss_rotface::boss_rotfaceAI::SpellHitTarget(), boss_sindragosa::boss_sindragosaAI::SpellHitTarget(), boss_sister_svalna::boss_sister_svalnaAI::SpellHitTarget(), npc_icc_valkyr_herald::npc_icc_valkyr_heraldAI::SpellHitTarget(), npc_oculus_drake::npc_oculus_drakeAI::SpellHitTarget(), boss_flame_leviathan::SpellHitTarget(), boss_freya::SpellHitTarget(), boss_vezax::SpellHitTarget(), boss_hodir::SpellHitTarget(), npc_ulduar_hodir_shaman::SpellHitTarget(), npc_ulduar_rocket_strike_trigger::SpellHitTarget(), boss_cyanigosa::boss_cyanigosaAI::SpellHitTarget(), npc_q24545_lich_king::npc_q24545_lich_kingAI::SpellHitTarget(), npc_simon_bunny::npc_simon_bunnyAI::SpellHitTarget(), boss_lethon::boss_lethonAI::SpellHitTarget(), npc_chesspiece::SpellHitTarget(), boss_darkmaster_gandling::boss_darkmaster_gandlingAI::SpellHitTarget(), boss_zuljin::SpellHitTarget(), boss_headless_horseman::SpellHitTarget(), npc_pilgrims_bounty_chair::SpellHitTarget(), boss_epoch::boss_epochAI::SpellHitTarget(), boss_ouro::SpellHitTarget(), npc_anubisath_sentinel::aqsentinelAI::SpellHitTarget(), boss_krik_thir::boss_krik_thirAI::SpellHitTarget(), boss_sapphiron::boss_sapphironAI::SpellHitTarget(), boss_thorim::SpellHitTarget(), npc_xt002_heart::SpellHitTarget(), boss_yoggsaron_sara::SpellHitTarget(), boss_yoggsaron_voice::SpellHitTarget(), boss_emalon::boss_emalonAI::SpellHitTarget(), npc_overlord_drakuru_betrayal::SpellHitTarget(), boss_shirrak_the_dead_watcher::SpellHitTarget(), npc_pet_gen_soul_trader_beacon::SpellHitTarget(), npc_pet_gen_fetch_ball::SpellHitTarget(), npc_necropolis_health::SpellHitTarget(), SpellInfo(), Unit::SpellPctHealingModsDone(), Spell::SummonGuardian(), go_wind_stone::go_wind_stoneAI::SummonNPC(), Spell::TakePower(), Spell::TakeRunePower(), Pet::ToggleAutocast(), CharmInfo::ToggleCreatureAutocast(), Spell::TriggerGlobalCooldown(), Spell::update(), PetAI::UpdateAI(), Spell::UpdateChanneledTargetList(), spell_gen_arena_drink::Validate(), ValidateAttribute6SpellDamageMods(), ObjectMgr::ValidateSpellScripts(), Spell::WriteCastResultInfo(), Spell::~Spell(), and SpellEvent::~SpellEvent().
| uint32 SpellInfo::InterruptFlags |
| float SpellInfo::JumpDistance |
Referenced by Spell::SearchChainTargets(), and SpellInfo().
| uint32 SpellInfo::ManaCost |
Referenced by CalcPowerCost(), SpellMgr::CanSpellTriggerProcOnEvent(), AuraEffect::CheckEffectProc(), spell_gen_allow_proc_from_spells_with_cost::CheckProc(), spell_item_essence_of_life::CheckProc(), Spell::EffectDestroyAllTotems(), spell_hun_thrill_of_the_hunt::HandleProc(), spell_mage_master_of_elements::HandleProc(), spell_pal_illumination::HandleProc(), spell_rog_quick_recovery::HandleProc(), spellinfo_commandscript::PrintGeneralInfo(), Creature::reachWithSpellAttack(), Creature::reachWithSpellCure(), ScriptedAI::SelectSpell(), ProcChanceTestHelper::SpellHasManaCost(), and SpellInfo().
| uint32 SpellInfo::ManaCostPercentage |
Referenced by spell_dru_lifebloom::AfterRemove(), CalcPowerCost(), SpellMgr::CanSpellTriggerProcOnEvent(), AuraEffect::CheckEffectProc(), spell_gen_allow_proc_from_spells_with_cost::CheckProc(), spell_item_essence_of_life::CheckProc(), Spell::EffectDestroyAllTotems(), AuraEffect::HandlePeriodicManaLeechAuraTick(), spell_hun_thrill_of_the_hunt::HandleProc(), spell_mage_master_of_elements::HandleProc(), spell_pal_illumination::HandleProc(), spellinfo_commandscript::PrintGeneralInfo(), ProcChanceTestHelper::SpellHasManaCost(), and SpellInfo().
| uint32 SpellInfo::ManaCostPerlevel |
Referenced by SpellInfo().
| uint32 SpellInfo::ManaPerSecond |
| uint32 SpellInfo::ManaPerSecondPerLevel |
Referenced by Aura::Aura(), Aura::RefreshDuration(), SpellInfo(), and Aura::Update().
| uint32 SpellInfo::MaxAffectedTargets |
| uint32 SpellInfo::MaxLevel |
| uint32 SpellInfo::MaxTargetLevel |
Referenced by spellinfo_commandscript::PrintTargets(), and SpellInfo().
| uint32 SpellInfo::Mechanic |
Referenced by _IsPositiveEffect(), CanSpellCastOverrideAuraEffect(), CanSpellProvideImmunityAgainstAura(), Spell::CheckCast(), CheckTarget(), GetAllEffectsMechanicMask(), Unit::GetDispellableAuraList(), GetEffectMechanic(), GetEffectMechanicMask(), GetSpellMechanicMaskByEffectMask(), spell_warr_heroic_strike::HandleOnHit(), HasAnyEffectMechanic(), Unit::HasAuraWithMechanic(), Unit::IsImmunedToSpell(), Creature::IsImmunedToSpell(), LoadAuraState(), LoadSkillDiscoveryTable(), spellinfo_commandscript::PrintBasicInfo(), Unit::RemoveMovementImpairingAuras(), ScriptedAI::SelectSpell(), boss_attumen::SpellHit(), SpellInfo(), Player::UpdateCraftSkill(), and Spell::WriteCastResultInfo().
| uint32 SpellInfo::PowerType |
| uint32 SpellInfo::PreventionType |
| uint32 SpellInfo::ProcChance |
| uint32 SpellInfo::ProcCharges |
| uint32 SpellInfo::ProcFlags |
| SpellRangeEntry const* SpellInfo::RangeEntry |
| std::array<char const*, 16> SpellInfo::Rank |
Referenced by spellinfo_commandscript::PrintBasicInfo(), and SpellInfo().
| std::array<int32, MAX_SPELL_REAGENTS> SpellInfo::Reagent |
| std::array<uint32, MAX_SPELL_REAGENTS> SpellInfo::ReagentCount |
| uint32 SpellInfo::RecoveryTime |
Referenced by Player::AddSpellAndCategoryCooldowns(), Creature::AddSpellCooldown(), Player::ApplyEquipCooldown(), UnitAI::FillAISpellInfo(), GetRecoveryTime(), spell_hun_readiness::HandleDummy(), WorldSession::HandleItemQuerySingleOpcode(), Pet::LoadPetFromDB(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoCustomAttributes(), spellinfo_commandscript::PrintGeneralInfo(), Player::RemoveArenaSpellCooldowns(), Spell::SendSpellCooldown(), SpellInfo(), and Spell::TriggerGlobalCooldown().
| uint32 SpellInfo::RequiresSpellFocus |
Referenced by Spell::CheckSpellFocus(), Spell::SelectImplicitNearbyTargets(), SpellInfo(), and Spell::WriteCastResultInfo().
| uint32 SpellInfo::RuneCostID |
Referenced by Spell::CheckPower(), Spell::SendSpellGo(), Spell::SendSpellStart(), SpellInfo(), and Spell::TakeRunePower().
| uint32 SpellInfo::SchoolMask |
Referenced by Unit::CalcHealAbsorb(), CanSpellCastOverrideAuraEffect(), CanSpellProvideImmunityAgainstAura(), spell_gen_allow_proc_from_spells_with_cost::CheckProc(), Spell::DoAllEffectOnLaunchTarget(), GetSchoolMask(), spell_warr_execute::HandleEffect(), AuraEffect::HandlePeriodicDamageAurasTick(), AuraEffect::HandlePeriodicPowerBurnAuraTick(), SmartAIMgr::IsEventValid(), SpellMgr::LoadSpellInfoCustomAttributes(), spellinfo_commandscript::PrintGeneralInfo(), SmartScript::ProcessEvent(), ScriptedAI::SelectSpell(), Unit::SpellDamageBonusTaken(), npc_pool_of_tar::SpellHit(), and SpellInfo().
| float SpellInfo::Speed |
Referenced by Spell::_cast(), Spell::AddGOTarget(), Spell::AddUnitTarget(), Spell::CalculateDelayMomentForDst(), Spell::DoSpellHitOnUnit(), Spell::EffectCharge(), Spell::EffectTransmitted(), Unit::GetMagicHitRedirectTarget(), Spell::IsNeedSendToClient(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoCustomAttributes(), spellinfo_commandscript::PrintGeneralInfo(), and SpellInfo().
| flag96 SpellInfo::SpellFamilyFlags |
Referenced by AuraEffect::CalcPeriodicCritChance(), Player::CanNoReagentCast(), Aura::CanStackWith(), Spell::CheckItems(), spell_dk_dancing_rune_weapon::CheckProc(), spell_dru_eclipse::CheckProc(), spell_gen_black_magic_enchant::CheckProc(), spell_hun_misdirection::CheckProc(), spell_mage_brain_freeze::CheckProc(), spell_mage_gen_extra_effects::CheckProc(), spell_mage_missile_barrage::CheckProc(), spell_mage_clearcasting::CheckProc(), spell_pal_seal_of_light::CheckProc(), spell_pal_item_t6_trinket::CheckProc(), spell_pal_seal_of_vengeance_aura::CheckProc(), spell_pri_vampiric_touch::CheckProc(), spell_pri_vampiric_embrace::CheckProc(), spell_rog_focused_attacks::CheckProc(), spell_rog_cold_blood::CheckProc(), spell_sha_lightning_overload::CheckProc(), spell_sha_imp_water_shield::CheckProc(), spell_hun_ascpect_of_the_viper::CheckProc(), spell_pri_body_and_soul::CheckProcTriggerSpell(), Spell::EffectEnchantItemTmp(), Spell::EffectHeal(), Spell::EffectSchoolDMG(), Spell::EffectWeaponDmg(), Unit::GetAuraEffect(), GetDiminishingReturnsGroupForSpell(), GetDiminishingReturnsLimitDuration(), spell_rog_deadly_poison::HandleAfterHit(), Unit::HandleAuraRaidProcFromChargeWithValue(), Aura::HandleAuraSpecificMods(), spell_rog_preparation::HandleDummy(), spell_warr_heroic_strike::HandleOnHit(), AuraEffect::HandlePeriodicManaLeechAuraTick(), spell_mage_glyph_of_ice_block::HandleProc(), spell_dk_threat_of_thassarian::HandleProc(), spell_dru_eclipse::HandleProc(), spell_dru_item_t6_trinket::HandleProc(), spell_hun_thrill_of_the_hunt::HandleProc(), spell_pal_infusion_of_light::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(), IsJudgementDamageSpell(), IsRangedWeaponSpell(), LoadAuraState(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoCustomAttributes(), LoadSpellSpecific(), Unit::MeleeDamageBonusTaken(), Unit::ModSpellDuration(), Spell::prepareDataForTriggerSystem(), Spell::PrepareTriggersExecutedOnHit(), spellinfo_commandscript::PrintGeneralInfo(), spell_dru_enrage::RecalculateBaseArmor(), Unit::RemoveAurasByShapeShift(), Unit::RemoveAurasDueToSpellByDispel(), Unit::RemoveAurasWithFamily(), Player::RestoreSpellMods(), Unit::SpellDamageBonusDone(), Unit::SpellHealingBonusTaken(), SpellInfo(), Unit::SpellPctDamageModsDone(), Unit::SpellTakenCritChance(), AuraScriptProcTestFixture::TestSpellFamilyMatch(), and ValidateAttribute6SpellDamageMods().
| uint32 SpellInfo::SpellFamilyName |
Referenced by Player::AddSpellAndCategoryCooldowns(), AuraEffect::CalcPeriodicCritChance(), Aura::CanStackWith(), Spell::CheckCast(), Spell::CheckItems(), spell_dru_omen_of_clarity::CheckProc(), spell_gen_allow_proc_from_spells_with_cost::CheckProc(), spell_gen_black_magic_enchant::CheckProc(), spell_item_essence_of_life::CheckProc(), spell_mage_gen_extra_effects::CheckProc(), spell_mage_dragon_breath::CheckProc(), spell_mage_clearcasting::CheckProc(), spell_pal_seal_of_vengeance_aura::CheckProc(), spell_pri_vampiric_touch::CheckProc(), spell_rog_focused_attacks::CheckProc(), spell_rog_cold_blood::CheckProc(), CheckTargetCreatureType(), ComputeIsStackableWithRanks(), Spell::EffectDispel(), Spell::EffectDummy(), Spell::EffectEnchantItemTmp(), Spell::EffectEnergize(), Spell::EffectHeal(), Spell::EffectLeapBack(), Spell::EffectSchoolDMG(), Spell::EffectScriptEffect(), Spell::EffectTeleportUnits(), Spell::EffectTriggerSpell(), Spell::EffectWeaponDmg(), Unit::GetAuraEffect(), Unit::GetAuraEffect(), GetDiminishingReturnsGroupForSpell(), GetDiminishingReturnsLimitDuration(), spell_rog_deadly_poison::HandleAfterHit(), AuraEffect::HandleAuraDummy(), AuraEffect::HandleAuraModShapeshift(), Unit::HandleAuraRaidProcFromChargeWithValue(), Aura::HandleAuraSpecificMods(), spell_hun_readiness::HandleDummy(), spell_mage_cold_snap::HandleDummy(), spell_rog_preparation::HandleDummy(), Spell::HandleLaunchPhase(), spell_warr_heroic_strike::HandleOnHit(), AuraEffect::HandlePeriodicManaLeechAuraTick(), AuraEffect::HandlePeriodicTriggerSpellAuraTick(), spell_mage_glyph_of_ice_block::HandleProc(), spell_mage_master_of_elements::HandleProc(), spell_dk_glyph_of_scourge_strike_script::HandleScriptEffect(), IsAffected(), IsAffectedBySpellMod(), AuraEffect::IsAffectedOnSpell(), IsJudgementDamageSpell(), IsRangedWeaponSpell(), LoadAuraState(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoCustomAttributes(), LoadSpellSpecific(), Unit::MeleeDamageBonusTaken(), Unit::ModSpellDuration(), Acore::AbsorbAuraOrderPred::operator()(), Player::PrepareCharmAISpells(), Spell::prepareDataForTriggerSystem(), Spell::PrepareTriggersExecutedOnHit(), spellinfo_commandscript::PrintGeneralInfo(), spell_dru_enrage::RecalculateBaseArmor(), Unit::RemoveAurasByShapeShift(), Unit::RemoveAurasDueToSpellByDispel(), Unit::RemoveAurasWithFamily(), Player::RemoveSpellMods(), ArenaSpectator::ShouldSendAura(), Unit::SpellDamageBonusDone(), Unit::SpellHealingBonusDone(), Unit::SpellHealingBonusTaken(), Unit::SpellHitResult(), Unit::SpellHitResult(), SpellInfo(), Unit::SpellPctDamageModsDone(), Unit::SpellPctHealingModsDone(), Unit::SpellTakenCritChance(), AuraScriptProcTestFixture::TestSpellFamilyMatch(), and ValidateAttribute6SpellDamageMods().
| uint32 SpellInfo::SpellIconID |
Referenced by spell_mage_fire_frost_ward::Absorb(), Spell::AddUnitTarget(), Spell::CanExecuteTriggersOnHit(), spell_deathbringer_blood_link_aura::CheckProc(), spell_pet_guard_dog::CheckProc(), spell_pet_silverback::CheckProc(), spell_pet_culling_the_herd::CheckProc(), spell_dru_omen_of_clarity::CheckProc(), spell_dru_glyph_of_innervate::CheckProc(), spell_gen_allow_proc_from_spells_with_cost::CheckProc(), spell_gen_black_magic_enchant::CheckProc(), spell_item_essence_of_life::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::EffectSchoolDMG(), Spell::EffectWeaponDmg(), Spell::finish(), Unit::GetAuraEffect(), GetDiminishingReturnsGroupForSpell(), spell_pal_seal_of_vengeance_aura::HandleApplyDoT(), AuraEffect::HandleAuraModShapeshift(), Aura::HandleAuraSpecificMods(), spell_warr_heroic_strike::HandleOnHit(), spell_mage_master_of_elements::HandleProc(), spell_pal_infusion_of_light::HandleProc(), spell_gen_break_shield::HandleScriptEffect(), spell_gen_mounted_charge::HandleScriptEffect(), IsLootCrafting(), SpellMgr::LoadSpellInfoCorrections(), Unit::ModSpellDuration(), Acore::AbsorbAuraOrderPred::operator()(), Player::RemoveSpellMods(), ArenaSpectator::ShouldSendAura(), SpellInfo(), Unit::SpellPctDamageModsDone(), Unit::SpellTakenCritChance(), Player::UpdateAttackPowerAndDamage(), and ValidateAttribute6SpellDamageMods().
| uint32 SpellInfo::SpellLevel |
Referenced by Spell::AddUnitTarget(), CalcPowerCost(), Unit::CalculateLevelPenalty(), SpellEffectInfo::CalcValue(), Spell::CheckCast(), Spell::EffectEnergize(), GetAuraRankForLevel(), spell_item_powerful_anti_venom::HandleDummy(), spell_item_strong_anti_venom::HandleDummy(), spell_item_anti_venom::HandleDummy(), Spell::HandleThreatSpells(), Pet::InitLevelupSpellsForLevel(), SpellMgr::LoadPetLevelupSpellMap(), Unit::MagicSpellHitResult(), Spell::prepare(), spellinfo_commandscript::PrintGeneralInfo(), and SpellInfo().
| std::array<char const*, 16> SpellInfo::SpellName |
Referenced by debug_commandscript::HandleDebugThreatInfoCommand(), lookup_commandscript::HandleLookupSpellCommand(), lookup_commandscript::HandleLookupSpellIdCommand(), LinkValidator< LinkTags::spell >::IsTextValid(), LinkValidator< LinkTags::enchant >::IsTextValid(), list_commandscript::ListAurasCommand(), spellinfo_commandscript::PrintBasicInfo(), list_commandscript::ShouldListAura(), and SpellInfo().
| uint32 SpellInfo::SpellPriority |
Referenced by SpellInfo().
| std::array<uint32, 2> SpellInfo::SpellVisual |
| uint32 SpellInfo::StackAmount |
Referenced by AuraApplication::BuildUpdatePacket(), Spell::DoSpellHitOnUnit(), Spell::EffectTriggerSpell(), AuraEffect::HandleAuraDummy(), misc_commandscript::HandleAuraStacksCommand(), spell_item_deadly_precision_dummy::HandleDummy(), spell_hun_cobra_strikes::HandleProc(), spell_pal_seal_of_vengeance_aura::HandleSeal(), Aura::ModStackAmount(), spellinfo_commandscript::PrintGeneralInfo(), spell_gen_defend::RefreshVisualShields(), spell_gen_defend::RemoveVisualShields(), boss_jaraxxus::boss_jaraxxusAI::SpellHit(), npc_ulduar_hodir_shaman::SpellHitTarget(), and SpellInfo().
| uint32 SpellInfo::Stances |
Referenced by Player::_addSpell(), Player::_addTalentAurasAndSpells(), Player::_LoadGlyphAuras(), Aura::CanBeSaved(), CheckShapeshift(), AuraEffect::HandleShapeshiftBoosts(), Player::IsNeedCastPassiveSpellAtLearn(), Aura::IsRemovedOnShapeLost(), Player::PrepareCharmAISpells(), spellinfo_commandscript::PrintAttributes(), and SpellInfo().
| uint32 SpellInfo::StancesNot |
Referenced by CheckShapeshift(), spellinfo_commandscript::PrintAttributes(), and SpellInfo().
| uint32 SpellInfo::StartRecoveryCategory |
Referenced by GlobalCooldownMgr::AddGlobalCooldown(), GlobalCooldownMgr::CancelGlobalCooldown(), Spell::CheckPetCast(), GlobalCooldownMgr::GetGlobalCooldown(), GlobalCooldownMgr::HasGlobalCooldown(), SpellMgr::LoadSpellInfoCustomAttributes(), spellinfo_commandscript::PrintGeneralInfo(), SpellInfo(), and Spell::TriggerGlobalCooldown().
| uint32 SpellInfo::StartRecoveryTime |
| uint32 SpellInfo::TargetAuraSpell |
Referenced by CheckTarget(), and SpellInfo().
| uint32 SpellInfo::TargetAuraState |
Referenced by CheckTarget(), Spell::EffectHeal(), Spell::EffectSchoolDMG(), and SpellInfo().
| uint32 SpellInfo::TargetAuraStateNot |
Referenced by CheckTarget(), and SpellInfo().
| uint32 SpellInfo::TargetCreatureType |
Referenced by CheckTargetCreatureType(), spellinfo_commandscript::PrintTargets(), and SpellInfo().
| uint32 SpellInfo::Targets |
| std::array<uint32, 2> SpellInfo::Totem |
Referenced by Spell::CheckItems(), and Spell::WriteCastResultInfo().
| std::array<uint32, 2> SpellInfo::TotemCategory |
Referenced by Spell::CheckItems(), and Spell::WriteCastResultInfo().