![]() |
TrinityCore
|
#include <SpellAuraEffects.h>
Public Member Functions | |
| Unit * | GetCaster () const |
| ObjectGuid | GetCasterGUID () const |
| Aura * | GetBase () const |
| template<typename Container > | |
| void | GetTargetList (Container &targetContainer) const |
| template<typename Container > | |
| void | GetApplicationList (Container &applicationContainer) const |
| SpellInfo const * | GetSpellInfo () const |
| uint32 | GetId () const |
| SpellEffIndex | GetEffIndex () const |
| SpellEffectValue | GetBaseAmount () const |
| int32 | GetPeriod () const |
| int32 | GetMiscValueB () const |
| int32 | GetMiscValue () const |
| AuraType | GetAuraType () const |
| int32 | GetAmountAsInt () const |
| SpellEffectValue | GetAmount () const |
| void | SetAmount (SpellEffectValue amount) |
| Optional< SpellEffectValue > | GetEstimatedAmount () const |
| int32 | GetPeriodicTimer () const |
| void | SetPeriodicTimer (int32 periodicTimer) |
| SpellEffectValue | CalculateAmount (Unit *caster) |
| Optional< SpellEffectValue > | CalculateEstimatedAmount (Unit const *caster, SpellEffectValue amount) const |
| void | CalculatePeriodic (Unit *caster, bool resetPeriodicTimer=true, bool load=false) |
| void | CalculateSpellMod () |
| void | ChangeAmount (SpellEffectValue newAmount, bool mark=true, bool onStackOrReapply=false, AuraEffect const *triggeredBy=nullptr) |
| void | RecalculateAmount (AuraEffect const *triggeredBy=nullptr) |
| void | RecalculateAmount (Unit *caster, AuraEffect const *triggeredBy=nullptr) |
| bool | CanBeRecalculated () const |
| void | SetCanBeRecalculated (bool val) |
| void | HandleEffect (AuraApplication *aurApp, uint8 mode, bool apply, AuraEffect const *triggeredBy=nullptr) |
| void | HandleEffect (Unit *target, uint8 mode, bool apply, AuraEffect const *triggeredBy=nullptr) |
| void | ApplySpellMod (Unit *target, bool apply, AuraEffect const *triggeredBy=nullptr) |
| void | Update (uint32 diff, Unit *caster) |
| uint32 | GetTickNumber () const |
| uint32 | GetRemainingTicks () const |
| uint32 | GetTotalTicks () const |
| void | ResetPeriodic (bool resetPeriodicTimer=false) |
| void | ResetTicks () |
| bool | IsPeriodic () const |
| void | SetPeriodic (bool isPeriodic) |
| bool | IsAffectingSpell (SpellInfo const *spell) const |
| bool | HasSpellClassMask () const |
| void | SendTickImmune (Unit *target, Unit *caster) const |
| void | PeriodicTick (AuraApplication *aurApp, Unit *caster) const |
| bool | CheckEffectProc (AuraApplication *aurApp, ProcEventInfo &eventInfo) const |
| void | HandleProc (AuraApplication *aurApp, ProcEventInfo &eventInfo) |
| void | HandleShapeshiftBoosts (Unit *target, bool apply) const |
| SpellEffectInfo const & | GetSpellEffectInfo () const |
| void | HandleNULL (AuraApplication const *, uint8, bool) const |
| void | HandleUnused (AuraApplication const *, uint8, bool) const |
| void | HandleNoImmediateEffect (AuraApplication const *, uint8, bool) const |
| void | HandleModInvisibilityDetect (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModInvisibility (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModStealth (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModStealthLevel (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModStealthDetect (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleDetectAmore (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleSpiritOfRedemption (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraGhost (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandlePhase (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandlePhaseGroup (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandlePhaseAlwaysVisible (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModShapeshift (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraTransform (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModScale (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraCloneCaster (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleFeignDeath (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModUnattackable (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModDisarm (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModSilence (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModPacify (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModPacifyAndSilence (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModNoActions (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraTrackCreatures (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraTrackStealthed (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModStalked (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraUntrackable (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModSkill (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraAllowTalentSwapping (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraMounted (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraAllowFlight (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraWaterWalk (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraFeatherFall (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraHover (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleWaterBreathing (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModWaterBreathing (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleForceBreathBar (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleForceMoveForward (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraCanTurnWhileFalling (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModAdvFlying (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleIgnoreMovementForces (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleDisableInertia (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleSetCantSwim (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModThreat (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModTotalThreat (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModTaunt (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModDetaunt (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModFixate (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModConfuse (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModFear (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModStun (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModRoot (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandlePreventFleeing (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModRootAndDisableGravity (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModStunAndDisableGravity (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraDisableGravity (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModPossess (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModPossessPet (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModCharm (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleCharmConvert (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraControlVehicle (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModIncreaseSpeed (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModIncreaseMountedSpeed (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModIncreaseFlightSpeed (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModIncreaseSwimSpeed (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModDecreaseSpeed (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModUseNormalSpeed (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModMinimumSpeedRate (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModMovementForceMagnitude (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModAdvFlyingSpeed (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModMechanicImmunityMask (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModMechanicImmunity (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModEffectImmunity (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModStateImmunity (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModSchoolImmunity (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModDmgImmunity (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModDispelImmunity (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModResistance (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModBaseResistancePCT (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModResistancePercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModBaseResistance (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModTargetResistance (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModStat (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModPercentStat (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModSpellDamagePercentFromStat (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModSpellHealingPercentFromStat (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModHealingDone (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModHealingDonePct (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModTotalPercentStat (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModExpertise (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModBonusArmor (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModBonusArmorPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModArmorPctFromStat (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModStatBonusPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleOverrideSpellPowerByAttackPower (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleOverrideAttackPowerBySpellPower (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModVersatilityByPct (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModMaxPower (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleConvertCritToParry (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModPowerRegen (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModPowerRegenPCT (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModManaRegenPct (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModIncreaseHealth (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModIncreaseMaxHealth (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModIncreaseEnergy (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModIncreaseEnergyPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModIncreaseHealthPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraIncreaseBaseHealthPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModIncreaseBaseManaPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModManaCostPct (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModPowerDisplay (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModOverridePowerDisplay (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModMaxPowerPct (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleTriggerSpellOnHealthPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModParryPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModDodgePercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModBlockPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModRegenInterrupt (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModWeaponCritPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModSpellHitChance (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModSpellCritChance (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModCritPct (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModCastingSpeed (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModMeleeHaste (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModRangedHaste (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModMeleeRangedHaste (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModMeleeRangedCastingHaste (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModMeleeSlowNoStack (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModRangedSlowNoStack (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModSpellSlowNoStack (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModCastingSlowNoStack (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModMeleeRangedCastingSlowNoStack (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModMeleeHasteNoRegen (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModRangedHasteNoRegen (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModMeleeRangedHasteNoRegen (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModAttackSpeed (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModRating (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModRatingPct (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModAttackPower (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModRangedAttackPower (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModAttackPowerPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModRangedAttackPowerPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModDamageDone (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModDamagePercentDone (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModOffhandDamagePercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleShieldBlockValue (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleShieldBlockValuePercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModPowerCost (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleArenaPreparation (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleNoReagentUseAura (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraDummy (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleChannelDeathItem (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleBindSight (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleForceReaction (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraEmpathy (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModFaction (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleLearnSpell (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleComprehendLanguage (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModAlternativeDefaultLanguage (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraLinked (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraOpenStable (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModFakeInebriation (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraOverrideSpells (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraPreventRegeneratePower (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraSetVehicle (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleSetVignette (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandlePreventResurrection (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleMastery (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraForceWeather (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleEnableAltPower (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModGravity (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModSpellCategoryCooldown (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModRecoveryRate (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModRecoveryRateBySpellLabel (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModChargeRecoveryRate (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleShowConfirmationPrompt (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleOverridePetSpecs (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAllowUsingGameobjectsWhileMounted (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandlePlayScene (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleCreateAreaTrigger (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleLinkedSummon (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleSetFFAPvP (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModOverrideZonePVPType (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleBattlegroundPlayerPosition (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleTriggerSpellOnPowerAmount (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleTriggerSpellOnPowerPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleTriggerSpellOnExpire (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleStoreTeleportReturnPoint (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleMountRestrictions (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleCosmeticMounted (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModRequiredMountCapabilityFlags (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleSuppressItemPassiveEffectBySpellLabel (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandlePeriodicTriggerSpellAuraTick (Unit *target, Unit *caster) const |
| void | HandlePeriodicTriggerSpellWithValueAuraTick (Unit *target, Unit *caster) const |
| void | HandlePeriodicDamageAurasTick (Unit *target, Unit *caster) const |
| void | HandlePeriodicHealthLeechAuraTick (Unit *target, Unit *caster) const |
| void | HandlePeriodicHealthFunnelAuraTick (Unit *target, Unit *caster) const |
| void | HandlePeriodicHealAurasTick (Unit *target, Unit *caster) const |
| void | HandlePeriodicManaLeechAuraTick (Unit *target, Unit *caster) const |
| void | HandleObsModPowerAuraTick (Unit *target, Unit *caster) const |
| void | HandlePeriodicEnergizeAuraTick (Unit *target, Unit *caster) const |
| void | HandlePeriodicPowerBurnAuraTick (Unit *target, Unit *caster) const |
| float | CalcPeriodicCritChance (Unit const *caster) const |
| void | HandleBreakableCCAuraProc (AuraApplication *aurApp, ProcEventInfo &eventInfo) |
| void | HandleProcTriggerSpellAuraProc (AuraApplication *aurApp, ProcEventInfo &eventInfo) |
| void | HandleProcTriggerSpellWithValueAuraProc (AuraApplication *aurApp, ProcEventInfo &eventInfo) |
| void | HandleProcTriggerDamageAuraProc (AuraApplication *aurApp, ProcEventInfo &eventInfo) |
| void | HandleAuraPvpTalents (AuraApplication const *auraApp, uint8 mode, bool apply) const |
| void | HandleAuraActAsControlZone (AuraApplication const *aurApp, uint8 mode, bool apply) const |
Static Public Member Functions | |
| static Optional< SpellEffectValue > | CalculateEstimatedAmount (Unit const *caster, Unit *target, SpellInfo const *spellInfo, SpellEffectInfo const &spellEffectInfo, SpellEffectValue amount, uint8 stack, AuraEffect const *aurEff) |
| static SpellEffectValue | CalculateEstimatedfTotalPeriodicAmount (Unit const *caster, Unit *target, SpellInfo const *spellInfo, SpellEffectInfo const &spellEffectInfo, SpellEffectValue amount, uint8 stack) |
Private Member Functions | |
| friend | Aura::~Aura () |
| ~AuraEffect () | |
| AuraEffect (Aura *base, SpellEffectInfo const &spellEfffectInfo, SpellEffectValue const *baseAmount, Unit *caster) | |
| float | GetCritChanceFor (Unit const *caster, Unit const *target) const |
Private Attributes | |
| Aura *const | m_base |
| SpellInfo const *const | m_spellInfo |
| SpellEffectInfo const & | m_effectInfo |
| SpellModifier * | m_spellmod |
| SpellEffectValue const | m_baseAmount |
| SpellEffectValue | _amount |
| Optional< SpellEffectValue > | _estimatedAmount |
| int32 | _periodicTimer |
| int32 | _period |
| uint32 | _ticksDone |
| bool | m_canBeRecalculated |
| bool | m_isPeriodic |
Friends | |
| class | Unit |
| void | Aura::_InitEffects (uint32 effMask, Unit *caster, SpellEffectValue const *baseAmount) |
Definition at line 29 of file SpellAuraEffects.h.
|
private |
|
private |
Definition at line 752 of file SpellAuraEffects.cpp.
References m_spellmod.
|
explicitprivate |
Definition at line 739 of file SpellAuraEffects.cpp.
References _amount, CalculateAmount(), CalculatePeriodic(), and CalculateSpellMod().
| void AuraEffect::ApplySpellMod | ( | Unit * | target, |
| bool | apply, | ||
| AuraEffect const * | triggeredBy = nullptr |
||
| ) |
Definition at line 1190 of file SpellAuraEffects.cpp.
References Player::AddSpellMod(), EFFECT_0, EFFECT_1, EFFECT_2, EFFECT_3, EFFECT_4, Unit::GetAppliedAuras(), Aura::GetAuraEffects(), GetBase(), Aura::GetCasterGUID(), Aura::GetEffect(), BaseEntity::GetGUID(), GetMiscValue(), GetSpellInfo(), Aura::GetSpellInfo(), BaseEntity::GetTypeId(), SpellInfo::IsAffectedBySpellMod(), SpellInfo::IsAffectedBySpellMods(), Aura::IsPassive(), Aura::IsPermanent(), m_spellmod, Points, PointsIndex0, PointsIndex1, PointsIndex2, PointsIndex3, PointsIndex4, Object::ToPlayer(), and TYPEID_PLAYER.
Referenced by HandleEffect().
| float AuraEffect::CalcPeriodicCritChance | ( | Unit const * | caster | ) | const |
Definition at line 6263 of file SpellAuraEffects.cpp.
References GetBase(), GetSpellInfo(), WorldObject::GetSpellModOwner(), and Unit::SpellCritChanceDone().
Referenced by GetCritChanceFor().
| SpellEffectValue AuraEffect::CalculateAmount | ( | Unit * | caster | ) |
Definition at line 780 of file SpellAuraEffects.cpp.
References _estimatedAmount, CalculateEstimatedAmount(), SpellEffectInfo::CalcValue(), Aura::CallScriptEffectCalcAmountHandlers(), Unit::CountPctFromMaxHealth(), GetAmount(), Unit::GetAuraEffectsByType(), GetAuraType(), GetBase(), GetCasterGUID(), Map::GetDifficultyID(), GetEffIndex(), GetEstimatedAmount(), GetId(), WorldObject::GetMap(), GetMiscValueB(), Unit::GetMountCapability(), Aura::GetOwner(), GetRemainingTicks(), GetSpellEffectInfo(), GetSpellInfo(), Aura::GetStackAmount(), GetTotalTicks(), m_baseAmount, m_canBeRecalculated, m_effectInfo, m_spellInfo, SpellEffectInfo::MaxValue, SpellEffectInfo::MinValue, SpellInfo::ProcFlags, sDB2Manager, SPELL_ATTR10_ROLLING_PERIODIC, SPELL_AURA_DAMAGE_SHIELD, SPELL_AURA_MANA_SHIELD, SPELL_AURA_MOD_CONFUSE, SPELL_AURA_MOD_FEAR, SPELL_AURA_MOD_ROOT, SPELL_AURA_MOD_ROOT_2, SPELL_AURA_MOD_STUN, SPELL_AURA_MOUNTED, SPELL_AURA_OBS_MOD_HEALTH, SPELL_AURA_OBS_MOD_POWER, SPELL_AURA_PERIODIC_DAMAGE, SPELL_AURA_PERIODIC_DAMAGE_PERCENT, SPELL_AURA_PERIODIC_ENERGIZE, SPELL_AURA_PERIODIC_HEAL, SPELL_AURA_PERIODIC_HEALTH_FUNNEL, SPELL_AURA_PERIODIC_LEECH, SPELL_AURA_PERIODIC_MANA_LEECH, SPELL_AURA_PERIODIC_WEAPON_PERCENT_DAMAGE, SPELL_AURA_POWER_BURN, SPELL_AURA_PROC_TRIGGER_DAMAGE, SPELL_AURA_SCHOOL_ABSORB, SPELL_AURA_SHOW_CONFIRMATION_PROMPT_WITH_DIFFICULTY, SPELL_AURA_TRANSFORM, Unit::SpellAbsorbBonusDone(), Unit::SpellAbsorbBonusTaken(), SuppressPointsStacking, and Object::ToUnit().
Referenced by AuraEffect(), and spell_dh_consume_soul_vengeance_lesser::CalcHealingFromDamageTaken().
| Optional< SpellEffectValue > AuraEffect::CalculateEstimatedAmount | ( | Unit const * | caster, |
| SpellEffectValue | amount | ||
| ) | const |
Definition at line 899 of file SpellAuraEffects.cpp.
References CalculateEstimatedAmount(), GetBase(), GetSpellEffectInfo(), GetSpellInfo(), and UNIT_AURA_TYPE.
|
static |
Definition at line 880 of file SpellAuraEffects.cpp.
References SpellEffectInfo::ApplyAuraName, DOT, SpellEffectInfo::EffectAttributes, EnumFlag< T >::HasFlag(), SPELL_AURA_PERIODIC_DAMAGE, SPELL_AURA_PERIODIC_HEAL, SPELL_AURA_PERIODIC_LEECH, Unit::SpellDamageBonusDone(), Unit::SpellHealingBonusDone(), and SuppressPointsStacking.
Referenced by CalculateAmount(), CalculateEstimatedAmount(), CalculateEstimatedfTotalPeriodicAmount(), spell_warl_unstable_affliction::HandleDispel(), and spell_pri_expiation::HandleHitTarget().
|
static |
Definition at line 907 of file SpellAuraEffects.cpp.
References SpellEffectInfo::ApplyAuraPeriod, Aura::CalcMaxDuration(), CalculateEstimatedAmount(), WorldObject::GetSpellModOwner(), SpellInfo::HasAttribute(), SpellInfo::IsChanneled(), Unit::m_unitData, WorldObject::ModSpellDurationTime(), Period, SPELL_ATTR5_EXTRA_INITIAL_PERIOD, SPELL_ATTR5_SPELL_HASTE_AFFECTS_PERIODIC, and SPELL_ATTR8_MELEE_HASTE_AFFECTS_PERIODIC.
| void AuraEffect::CalculatePeriodic | ( | Unit * | caster, |
| bool | resetPeriodicTimer = true, |
||
| bool | load = false |
||
| ) |
Definition at line 964 of file SpellAuraEffects.cpp.
References _period, _periodicTimer, _ticksDone, SpellEffectInfo::ApplyAuraPeriod, Player::ApplySpellMod(), Aura::CallScriptEffectCalcPeriodicHandlers(), GetAuraType(), GetBase(), Aura::GetDuration(), Aura::GetMaxDuration(), GetSpellEffectInfo(), GetSpellInfo(), WorldObject::GetSpellModOwner(), SpellInfo::HasAttribute(), SpellInfo::IsChanneled(), m_isPeriodic, m_spellInfo, Unit::m_unitData, WorldObject::ModSpellDurationTime(), Period, ResetPeriodic(), SPELL_ATTR5_EXTRA_INITIAL_PERIOD, SPELL_ATTR5_SPELL_HASTE_AFFECTS_PERIODIC, SPELL_ATTR8_MELEE_HASTE_AFFECTS_PERIODIC, SPELL_AURA_OBS_MOD_HEALTH, SPELL_AURA_OBS_MOD_POWER, SPELL_AURA_PERIODIC_DAMAGE, SPELL_AURA_PERIODIC_DAMAGE_PERCENT, SPELL_AURA_PERIODIC_DUMMY, SPELL_AURA_PERIODIC_ENERGIZE, SPELL_AURA_PERIODIC_HEAL, SPELL_AURA_PERIODIC_HEALTH_FUNNEL, SPELL_AURA_PERIODIC_LEECH, SPELL_AURA_PERIODIC_MANA_LEECH, SPELL_AURA_PERIODIC_TRIGGER_SPELL, SPELL_AURA_PERIODIC_TRIGGER_SPELL_FROM_CLIENT, SPELL_AURA_PERIODIC_TRIGGER_SPELL_WITH_VALUE, and SPELL_AURA_POWER_BURN.
Referenced by AuraEffect(), spell_shadowfang_keep_haunting_spirits::HandleUpdatePeriodic(), spell_stratholme_haunting_phantoms::HandleUpdatePeriodic(), and spell_zuldrak_scourge_disguise_instability::HandleUpdatePeriodic().
| void AuraEffect::CalculateSpellMod | ( | ) |
Definition at line 1038 of file SpellAuraEffects.cpp.
References AsUnderlyingType(), CalculatePct(), Aura::CallScriptEffectCalcSpellModHandlers(), AuraScript::DoEffectCalcSpellMod, GetAmount(), GetAmountAsInt(), GetAuraType(), GetBase(), GetId(), GetMiscValue(), GetMiscValueB(), GetSpellEffectInfo(), m_spellmod, MAX_SPELLMOD, SpellModifier::op, SPELL_AURA_ADD_FLAT_MODIFIER, SPELL_AURA_ADD_FLAT_MODIFIER_BY_SPELL_LABEL, SPELL_AURA_ADD_PCT_MODIFIER, SPELL_AURA_ADD_PCT_MODIFIER_BY_SPELL_LABEL, SPELLMOD_END, TC_LOG_ERROR, and SpellModifier::type.
Referenced by AuraEffect(), and ChangeAmount().
|
inline |
Definition at line 77 of file SpellAuraEffects.h.
| void AuraEffect::ChangeAmount | ( | SpellEffectValue | newAmount, |
| bool | mark = true, |
||
| bool | onStackOrReapply = false, |
||
| AuraEffect const * | triggeredBy = nullptr |
||
| ) |
Definition at line 1094 of file SpellAuraEffects.cpp.
References _amount, AURA_EFFECT_HANDLE_CHANGE_AMOUNT, AURA_EFFECT_HANDLE_REAPPLY, AURA_REMOVE_NONE, CalculateSpellMod(), Aura::EffectTypeNeedsSendingAmount(), GetAmount(), GetApplicationList(), GetAuraType(), GetBase(), GetSpellInfo(), HandleEffect(), SetAmount(), Aura::SetNeedClientUpdateForTargets(), and SPELL_ATTR8_AURA_POINTS_ON_CLIENT.
Referenced by spell_monk_stagger::AddAndRefreshStagger(), spell_pri_sanctuary_absorb::CalcAbsorbAmount(), Unit::CalcAbsorbResist(), spell_gen_arena_drink::CalcAmount(), Unit::CalcHealAbsorb(), Unit::ChangeSeat(), HandleBreakableCCAuraProc(), spell_mage_touch_of_the_magi_aura::HandleProc(), spell_pri_shadow_mend_periodic_damage::HandleProc(), spell_pal_execution_sentence_aura::HandleProc(), spell_monk_stagger_debuff_aura::OnReapply(), spell_item_concentrated_mending::RecalculateHealAmount(), spell_gen_arena_drink::UpdatePeriodic(), and spell_gen_chains_of_ice::UpdatePeriodic().
| bool AuraEffect::CheckEffectProc | ( | AuraApplication * | aurApp, |
| ProcEventInfo & | eventInfo | ||
| ) | const |
Definition at line 1368 of file SpellAuraEffects.cpp.
References SpellPowerCost::Amount, Aura::CallScriptCheckEffectProcHandlers(), ProcEventInfo::GetActor(), SpellInfo::GetAllEffectsMechanicMask(), GetAuraType(), GetBase(), GetCasterGUID(), Spell::GetCastTime(), DamageInfo::GetDamage(), ProcEventInfo::GetDamageInfo(), Aura::GetDuration(), BaseEntity::GetGUID(), Unit::GetLastExtraAttackSpell(), Aura::GetMaxDuration(), GetMiscValue(), Spell::GetPowerCost(), ProcEventInfo::GetProcSpell(), SpellInfo::GetSchoolMask(), GetSpellEffectInfo(), ProcEventInfo::GetSpellInfo(), GetSpellInfo(), SpellInfo::HasAttribute(), SPELL_ATTR0_CU_CAN_CRIT, SPELL_AURA_MECHANIC_IMMUNITY, SPELL_AURA_MOD_CASTING_SPEED, SPELL_AURA_MOD_CONFUSE, SPELL_AURA_MOD_FEAR, SPELL_AURA_MOD_MECHANIC_RESISTANCE, SPELL_AURA_MOD_POWER_COST_SCHOOL, SPELL_AURA_MOD_POWER_COST_SCHOOL_PCT, SPELL_AURA_MOD_ROOT, SPELL_AURA_MOD_SCHOOL_MASK_DAMAGE_FROM_CASTER, SPELL_AURA_MOD_SPELL_CRIT_CHANCE, SPELL_AURA_MOD_SPELL_DAMAGE_FROM_CASTER, SPELL_AURA_MOD_STUN, SPELL_AURA_PROC_TRIGGER_SPELL, SPELL_AURA_PROC_TRIGGER_SPELL_WITH_VALUE, SPELL_AURA_REFLECT_SPELLS_SCHOOL, SPELL_AURA_TRANSFORM, SPELL_EFFECT_ADD_EXTRA_ATTACKS, sSpellMgr, SpellEffectInfo::TriggerSpell, and UI64LIT.
|
inline |
Definition at line 60 of file SpellAuraEffects.h.
Referenced by AuraApplication::_HandleEffect(), spell_monk_stagger::Absorb(), spell_monk_stagger::AbsorbMagic(), spell_monk_stagger::AddAndRefreshStagger(), spell_the_lich_king_necrotic_plague_jump_aura::AfterDispel(), spell_mage_living_bomb_periodic::AfterRemove(), spell_mage_touch_of_the_magi_aura::AfterRemove(), spell_pal_execution_sentence_aura::AfterRemove(), spell_pri_sanctuary_absorb::CalcAbsorbAmount(), Unit::CalcAbsorbResist(), Unit::CalcHealAbsorb(), spell_dh_consume_soul_vengeance_lesser::CalcHealingFromDamageTaken(), spell_mage_wildfire_crit::CalculateAmount(), spell_jormungars_paralytic_toxin::CalculateAmount(), CalculateAmount(), spell_warr_overpowering_finish::CalculateDamage(), CalculateSpellMod(), spell_dh_soul_furnace_conduit::CalculateSpellMod(), ChangeAmount(), spell_dh_chaos_theory::ChaosTheory(), spell_dru_gore::CheckEffectProc(), spell_dru_galactic_guardian::CheckEffectProc(), spell_hun_bullseye::CheckEffectProc(), spell_warr_tactician::CheckEffectProc(), spell_sha_elemental_weapons::CheckEnchantments(), spell_item_echoing_blades::CheckFanOfKnivesCounter(), spell_mage_fingers_of_frost::CheckFrostboltProc(), spell_mage_fingers_of_frost::CheckFrozenOrbProc(), spell_item_highfathers_machination::CheckHealth(), spell_monk_open_palm_strikes::CheckProc(), spell_pal_art_of_war::CheckProc(), spell_pal_awakening::CheckProc(), spell_pal_divine_purpose::CheckProc(), spell_soulbind_sulfuric_emission::CheckProc(), spell_dru_sudden_ambush::CheckProc(), spell_dk_frost_fever_proc::CheckProc(), spell_dru_omen_of_clarity_restoration::CheckProc(), spell_warl_shard_instability::CheckProc(), spell_pri_epiphany::CheckProc(), spell_pri_holy_10_1_class_set_2pc::CheckProc(), spell_dh_shattered_souls_devourer::CheckProc(), spell_dru_luxuriant_soil::CheckProc(), spell_evo_burnout::CheckProc(), spell_hun_lock_and_load::CheckProc(), spell_hun_windrunner_quiver::CheckProc(), spell_pri_master_the_darkness::CheckProc(), spell_sha_voltaic_blaze_talent::CheckProc(), spell_warr_strategist::CheckProc(), spell_warr_thunder_blast_aura::CheckProc(), spell_mage_improved_scorch::CheckProc(), spell_pri_twist_of_fate::CheckProc(), spell_sha_aftershock::CheckProc(), spell_sha_mastery_elemental_overload::CheckProc(), spell_sha_natures_guardian::CheckProc(), spell_sha_lava_surge::CheckProcChance(), spell_sha_item_t18_elemental_4p_bonus::DiminishHaste(), spell_yogg_saron_brain_link::spell_yogg_saron_brain_link_AuraScript::DummyTick(), spell_mage_ethereal_blink_triggered::FilterTargets(), spell_mage_cauterize_AuraScript::HandleAbsorb(), spell_warl_chaotic_energies::HandleAbsorb(), spell_item_shiver_venom_weapon_proc::HandleAdditionalProc(), spell_pri_crystalline_reflection::HandleAfterAbsorb(), HandleAuraIncreaseBaseHealthPercent(), HandleAuraLinked(), HandleAuraModAttackPower(), HandleAuraModAttackPowerPercent(), HandleAuraModBaseResistancePCT(), HandleAuraModCritPct(), HandleAuraModIncreaseBaseManaPercent(), HandleAuraModIncreaseEnergy(), HandleAuraModIncreaseEnergyPercent(), HandleAuraModIncreaseHealthPercent(), HandleAuraModIncreaseMaxHealth(), HandleAuraModMaxPower(), HandleAuraModMaxPowerPct(), HandleAuraModRangedAttackPower(), HandleAuraModRangedAttackPowerPercent(), HandleAuraModResistance(), HandleAuraModStat(), HandleBreakableCCAuraProc(), spell_rog_cloaked_in_shadows::HandleCloakedInShadows(), spell_warr_rumbling_earth::HandleCooldownReduction(), spell_dh_cycle_of_hatred::HandleCycleOfHatred(), spell_warl_deaths_embrace_impl::HandleDamageOrHealingCalculation(), spell_warl_unstable_affliction::HandleDispel(), spell_pri_shadow_mend_periodic_damage::HandleDummyTick(), spell_general_vezax_saronite_vapors::spell_general_vezax_saronite_vapors_AuraScript::HandleEffectApply(), spell_pri_dark_indulgence::HandleEffectHit(), spell_pri_mind_devourer::HandleEffectHitTarget(), spell_mandokir_bloodletting::HandleEffectPeriodic(), spell_anubarak_leeching_swarm::HandleEffectPeriodic(), spell_general_vezax_mark_of_the_faceless::spell_general_vezax_mark_of_the_faceless_AuraScript::HandleEffectPeriodic(), spell_dru_yseras_gift::HandleEffectPeriodic(), spell_brutallus_burn::HandleEffectPeriodicUpdate(), spell_kalecgos_curse_of_boundless_agony::HandleEffectPeriodicUpdate(), spell_pal_fist_of_justice::HandleEffectProc(), spell_pri_surge_of_light::HandleEffectProc(), spell_dk_permafrost::HandleEffectProc(), spell_dru_moonless_night::HandleEffectProc(), spell_mage_tempest_barrier::HandleEffectProc(), spell_sha_tidal_waves::HandleEffectProc(), spell_dh_cycle_of_binding::HandleEffectProc(), spell_pri_vampiric_embrace::HandleEffectProc(), spell_sha_ancestral_guidance::HandleEffectProc(), spell_pri_searing_light::HandleEffectProc(), spell_dh_soulmonger::HandleEffectProc(), spell_mage_molten_fury::HandleEffectProc(), spell_pri_binding_heals::HandleEffectProc(), spell_pri_heavens_wrath::HandleEffectProc(), spell_pri_mental_decay::HandleEffectProc(), spell_dh_darkglare_boon::HandleEffectRemove(), spell_marwyn_shared_suffering::spell_marwyn_shared_suffering_AuraScript::HandleEffectRemove(), spell_pri_expiation::HandleHitTarget(), HandleModAttackSpeed(), HandleModBaseResistance(), HandleModBonusArmor(), HandleModCastingSlowNoStack(), HandleModCastingSpeed(), HandleModChargeRecoveryRate(), HandleModManaCostPct(), HandleModMeleeHaste(), HandleModMeleeHasteNoRegen(), HandleModMeleeRangedCastingHaste(), HandleModMeleeRangedCastingSlowNoStack(), HandleModMeleeRangedHaste(), HandleModMeleeRangedHasteNoRegen(), HandleModMeleeSlowNoStack(), HandleModPercentStat(), HandleModRangedHaste(), HandleModRangedHasteNoRegen(), HandleModRangedSlowNoStack(), HandleModRecoveryRate(), HandleModRecoveryRateBySpellLabel(), HandleModSpellCritChance(), HandleModSpellHitChance(), HandleModSpellSlowNoStack(), HandleObsModPowerAuraTick(), spell_pri_trail_of_light::HandleOnProc(), HandleOverrideAttackPowerBySpellPower(), HandleOverrideSpellPowerByAttackPower(), spell_nethermancer_sepethrea_inferno::HandlePeriodic(), spell_dru_elunes_favored_proc::HandlePeriodic(), spell_dru_tiger_dash_aura::HandlePeriodic(), spell_warr_bloodsurge::HandlePeriodic(), HandlePeriodicDamageAurasTick(), HandlePeriodicTriggerSpellWithValueAuraTick(), spell_hun_hunting_party::HandleProc(), spell_deathwhisper_vampiric_might::HandleProc(), spell_oculus_temporal_rift::HandleProc(), spell_dru_t3_8p_bonus::HandleProc(), spell_dru_t10_balance_4p_bonus::HandleProc(), spell_gen_blood_reserve::HandleProc(), spell_hun_roar_of_sacrifice::HandleProc(), spell_hun_t29_2p_marksmanship_bonus::HandleProc(), spell_item_frozen_shadoweave::HandleProc(), spell_item_necrotic_touch::HandleProc(), spell_item_pet_healing::HandleProc(), spell_item_swift_hand_justice_dummy::HandleProc(), spell_mage_ignite::HandleProc(), spell_mage_touch_of_the_magi_aura::HandleProc(), spell_pal_light_s_beacon::HandleProc(), spell_pal_t8_2p_bonus::HandleProc(), spell_warl_seed_of_corruption_generic::HandleProc(), spell_warr_brutal_vitality::HandleProc(), spell_warr_critical_thinking::HandleProc(), spell_warr_trauma::HandleProc(), spell_torghast_blade_of_the_lifetaker::HandleProc(), spell_torghast_touch_of_the_unseen::HandleProc(), spell_pal_t30_2p_protection_bonus::HandleProc(), spell_rog_grand_melee::HandleProc(), spell_rog_restless_blades::HandleProc(), spell_pri_shadow_mend_periodic_damage::HandleProc(), spell_warl_seed_of_corruption_dummy_aura::HandleProc(), spell_pal_execution_sentence_aura::HandleProc(), spell_hun_rejuvenating_wind::HandleProc(), spell_pri_voice_of_harmony::HandleProc(), spell_dru_astral_smolder::HandleProc(), spell_pri_t10_heal_2p_bonus::HandleProc(), spell_sha_t8_elemental_4p_bonus::HandleProc(), spell_sha_t9_elemental_4p_bonus::HandleProc(), spell_sha_t10_restoration_4p_bonus::HandleProc(), spell_pri_dispersing_light::HandleProc(), spell_warl_siphon_life::HandleProc(), spell_warr_anger_management_proc::HandleProc(), spell_rog_deepening_shadows::HandleProc(), spell_dru_power_of_the_archdruid::HandleProc(), spell_dru_ursocs_fury::HandleProc(), spell_hun_master_marksman::HandleProc(), spell_pri_divine_aegis::HandleProc(), spell_warr_frothing_berserker::HandleProc(), spell_pri_deaths_torment::HandleProc(), spell_sha_stormflurry::HandleProc(), HandleProcTriggerSpellWithValueAuraProc(), spell_pal_shield_of_vengeance::HandleRemove(), spell_mage_arcane_explosion::HandleReverberate(), HandleShieldBlockValue(), HandleShieldBlockValuePercent(), HandleTriggerSpellOnHealthPercent(), HandleTriggerSpellOnPowerAmount(), HandleTriggerSpellOnPowerPercent(), Unit::IsHighestExclusiveAuraEffect(), spell_evo_essence_burst_trigger::Load(), spell_hun_wilderness_medicine::Load(), spell_valanar_kinetic_bomb_absorb::OnAbsorb(), spell_shade_soul_channel::OnApply(), spell_the_lich_king_necrotic_plague_jump_aura::OnDispel(), spell_anhuur_divine_reckoning::OnPeriodic(), spell_xt002_gravity_bomb_aura::OnPeriodic(), spell_illidari_nightlord_shadow_inferno::OnPeriodic(), spell_monk_stagger_damage_aura::OnPeriodicDamage(), spell_pri_mind_devourer_buff::OnPrecast(), spell_blood_queen_essence_of_the_blood_queen::OnProc(), spell_sha_ascendance_restoration::OnProcHeal(), spell_monk_stagger_debuff_aura::OnReapply(), spell_sindragosa_instability::OnRemove(), spell_the_lich_king_necrotic_plague_jump_aura::OnRemove(), spell_warr_kill_or_be_killed_warrior::OnRemove(), spell_the_lich_king_infest::OnUpdate(), spell_moragg_optic_link::OnUpdate(), spell_warl_burning_rush_aura::PeriodicTick(), spell_dru_shooting_stars::ProcessDoT(), spell_item_echoing_blades::ReduceCounter(), spell_hun_surging_shots::RollProc(), spell_sha_molten_thunder_sundering::RollReset(), Unit::SpellHealingBonusDone(), Unit::SpellHealingBonusTaken(), spell_pri_atonement::TriggerAtonementHealOnTargets(), spell_sha_artifact_gathering_storms::TriggerBuff(), Unit::UpdateAdvFlyingSpeed(), Unit::UpdateAdvFlyingSpeed(), Player::UpdateArmor(), spell_gen_arena_drink::UpdatePeriodic(), spell_gen_chains_of_ice::UpdatePeriodic(), and Unit::UpdateStatBuffMod().
|
inline |
Definition at line 59 of file SpellAuraEffects.h.
Referenced by spell_monk_burst_of_life::AfterRemove(), spell_pri_sanctuary_absorb::CalcAbsorbAmount(), Unit::CalcAbsorbResist(), Unit::CalcHealAbsorb(), CalculateSpellMod(), spell_dh_soul_furnace_conduit::CalculateSpellMod(), spell_dh_shattered_destiny::CheckFurySpent(), spell_dk_dark_simulacrum_buff::CheckProc(), spell_sha_swirling_maelstrom::EnergizeMaelstrom(), spell_dru_eclipse_dummy::HandleApply(), HandleAuraControlVehicle(), HandleAuraDummy(), HandleAuraModFakeInebriation(), HandleAuraModIncreaseHealth(), HandleAuraModSkill(), HandleAuraMounted(), HandleChannelDeathItem(), spell_evo_causality_pyre::HandleCooldown(), spell_warr_rumbling_earth::HandleCooldownReduction(), spell_shadowfang_keep_haunting_spirits::HandleDummyTick(), spell_pri_lasting_words::HandleEffectHit(), spell_pal_crusader_might::HandleEffectProc(), spell_pal_righteous_protector::HandleEffectProc(), spell_pal_zeal::HandleEffectProc(), spell_sha_item_t10_elemental_2p_bonus::HandleEffectProc(), spell_hun_scrappy::HandleEffectProc(), spell_warl_cull_the_weak::HandleEffectProc(), spell_warr_tenderize::HandleEffectProc(), spell_pri_eternal_sanctity::HandleEffectProc(), spell_pri_painful_punishment::HandleEffectProc(), HandleForceReaction(), spell_pri_expiation::HandleHitTarget(), HandleModDamageDone(), HandleModInvisibility(), HandleModInvisibilityDetect(), HandleModPowerCost(), HandleModRating(), HandleModSpellCategoryCooldown(), HandleModStealth(), HandleModStealthDetect(), HandleModStealthLevel(), HandleModTargetResistance(), spell_gen_running_wild_aura::HandleMount(), spell_dh_soul_sigils::HandleOnProc(), spell_pri_answered_prayers::HandleOnProc(), spell_pri_ultimate_penitence_channel::HandlePeriodic(), spell_volkaal_lingering_nausea::HandlePeriodic(), HandlePeriodicDamageAurasTick(), HandlePeriodicEnergizeAuraTick(), HandlePeriodicHealAurasTick(), HandlePeriodicHealthFunnelAuraTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicManaLeechAuraTick(), HandlePeriodicPowerBurnAuraTick(), spell_rog_venomous_wounds::HandleProc(), spell_item_trinket_stack::spell_item_trinket_stack_AuraScript::HandleProc(), spell_pri_divine_procession::HandleProc(), spell_pal_steed_of_liberty::HandleProc(), spell_sha_deeply_rooted_elements::HandleProc(), spell_sha_t10_elemental_4p_bonus::HandleProc(), spell_pri_empowered_renew::HandleProc(), spell_dru_power_of_the_archdruid::HandleProc(), spell_pri_empyreal_blaze::HandleProc(), spell_warr_unbridled_ferocity::HandleProc(), spell_dh_shattered_destiny::HandleProc(), spell_pri_deaths_torment::HandleProc(), HandleProcTriggerDamageAuraProc(), spell_dru_eclipse_aura::HandleRemoved(), spell_dh_shattered_souls_devourer::HandleSoulsGathering(), spell_dh_soul_fragments_damage_taken_tracker::Load(), Scripts::EasternKingdoms::StormwindCity::spell_stormwind_harbor_to_boralus_transition::OnApply(), spell_pilgrims_bounty_a_serving_of::OnApply(), spell_mark_of_kazrogal_aura::OnPeriodic(), spell_the_lurker_below_spout_periodic::OnPeriodic(), spell_kaelthas_nether_vapor_lightning::OnPeriodic(), spell_priestess_alun_za_energy_regen::OnPeriodic(), spell_pilgrims_bounty_a_serving_of::OnRemove(), spell_xt002_searing_light_spawn_life_spark::OnRemove(), spell_xt002_gravity_bomb_aura::OnRemove(), spell_yogg_saron_nondescript::spell_yogg_saron_nondescript_AuraScript::OnRemove(), spell_claw_swipe_check::OnRemove(), spell_priestess_alun_za_molten_gold::OnRemove(), spell_ulduar_stone_grip::spell_ulduar_stone_grip_AuraScript::OnRemoveStun(), spell_sha_ashen_catalyst::ReduceLavaLashCooldown(), spell_pri_train_of_thought::ReducePenanceCooldown(), spell_pri_train_of_thought::ReducePowerWordShieldCooldown(), spell_dru_eclipse_ooc::Tick(), spell_dru_natures_grace::Trigger(), spell_sha_thorims_invocation_trigger::TriggerLightningSpell(), spell_dh_demonic::TriggerMetamorphosis(), and spell_warr_anger_management_proc::ValidateProc().
| template TC_GAME_API void AuraEffect::GetApplicationList | ( | Container & | applicationContainer | ) | const |
Definition at line 770 of file SpellAuraEffects.cpp.
References Aura::GetApplicationMap(), GetBase(), and GetEffIndex().
Referenced by ChangeAmount(), and Update().
|
inline |
Definition at line 58 of file SpellAuraEffects.h.
Referenced by AuraApplication::_HandleEffect(), Unit::_RegisterAuraEffect(), CalculateAmount(), CalculatePeriodic(), CalculateSpellMod(), ChangeAmount(), CheckEffectProc(), HandleArenaPreparation(), HandleAuraAllowFlight(), HandleAuraAllowTalentSwapping(), HandleAuraCanTurnWhileFalling(), HandleAuraEmpathy(), HandleAuraFeatherFall(), HandleAuraHover(), HandleAuraModAdvFlyingSpeed(), HandleAuraModDisarm(), HandleAuraModDmgImmunity(), HandleAuraModIncreaseFlightSpeed(), HandleAuraModOverridePowerDisplay(), HandleAuraModPowerDisplay(), HandleAuraModSchoolImmunity(), HandleAuraModSkill(), HandleAuraModStalked(), HandleAuraTrackStealthed(), HandleAuraUntrackable(), HandleAuraWaterWalk(), HandleBattlegroundPlayerPosition(), HandleComprehendLanguage(), HandleDisableInertia(), HandleEffect(), HandleForceMoveForward(), HandleIgnoreMovementForces(), HandleModAlternativeDefaultLanguage(), HandleModCastingSlowNoStack(), HandleModCastingSpeed(), HandleModMeleeHaste(), HandleModMeleeRangedCastingSlowNoStack(), HandleModMeleeSlowNoStack(), HandleModRangedSlowNoStack(), HandleModRequiredMountCapabilityFlags(), HandleModSpellSlowNoStack(), HandlePeriodicDamageAurasTick(), HandlePeriodicHealAurasTick(), HandleProc(), HandleProcTriggerSpellAuraProc(), HandleSetCantSwim(), PeriodicTick(), and Unit::SendPeriodicAuraLog().
|
inline |
Definition at line 42 of file SpellAuraEffects.h.
Referenced by ApplySpellMod(), spell_pri_sanctuary_absorb::CalcAbsorbAmount(), Unit::CalcAbsorbResist(), Unit::CalcHealAbsorb(), CalcPeriodicCritChance(), CalculateAmount(), CalculateEstimatedAmount(), CalculatePeriodic(), CalculateSpellMod(), WorldObject::CastSpell(), ChangeAmount(), CheckEffectProc(), GetApplicationList(), Unit::GetAuraEffect(), GetTargetList(), GetTotalTicks(), GetUnitConditionVariable(), HandleAuraDummy(), HandleAuraLinked(), HandleAuraModOverridePowerDisplay(), HandleAuraModPowerDisplay(), HandleAuraModShapeshift(), HandleAuraTransform(), HandleCreateAreaTrigger(), HandleEffect(), HandleEffect(), spell_reliquary_of_souls_aura_of_anger::HandleEffectPeriodicUpdate(), spell_pri_expiation::HandleHitTarget(), HandleLinkedSummon(), HandleObsModPowerAuraTick(), HandlePeriodicDamageAurasTick(), HandlePeriodicEnergizeAuraTick(), HandlePeriodicHealAurasTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicManaLeechAuraTick(), HandlePeriodicPowerBurnAuraTick(), HandlePeriodicTriggerSpellAuraTick(), HandlePeriodicTriggerSpellWithValueAuraTick(), HandleProc(), spell_sha_t10_elemental_4p_bonus::HandleProc(), HandleProcTriggerDamageAuraProc(), HandleProcTriggerSpellAuraProc(), HandleProcTriggerSpellWithValueAuraProc(), spell_dk_glyph_of_scourge_strike_script::HandleScriptEffect(), Unit::IsHighestExclusiveAuraEffect(), Unit::IsImmunedToAuraPeriodicTick(), Unit::MeleeDamageBonusDone(), spell_dh_fel_flame_fortification::OnApply(), spell_pri_mind_devourer_buff::OnPrecast(), spell_halion_marks::OnRemove(), PeriodicTick(), Spell::prepare(), Unit::SpellAbsorbBonusDone(), Unit::SpellCritChanceTaken(), Unit::SpellDamageBonusDone(), Unit::SpellHealingBonusDone(), spell_sha_thorims_invocation_trigger::TriggerLightningSpell(), and Update().
|
inline |
Definition at line 53 of file SpellAuraEffects.h.
Referenced by spell_sha_hailstorm::CalcCleaveMod(), and spell_warl_health_funnel::OnPeriodic().
|
inline |
Definition at line 40 of file SpellAuraEffects.h.
Referenced by Unit::CalcAbsorbResist(), WorldObject::CastSpell(), HandleAuraCloneCaster(), HandleAuraControlVehicle(), HandleAuraDummy(), HandleAuraLinked(), HandleAuraModFixate(), HandleAuraModTotalThreat(), HandleBindSight(), HandleChannelDeathItem(), HandleCharmConvert(), HandleCreateAreaTrigger(), HandleModCharm(), HandleModDetaunt(), HandleModPossess(), HandleModPossessPet(), spell_warr_kill_or_be_killed_target::HandleProc(), and HandleTriggerSpellOnExpire().
|
inline |
Definition at line 41 of file SpellAuraEffects.h.
Referenced by CalculateAmount(), CheckEffectProc(), Unit::GetUnitCriticalChanceTaken(), HandleAuraDummy(), HandleAuraLinked(), HandleAuraTransform(), HandleBattlegroundPlayerPosition(), HandleFeignDeath(), HandleObsModPowerAuraTick(), HandlePeriodicDamageAurasTick(), HandlePeriodicEnergizeAuraTick(), HandlePeriodicHealAurasTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicManaLeechAuraTick(), spell_dk_glyph_of_scourge_strike_script::HandleScriptEffect(), Unit::MeleeDamageBonusTaken(), Unit::SendPeriodicAuraLog(), Unit::SpellCritChanceTaken(), Unit::SpellDamageBonusTaken(), and Unit::SpellHealingBonusTaken().
Definition at line 1281 of file SpellAuraEffects.cpp.
References CalcPeriodicCritChance(), GetSpellInfo(), and Unit::SpellCritChanceTaken().
Referenced by HandlePeriodicDamageAurasTick(), HandlePeriodicHealAurasTick(), and HandlePeriodicHealthLeechAuraTick().
|
inline |
Definition at line 52 of file SpellAuraEffects.h.
Referenced by CalculateAmount(), Aura::CallScriptAfterEffectApplyHandlers(), Aura::CallScriptAfterEffectProcHandlers(), Aura::CallScriptAfterEffectRemoveHandlers(), Aura::CallScriptCalcDamageAndHealingHandlers(), Aura::CallScriptCheckEffectProcHandlers(), Aura::CallScriptEffectAbsorbHandlers(), Aura::CallScriptEffectAbsorbHandlers(), Aura::CallScriptEffectAfterAbsorbHandlers(), Aura::CallScriptEffectAfterAbsorbHandlers(), Aura::CallScriptEffectAfterManaShieldHandlers(), Aura::CallScriptEffectApplyHandlers(), Aura::CallScriptEffectCalcAmountHandlers(), Aura::CallScriptEffectCalcCritChanceHandlers(), Aura::CallScriptEffectCalcPeriodicHandlers(), Aura::CallScriptEffectCalcSpellModHandlers(), Aura::CallScriptEffectManaShieldHandlers(), Aura::CallScriptEffectPeriodicHandlers(), Aura::CallScriptEffectProcHandlers(), Aura::CallScriptEffectRemoveHandlers(), Aura::CallScriptEffectSplitHandlers(), Aura::CallScriptEffectUpdatePeriodicHandlers(), GetApplicationList(), GetTargetList(), HandleAuraActAsControlZone(), HandleAuraDummy(), HandleAuraModStat(), HandlePeriodicTriggerSpellAuraTick(), HandlePeriodicTriggerSpellWithValueAuraTick(), HandleProcTriggerSpellAuraProc(), HandleProcTriggerSpellWithValueAuraProc(), and spell_gen_mixology_bonus::SetBonusValueForEffect().
|
inline |
Definition at line 63 of file SpellAuraEffects.h.
Referenced by CalculateAmount().
|
inline |
Definition at line 51 of file SpellAuraEffects.h.
Referenced by Unit::CalcAbsorbResist(), Unit::CalcHealAbsorb(), CalculateAmount(), CalculateSpellMod(), HandleAuraActAsControlZone(), HandleAuraControlVehicle(), HandleAuraDummy(), HandleAuraModIncreaseFlightSpeed(), HandleAuraModShapeshift(), HandleAuraModStat(), HandleAuraMounted(), HandleAuraTransform(), HandleObsModPowerAuraTick(), HandlePeriodicDamageAurasTick(), HandlePeriodicEnergizeAuraTick(), HandlePeriodicHealAurasTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicManaLeechAuraTick(), HandlePeriodicTriggerSpellAuraTick(), HandlePeriodicTriggerSpellWithValueAuraTick(), spell_item_death_choice::HandleProc(), HandleProcTriggerDamageAuraProc(), HandleProcTriggerSpellAuraProc(), HandleProcTriggerSpellWithValueAuraProc(), spell_illidari_council_seal::OnRemove(), and Unit::SendPeriodicAuraLog().
|
inline |
Definition at line 57 of file SpellAuraEffects.h.
Referenced by ApplySpellMod(), Unit::CalcAbsorbResist(), Unit::CalcHealAbsorb(), SpellInfo::CalcPowerCost(), Unit::CalculateDisplayPowerType(), CalculateSpellMod(), CheckEffectProc(), spell_hun_roar_of_sacrifice::CheckProc(), Unit::GetMaxNegativeAuraModifierByMiscMask(), Unit::GetMaxNegativeAuraModifierByMiscValue(), Unit::GetMaxPositiveAuraModifierByMiscMask(), Unit::GetMaxPositiveAuraModifierByMiscValue(), Unit::GetTotalAuraModifierByMiscMask(), Unit::GetTotalAuraModifierByMiscValue(), Unit::GetTotalAuraMultiplierByMiscMask(), Unit::GetTotalAuraMultiplierByMiscValue(), HandleAuraActAsControlZone(), HandleAuraDummy(), HandleAuraForceWeather(), HandleAuraModBaseResistancePCT(), HandleAuraModFaction(), HandleAuraModIncreaseEnergy(), HandleAuraModIncreaseEnergyPercent(), HandleAuraModMaxPower(), HandleAuraModMaxPowerPct(), HandleAuraModOverridePowerDisplay(), HandleAuraModPowerDisplay(), HandleAuraModResistance(), HandleAuraModSchoolImmunity(), HandleAuraModShapeshift(), HandleAuraModSilence(), HandleAuraModSkill(), HandleAuraModStat(), HandleAuraMounted(), HandleAuraOverrideSpells(), HandleAuraPreventRegeneratePower(), HandleAuraSetVehicle(), HandleAuraTrackCreatures(), HandleAuraTransform(), HandleBattlegroundPlayerPosition(), HandleCosmeticMounted(), HandleCreateAreaTrigger(), HandleDetectAmore(), HandleEnableAltPower(), HandleForceReaction(), HandleLearnSpell(), HandleModBaseResistance(), HandleModChargeRecoveryRate(), HandleModDamageDone(), HandleModDamagePercentDone(), HandleModInvisibility(), HandleModInvisibilityDetect(), HandleModOverrideZonePVPType(), HandleModPercentStat(), HandleModPowerCost(), HandleModPowerRegen(), HandleModRating(), HandleModRatingPct(), HandleModRecoveryRateBySpellLabel(), HandleModRequiredMountCapabilityFlags(), HandleModResistancePercent(), HandleModSpellCategoryCooldown(), HandleModStatBonusPercent(), HandleModStealth(), HandleModStealthDetect(), HandleModStealthLevel(), HandleModTargetResistance(), HandleObsModPowerAuraTick(), HandlePeriodicEnergizeAuraTick(), HandlePeriodicManaLeechAuraTick(), HandlePeriodicPowerBurnAuraTick(), HandlePlayScene(), HandleSetVignette(), HandleShapeshiftBoosts(), HandleSuppressItemPassiveEffectBySpellLabel(), HandleTriggerSpellOnExpire(), HandleTriggerSpellOnHealthPercent(), HandleTriggerSpellOnPowerAmount(), HandleTriggerSpellOnPowerPercent(), Unit::MeleeDamageBonusDone(), Unit::MeleeDamageBonusTaken(), Unit::SpellBaseHealingBonusDone(), Unit::SpellCritChanceTaken(), Unit::SpellDamageBonusTaken(), Unit::SpellDamagePctDone(), Unit::SpellHealingBonusDone(), Unit::SpellHealingPctDone(), Player::UpdateArmor(), Unit::UpdateDamageDoneMods(), Unit::UpdateDamagePctDoneMods(), Player::UpdatePowerRegen(), and Unit::UpdateStatBuffMod().
|
inline |
Definition at line 56 of file SpellAuraEffects.h.
Referenced by CalculateAmount(), CalculateSpellMod(), Unit::GetUnitCriticalChanceTaken(), HandleModPowerCost(), HandleModRecoveryRateBySpellLabel(), HandleModTotalPercentStat(), HandlePhase(), HandlePhaseGroup(), HandleTriggerSpellOnPowerAmount(), HandleTriggerSpellOnPowerPercent(), Trinity::AbsorbAuraOrderPred::operator()(), and Unit::SpellCritChanceTaken().
|
inline |
Definition at line 54 of file SpellAuraEffects.h.
Referenced by spell_warr_charge_drop_fire_periodic::DropFireVisual(), spell_pri_expiation::HandleHitTarget(), and spell_igb_rocket_pack::HandleRemove().
|
inline |
Definition at line 65 of file SpellAuraEffects.h.
Referenced by spell_dreamwalker_decay_periodic_timer::DecayPeriodicTimer().
|
inline |
Definition at line 86 of file SpellAuraEffects.h.
Referenced by CalculateAmount(), and spell_marwyn_shared_suffering::spell_marwyn_shared_suffering_AuraScript::HandleEffectRemove().
|
inline |
Definition at line 105 of file SpellAuraEffects.h.
Referenced by Unit::CalcAbsorbResist(), CalculateAmount(), CalculateEstimatedAmount(), CalculatePeriodic(), CalculateSpellMod(), CheckEffectProc(), HandleAuraLinked(), HandleAuraModDispelImmunity(), HandleAuraModDmgImmunity(), HandleAuraModEffectImmunity(), HandleAuraModSchoolImmunity(), HandleAuraModStateImmunity(), HandleChannelDeathItem(), spell_garr_separation_anxiety::HandleDummyTick(), spell_majordomo_separation_anxiety::HandleDummyTick(), spell_chapter1_emblazon_runeblade::HandleEffectPeriodic(), HandleLinkedSummon(), HandleModMechanicImmunity(), HandleModMechanicImmunityMask(), spell_garothi_fel_bombardment_periodic::HandlePeriodic(), spell_oculus_ride_ruby_emerald_amber_drake_que::HandlePeriodic(), HandlePeriodicDamageAurasTick(), HandlePeriodicHealAurasTick(), HandlePeriodicHealthFunnelAuraTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicManaLeechAuraTick(), HandlePeriodicPowerBurnAuraTick(), spell_igb_periodic_trigger_with_power_cost::HandlePeriodicTick(), HandlePeriodicTriggerSpellAuraTick(), HandlePeriodicTriggerSpellWithValueAuraTick(), spell_putricide_ooze_tank_protection::HandleProc(), spell_torghast_blade_of_the_lifetaker::HandleProc(), spell_torghast_touch_of_the_unseen::HandleProc(), spell_torghast_poisonous_spores::HandleProc(), spell_item_sephuzs_secret::HandleProc(), spell_mage_ethereal_blink::HandleProc(), spell_mage_radiant_spark::HandleProc(), spell_rog_ruthlessness::HandleProc(), spell_pri_divinity::HandleProc(), HandleProcTriggerDamageAuraProc(), HandleProcTriggerSpellAuraProc(), HandleProcTriggerSpellWithValueAuraProc(), HandleShowConfirmationPrompt(), spell_halion_combustion_consumption_periodic::HandleTick(), spell_dru_wild_growth_aura::HandleTickUpdate(), spell_putricide_mutated_plague::HandleTriggerSpell(), HandleTriggerSpellOnExpire(), HandleTriggerSpellOnHealthPercent(), HandleTriggerSpellOnPowerAmount(), HandleTriggerSpellOnPowerPercent(), IsAffectingSpell(), Unit::IsImmunedToAuraPeriodicTick(), spell_anhuur_divine_reckoning::OnPeriodic(), spell_deathwhisper_dark_reckoning::OnPeriodic(), spell_the_lich_king_vile_spirits::OnPeriodic(), spell_moragg_ray::OnPeriodic(), spell_leotheras_the_blind_demon_link::OnPeriodic(), spell_broggok_poison_cloud::OnPeriodic(), spell_omor_the_unscarred_orbital_strike_whip::OnPeriodic(), spell_putricide_mutated_plague::OnRemove(), spell_wintergrasp_tenacity_refresh::OnRemove(), spell_gen_impatient_mind::OnRemove(), spell_item_talisman_of_ascendance::OnRemove(), spell_item_jom_gabbar::OnRemove(), spell_item_battle_trance::OnRemove(), spell_item_world_queller_focus::OnRemove(), spell_item_brutal_kinship::OnRemove(), spell_mother_shahraz_saber_lash::OnTrigger(), spell_mother_shahraz_generic_periodic::OnTrigger(), spell_muru_negative_energy_periodic::PeriodicTick(), spell_jormungars_slime_pool::PeriodicTick(), spell_grobbulus_poison_cloud::PeriodicTick(), spell_tar_blaze::PeriodicTick(), spell_gen_aura_of_fear::PeriodicTick(), spell_wintergrasp_tenacity_refresh::Refresh(), spell_hun_bleak_arrows::ReplaceAutoShot(), spell_hun_bleak_arrows::RestoreAutoShot(), SpellInfo::SpellCancelsAuraEffect(), and spell_item_amalgams_seventh_spine_mana_restore::TriggerManaRestoration().
|
inline |
Definition at line 50 of file SpellAuraEffects.h.
Referenced by spell_monk_stagger::AddAndRefreshStagger(), ApplySpellMod(), Unit::CalcAbsorbResist(), Unit::CalcArmorReducedDamage(), CalcPeriodicCritChance(), CalculateAmount(), CalculateEstimatedAmount(), CalculatePeriodic(), ChangeAmount(), Player::CheckAttackFitToAuraRequirement(), CheckEffectProc(), GetCritChanceFor(), Unit::GetHighestExclusiveSameEffectSpellGroupValue(), HandleAuraActAsControlZone(), HandleAuraModEffectImmunity(), HandleAuraModSchoolImmunity(), HandleAuraModShapeshift(), HandleAuraMounted(), HandleAuraTransform(), HandleCreateAreaTrigger(), HandleObsModPowerAuraTick(), HandlePeriodicDamageAurasTick(), HandlePeriodicEnergizeAuraTick(), HandlePeriodicHealAurasTick(), HandlePeriodicHealthFunnelAuraTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicManaLeechAuraTick(), HandlePeriodicPowerBurnAuraTick(), HandleProcTriggerDamageAuraProc(), HandleProcTriggerSpellAuraProc(), HandleProcTriggerSpellWithValueAuraProc(), spell_dk_glyph_of_scourge_strike_script::HandleScriptEffect(), HandleStoreTeleportReturnPoint(), Player::IsAlwaysDetectableFor(), Unit::IsHighestExclusiveAuraEffect(), Unit::IsImmunedToAuraPeriodicTick(), Spell::prepare(), Unit::SendPeriodicAuraLog(), SpellInfo::SpellCancelsAuraEffect(), Unit::SpellCritChanceDone(), Unit::SpellCritChanceTaken(), and Player::UpdateExpertise().
| template TC_GAME_API void AuraEffect::GetTargetList | ( | Container & | targetContainer | ) | const |
Definition at line 758 of file SpellAuraEffects.cpp.
References Aura::GetApplicationMap(), GetBase(), and GetEffIndex().
|
inline |
Definition at line 85 of file SpellAuraEffects.h.
Referenced by spell_mimiron_rapid_burst::spell_mimiron_rapid_burst_AuraScript::HandleDummyTick(), spell_muru_darkness::HandleEffectPeriodic(), spell_rupture::spell_rupture_AuraScript::HandleEffectPeriodic(), spell_mage_ray_of_frost_aura::HandleEffectPeriodic(), spell_brutallus_burn::HandleEffectPeriodicUpdate(), spell_kalecgos_curse_of_boundless_agony::HandleEffectPeriodicUpdate(), spell_reliquary_of_souls_aura_of_anger::HandleEffectPeriodicUpdate(), spell_heartsbane_triad_jagged_nettles::HandlePeriodic(), spell_lord_and_lady_waycrest_vitality_transfer::HandlePeriodic(), spell_waycrest_manor_wildfire::HandlePeriodic(), spell_cragmaw_larva_metamorphosis::HandlePeriodic(), spell_bronjahm_soulstorm_visual::HandlePeriodicTick(), spell_igb_rocket_pack::HandleRemove(), spell_mimiron_weld::spell_mimiron_weld_AuraScript::HandleTick(), spell_dru_wild_growth_aura::HandleTickUpdate(), spell_ymiron_the_fallen_king_power_periodic::OnPeriodic(), spell_ymiron_the_fallen_king_bane_periodic_AuraScript::OnPeriodic(), spell_baron_geddon_inferno::OnPeriodic(), spell_vexallus_energy_feedback::OnPeriodic(), spell_kalecgos_curse_of_boundless_agony::OnPeriodic(), spell_janalai_fire_bomb::OnPeriodic(), spell_brewfest_ram::OnPeriodic(), spell_black_morass_corrupt_medivh::OnPeriodic(), spell_black_morass_time_rift_periodic::OnPeriodic(), spell_azhiccar_invading_shriek_aura::OnPeriodic(), spell_the_lich_king_vile_spirits::OnPeriodic(), spell_the_lich_king_soul_rip::OnPeriodic(), spell_hodir_flash_freeze::OnPeriodic(), spell_hodir_biting_cold_area_aura::OnPeriodic(), spell_keleseth_frost_tomb_periodic::OnPeriodic(), spell_moragg_optic_link::OnPeriodic(), spell_murmur_murmurs_touch::OnPeriodic(), spell_illidan_demon_transform2::OnPeriodic(), spell_ahune_summoning_rhyme_aura::OnPeriodic(), spell_broggok_poison_cloud::OnPeriodic(), spell_kaelthas_gaining_power::OnPeriodic(), spell_anduin_wrynn_march_of_the_damned::OnPeriodic(), spell_illidari_nightlord_shadow_inferno::OnPeriodic(), spell_rain_of_bones::spell_rain_of_bones_AuraScript::OnTrigger(), spell_the_lich_king_infest::OnUpdate(), spell_moragg_optic_link::OnUpdate(), spell_headless_horseman_summoning_rhyme_aura::PeriodicTick(), spell_muru_negative_energy_periodic::PeriodicTick(), spell_jormungars_slime_pool::PeriodicTick(), spell_trollgore_corpse_explode::PeriodicTick(), spell_blood_queen_pact_of_the_darkfallen_dmg::PeriodicTick(), spell_sindragosa_ice_tomb_trap::PeriodicTick(), spell_dreamwalker_mana_void::PeriodicTick(), spell_grobbulus_poison_cloud::PeriodicTick(), spell_violet_hold_portal_periodic::PeriodicTick(), spell_gen_remove_on_full_health::PeriodicTick(), spell_shade_of_medivh_mana_regen::PeriodicTick(), spell_azhiccar_energy_controller::PeriodicTick(), spell_edna_energize::PeriodicTick(), spell_skarmorak_fortified_shell_energize::PeriodicTick(), spell_lord_stormsong_energize::PeriodicTick(), spell_sporecaller_zancha_festering_harvest::PeriodicTick(), spell_item_concentrated_mending::RecalculateHealAmount(), spell_janalai_flame_breath_aura::SummonFlamePatch(), and spell_gen_arena_drink::UpdatePeriodic().
| uint32 AuraEffect::GetTotalTicks | ( | ) | const |
Definition at line 939 of file SpellAuraEffects.cpp.
References _period, GetBase(), Aura::GetMaxDuration(), SpellInfo::HasAttribute(), m_spellInfo, and SPELL_ATTR5_EXTRA_INITIAL_PERIOD.
Referenced by spell_gen_gift_of_naaru::CalculateAmount(), CalculateAmount(), spell_cragmaw_larva_metamorphosis::HandlePeriodic(), spell_broggok_poison_cloud::OnPeriodic(), spell_grobbulus_poison_cloud::PeriodicTick(), and Update().
| void AuraEffect::HandleAllowUsingGameobjectsWhileMounted | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6492 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), Unit::HasAuraType(), PLAYER_LOCAL_FLAG_CAN_USE_OBJECTS_MOUNTED, Player::RemovePlayerLocalFlag(), Player::SetPlayerLocalFlag(), SPELL_AURA_ALLOW_USING_GAMEOBJECTS_WHILE_MOUNTED, and Object::ToPlayer().
| void AuraEffect::HandleArenaPreparation | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4954 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, AURA_STATE_ARENA_PREPARATION, GetAuraType(), AuraApplication::GetTarget(), Unit::HasAuraType(), Unit::ModifyAuraState(), Unit::RemoveUnitFlag(), Unit::SetUnitFlag(), and UNIT_FLAG_PREPARATION.
| void AuraEffect::HandleAuraActAsControlZone | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6784 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, GameObjectTemplate::displayId, GameObjectTemplate::entry, QuaternionData::fromOrientation(), GAMEOBJECT_TYPE_CONTROL_ZONE, GetEffIndex(), GetId(), GetMiscValue(), Position::GetOrientation(), Position::GetPosition(), GetSpellInfo(), AuraApplication::GetTarget(), GO_SUMMON_TIMED_OR_CORPSE_DESPAWN, Unit::RemoveGameObject(), sObjectMgr, WorldObject::SummonGameObject(), TC_LOG_WARN, and GameObjectTemplate::type.
| void AuraEffect::HandleAuraAllowFlight | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2861 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), Unit::GetMotionMaster(), AuraApplication::GetTarget(), Unit::HasAuraType(), Unit::IsGravityDisabled(), MotionMaster::MoveFall(), Unit::SetCanFly(), Unit::SetCanTransitionBetweenSwimAndFly(), and SPELL_AURA_MOD_INCREASE_MOUNTED_FLIGHT_SPEED.
| void AuraEffect::HandleAuraAllowTalentSwapping | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2733 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, GetAuraType(), AuraApplication::GetTarget(), Unit::HasAuraType(), Unit::RemoveUnitFlag2(), Unit::SetUnitFlag2(), Object::ToPlayer(), and UNIT_FLAG2_ALLOW_CHANGING_TALENTS.
| void AuraEffect::HandleAuraCanTurnWhileFalling | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2994 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), AuraApplication::GetTarget(), Unit::HasAuraType(), and Unit::SetCanTurnWhileFalling().
| void AuraEffect::HandleAuraCloneCaster | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2317 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetCaster(), Unit::GetDisplayId(), Unit::GetNativeDisplayId(), AuraApplication::GetTarget(), Unit::RemoveUnitFlag2(), Unit::SetDisplayId(), Unit::SetUnitFlag2(), and UNIT_FLAG2_MIRROR_IMAGE.
| void AuraEffect::HandleAuraControlVehicle | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Such auras are applied from a caster(=player) to a vehicle. This has been verified using spell #49256
Definition at line 3362 of file SpellAuraEffects.cpp.
References Unit::_EnterVehicle(), Unit::_ExitVehicle(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT, AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, Creature::DespawnOrUnsummon(), GetAmountAsInt(), GetCaster(), BaseEntity::GetGUID(), GetId(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Unit::GetVehicleKit(), Unit::HasAuraTypeWithCaster(), Unit::IsVehicle(), Unit::Kill(), Unit::RemoveAurasDueToSpell(), Vehicle::RemovePassenger(), Vehicle::RemovePendingEventsForPassenger(), SPELL_AURA_CONTROL_VEHICLE, Object::ToCreature(), and TYPEID_UNIT.
| void AuraEffect::HandleAuraDisableGravity | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3249 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), and HandleAuraDisableGravity().
Referenced by HandleAuraDisableGravity(), HandleAuraModRootAndDisableGravity(), and HandleAuraModStunAndDisableGravity().
| void AuraEffect::HandleAuraDummy | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4996 of file SpellAuraEffects.cpp.
References Player::AddPetAura(), ThreatManager::AddThreat(), Unit::ApplySpellImmune(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_REAL, AURA_EFFECT_HANDLE_REAPPLY, AURA_REMOVE_BY_EXPIRE, Unit::CanHaveThreatList(), CastSpellExtraArgsInit::CastDifficulty, WorldObject::CastSpell(), GENDER_FEMALE, GetAmountAsInt(), Unit::GetAura(), GetBase(), Aura::GetCastDifficulty(), GetCaster(), GetCasterGUID(), Aura::GetCastId(), GetEffIndex(), Unit::GetGender(), Unit::GetGuardianPet(), GetId(), WorldObject::GetMap(), GetMiscValue(), Unit::GetMotionMaster(), AuraApplication::GetRemoveMode(), Aura::GetSpellInfo(), AuraApplication::GetTarget(), Unit::GetThreatManager(), BaseEntity::GetTypeId(), SpellInfo::Id, IMMUNITY_MECHANIC, Map::IsBattleground(), Player::LeaveBattleground(), m_spellInfo, MotionMaster::MoveFall(), CastSpellExtraArgsInit::OriginalCaster, CastSpellExtraArgsInit::OriginalCastId, WorldObject::PlayDirectSound(), WorldObject::PlayDistanceSound(), Unit::RemoveAurasDueToSpell(), Player::RemovePetAura(), roll_chance(), Player::SetChampioningFaction(), Aura::SetCharges(), Object::SetEntry(), Aura::SetStackAmount(), SPELLFAMILY_DEATHKNIGHT, SPELLFAMILY_DRUID, SPELLFAMILY_GENERIC, SPELLFAMILY_MAGE, SPELLFAMILY_PALADIN, SPELLFAMILY_PRIEST, SPELLFAMILY_SHAMAN, SpellInfo::SpellFamilyName, sSpellMgr, SpellInfo::StackAmount, Object::ToPlayer(), TRIGGERED_FULL_MASK, CastSpellExtraArgsInit::TriggerFlags, and TYPEID_PLAYER.
| void AuraEffect::HandleAuraEmpathy | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 5365 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, CREATURE_TYPE_BEAST, GetAuraType(), Unit::GetCreatureType(), AuraApplication::GetTarget(), Unit::HasAuraType(), Object::RemoveDynamicFlag(), Object::SetDynamicFlag(), and UNIT_DYNFLAG_SPECIALINFO.
| void AuraEffect::HandleAuraFeatherFall | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2901 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), Position::GetPositionZ(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Unit::HasAuraType(), Player::SetFallInformation(), Unit::SetFeatherFall(), Object::ToPlayer(), and TYPEID_PLAYER.
| void AuraEffect::HandleAuraForceWeather | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6358 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, WorldObject::GetMap(), GetMiscValue(), AuraApplication::GetTarget(), WorldObject::GetZoneId(), Player::SendDirectMessage(), Map::SendZoneWeather(), and Object::ToPlayer().
| void AuraEffect::HandleAuraGhost | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 1871 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, AuraApplication::GetTarget(), GHOST_VISIBILITY_ALIVE, GHOST_VISIBILITY_GHOST, Unit::HasAuraType(), WorldObject::m_serverSideVisibility, WorldObject::m_serverSideVisibilityDetect, PLAYER_FLAGS_GHOST, Player::RemovePlayerFlag(), SERVERSIDE_VISIBILITY_GHOST, Player::SetPlayerFlag(), FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::SetValue(), SPELL_AURA_GHOST, and Object::ToPlayer().
| void AuraEffect::HandleAuraHover | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Sets movementflags
Definition at line 2922 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), AuraApplication::GetTarget(), Unit::HasAuraType(), and Unit::SetHover().
| void AuraEffect::HandleAuraIncreaseBaseHealthPercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4234 of file SpellAuraEffects.cpp.
References Unit::ApplyStatPctModifier(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, BASE_PCT, GetAmount(), AuraApplication::GetTarget(), Unit::GetTotalAuraMultiplier(), Unit::SetStatPctModifier(), SPELL_AURA_MOD_BASE_HEALTH_PCT, and UNIT_MOD_HEALTH.
| void AuraEffect::HandleAuraLinked | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 5459 of file SpellAuraEffects.cpp.
References CastSpellExtraArgs::AddSpellMod(), AURA_EFFECT_HANDLE_REAL, AURA_EFFECT_HANDLE_REAPPLY, WorldObject::CastSpell(), GetAmount(), Unit::GetAura(), GetBase(), GetCaster(), GetCasterGUID(), BaseEntity::GetGUID(), GetSpellEffectInfo(), Aura::GetStackAmount(), AuraApplication::GetTarget(), m_spellInfo, SpellInfo::NeedsToBeTriggeredByCaster(), Unit::RemoveAura(), SPELLVALUE_BASE_POINT0, sSpellMgr, and SpellEffectInfo::TriggerSpell.
| void AuraEffect::HandleAuraModAdvFlyingSpeed | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3518 of file SpellAuraEffects.cpp.
References ADV_FLYING_ADD_IMPULSE_MAX_SPEED, ADV_FLYING_AIR_FRICTION, ADV_FLYING_BANKING_RATE, ADV_FLYING_LIFT_COEFFICIENT, ADV_FLYING_MAX_VEL, ADV_FLYING_OVER_MAX_DECELERATION, ADV_FLYING_PITCHING_RATE_DOWN, ADV_FLYING_PITCHING_RATE_UP, AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, GetAuraType(), AuraApplication::GetTarget(), SPELL_AURA_MOD_ADV_FLYING_ADD_IMPULSE_MAX_SPEED, SPELL_AURA_MOD_ADV_FLYING_AIR_FRICTION, SPELL_AURA_MOD_ADV_FLYING_BANKING_RATE, SPELL_AURA_MOD_ADV_FLYING_LIFT_COEF, SPELL_AURA_MOD_ADV_FLYING_MAX_VEL, SPELL_AURA_MOD_ADV_FLYING_OVER_MAX_DECELERATION, SPELL_AURA_MOD_ADV_FLYING_PITCHING_RATE_DOWN, SPELL_AURA_MOD_ADV_FLYING_PITCHING_RATE_UP, and Unit::UpdateAdvFlyingSpeed().
| void AuraEffect::HandleAuraModAttackPower | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4794 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, FlatNegative, FlatPositive, GetAmount(), AuraApplication::GetTarget(), Unit::HandleAttackPowerModifier(), and Melee.
| void AuraEffect::HandleAuraModAttackPowerPercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4817 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), AuraApplication::GetTarget(), Unit::HandleAttackPowerModifier(), Melee, and Pct.
| void AuraEffect::HandleAuraModBaseResistancePCT | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3688 of file SpellAuraEffects.cpp.
References Unit::ApplyStatPctModifier(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, BASE_PCT, GetAmount(), GetMiscValue(), AuraApplication::GetTarget(), Unit::GetTotalAuraMultiplierByMiscMask(), BaseEntity::GetTypeId(), Unit::IsPet(), MAX_SPELL_SCHOOL, Unit::SetStatPctModifier(), SPELL_AURA_MOD_BASE_RESISTANCE_PCT, SPELL_SCHOOL_MASK_NORMAL, SPELL_SCHOOL_NORMAL, TYPEID_PLAYER, UNIT_MOD_ARMOR, and UNIT_MOD_RESISTANCE_START.
| void AuraEffect::HandleAuraModBlockPercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4410 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateBlockPercentage().
| void AuraEffect::HandleAuraModCritPct | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4474 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Unit::m_baseSpellCritChance, Object::ToPlayer(), TYPEID_PLAYER, Player::UpdateAllWeaponDependentCritAuras(), and Player::UpdateSpellCritChance().
| void AuraEffect::HandleAuraModDecreaseSpeed | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3473 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AuraApplication::GetTarget(), MOVE_FLIGHT, MOVE_FLIGHT_BACK, MOVE_RUN, MOVE_RUN_BACK, MOVE_SWIM, MOVE_SWIM_BACK, and Unit::UpdateSpeed().
| void AuraEffect::HandleAuraModDisarm | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2451 of file SpellAuraEffects.cpp.
References Player::_ApplyWeaponDamage(), Player::ApplyItemDependentAuras(), AURA_EFFECT_HANDLE_REAL, BASE_ATTACK, EQUIPMENT_SLOT_MAINHAND, EQUIPMENT_SLOT_OFFHAND, Player::GetAttackBySlot(), GetAuraType(), Creature::GetCurrentEquipmentId(), Player::GetItemByPos(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), INVENTORY_SLOT_BAG_0, Unit::IsInFeralForm(), MAX_ATTACK, OFF_ATTACK, RANGED_ATTACK, SPELL_AURA_MOD_DISARM, SPELL_AURA_MOD_DISARM_OFFHAND, SPELL_AURA_MOD_DISARM_RANGED, Object::ToCreature(), Object::ToPlayer(), TYPEID_PLAYER, TYPEID_UNIT, UNIT_FLAG2_DISARM_OFFHAND, UNIT_FLAG2_DISARM_RANGED, UNIT_FLAG_DISARMED, Unit::UpdateDamagePhysical(), and Player::UpdateWeaponDependentAuras().
| void AuraEffect::HandleAuraModDispelImmunity | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3659 of file SpellAuraEffects.cpp.
References SpellInfo::ApplyAllSpellImmunitiesTo(), AURA_EFFECT_HANDLE_REAL, GetSpellEffectInfo(), AuraApplication::GetTarget(), and m_spellInfo.
| void AuraEffect::HandleAuraModDmgImmunity | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3637 of file SpellAuraEffects.cpp.
References SpellInfo::ApplyAllSpellImmunitiesTo(), AURA_EFFECT_HANDLE_REAL, ThreatManager::EvaluateSuppressed(), GetAuraType(), GetSpellEffectInfo(), AuraApplication::GetTarget(), Unit::GetThreatManager(), Unit::HasAuraType(), m_spellInfo, Unit::RemoveUnitFlag(), Unit::SetUnitFlag(), SPELL_AURA_SCHOOL_IMMUNITY, and UNIT_FLAG_IMMUNE.
| void AuraEffect::HandleAuraModDodgePercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4397 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateDodgePercentage().
| void AuraEffect::HandleAuraModEffectImmunity | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3577 of file SpellAuraEffects.cpp.
References SpellInfo::ApplyAllSpellImmunitiesTo(), AURA_EFFECT_HANDLE_REAL, GetSpellEffectInfo(), GetSpellInfo(), AuraApplication::GetTarget(), Player::InBattleground(), m_spellInfo, sOutdoorPvPMgr, StealthOrInvis, and Object::ToPlayer().
| void AuraEffect::HandleAuraModExpertise | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3962 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, BASE_ATTACK, AuraApplication::GetTarget(), BaseEntity::GetTypeId(), OFF_ATTACK, Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateExpertise().
| void AuraEffect::HandleAuraModFaction | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 5387 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, GetMiscValue(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Unit::RemoveUnitFlag(), Unit::RestoreFaction(), Unit::SetFaction(), Unit::SetUnitFlag(), TYPEID_PLAYER, and UNIT_FLAG_PLAYER_CONTROLLED.
| void AuraEffect::HandleAuraModFakeInebriation | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 5592 of file SpellAuraEffects.cpp.
References Player::ApplyModFakeDrunkValue(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, GetAmountAsInt(), AuraApplication::GetTarget(), Object::ToPlayer(), and Player::UpdateInvisibilityDrunkDetect().
| void AuraEffect::HandleAuraModFixate | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3127 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, Unit::CanHaveThreatList(), ThreatManager::ClearFixate(), ThreatManager::FixateTarget(), GetCaster(), AuraApplication::GetTarget(), Unit::GetThreatManager(), and Unit::IsAlive().
| void AuraEffect::HandleAuraModIncreaseBaseManaPercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4250 of file SpellAuraEffects.cpp.
References Unit::ApplyStatPctModifier(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, BASE_PCT, GetAmount(), AuraApplication::GetTarget(), Unit::GetTotalAuraMultiplier(), Unit::SetStatPctModifier(), SPELL_AURA_MOD_BASE_MANA_PCT, and UNIT_MOD_MANA.
| void AuraEffect::HandleAuraModIncreaseEnergy | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4156 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), GetMiscValue(), AuraApplication::GetTarget(), Unit::HandleStatFlatModifier(), TOTAL_VALUE, and UNIT_MOD_POWER_START.
| void AuraEffect::HandleAuraModIncreaseEnergyPercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4167 of file SpellAuraEffects.cpp.
References Unit::ApplyStatPctModifier(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), Unit::GetMaxPower(), GetMiscValue(), Unit::GetPower(), AuraApplication::GetTarget(), Unit::GetTotalAuraMultiplier(), Unit::ModifyPower(), Unit::SetStatPctModifier(), SPELL_AURA_MOD_INCREASE_ENERGY_PERCENT, SPELL_AURA_MOD_MAX_POWER_PCT, TOTAL_PCT, and UNIT_MOD_POWER_START.
| void AuraEffect::HandleAuraModIncreaseFlightSpeed | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Update ability to fly
Someone should clean up these hacks and remove it from this function. It doesn't even belong here.
Definition at line 3427 of file SpellAuraEffects.cpp.
References Unit::ApplySpellImmune(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_CHANGE_AMOUNT_SEND_FOR_CLIENT_MASK, AURA_EFFECT_HANDLE_REAL, AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), GetId(), Unit::GetMotionMaster(), Unit::GetMountDisplayId(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Unit::HasAuraEffect(), Unit::HasAuraType(), IMMUNITY_MECHANIC, Unit::IsGravityDisabled(), MECHANIC_POLYMORPH, MOVE_FLIGHT, MotionMaster::MoveFall(), Unit::SetCanFly(), Unit::SetCanTransitionBetweenSwimAndFly(), Unit::SetMountDisplayId(), SPELL_AURA_FLY, SPELL_AURA_MOD_INCREASE_MOUNTED_FLIGHT_SPEED, TYPEID_PLAYER, and Unit::UpdateSpeed().
| void AuraEffect::HandleAuraModIncreaseHealth | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4120 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmountAsInt(), Unit::GetHealth(), AuraApplication::GetTarget(), Unit::HandleStatFlatModifier(), Unit::ModifyHealth(), TOTAL_VALUE, and UNIT_MOD_HEALTH.
| void AuraEffect::HandleAuraModIncreaseHealthPercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4209 of file SpellAuraEffects.cpp.
References Unit::ApplyStatPctModifier(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, CalculatePct(), GetAmount(), Unit::GetHealth(), Unit::GetHealthPct(), Unit::GetMaxHealth(), AuraApplication::GetTarget(), Unit::GetTotalAuraMultiplier(), Unit::SetHealth(), Unit::SetStatPctModifier(), SPELL_AURA_MOD_INCREASE_HEALTH_PERCENT, SPELL_AURA_MOD_INCREASE_HEALTH_PERCENT2, TOTAL_PCT, and UNIT_MOD_HEALTH.
| void AuraEffect::HandleAuraModIncreaseMaxHealth | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4137 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, Unit::CountPctFromMaxHealth(), GetAmount(), Unit::GetHealth(), Unit::GetHealthPct(), AuraApplication::GetTarget(), Unit::HandleStatFlatModifier(), Unit::SetHealth(), TOTAL_VALUE, and UNIT_MOD_HEALTH.
| void AuraEffect::HandleAuraModIncreaseMountedSpeed | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3422 of file SpellAuraEffects.cpp.
References HandleAuraModIncreaseSpeed().
| void AuraEffect::HandleAuraModIncreaseSpeed | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3412 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AuraApplication::GetTarget(), MOVE_RUN, and Unit::UpdateSpeed().
Referenced by HandleAuraModIncreaseMountedSpeed().
| void AuraEffect::HandleAuraModIncreaseSwimSpeed | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3463 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AuraApplication::GetTarget(), MOVE_SWIM, and Unit::UpdateSpeed().
| void AuraEffect::HandleAuraModMaxPower | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4062 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), GetMiscValue(), AuraApplication::GetTarget(), Unit::HandleStatFlatModifier(), TOTAL_VALUE, and UNIT_MOD_POWER_START.
| void AuraEffect::HandleAuraModMaxPowerPct | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4310 of file SpellAuraEffects.cpp.
References Unit::ApplyStatPctModifier(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), Unit::GetMaxPower(), GetMiscValue(), Unit::GetPower(), AuraApplication::GetTarget(), Unit::GetTotalAuraMultiplier(), BaseEntity::IsPlayer(), Unit::ModifyPower(), Unit::SetStatPctModifier(), SPELL_AURA_MOD_INCREASE_ENERGY_PERCENT, SPELL_AURA_MOD_MAX_POWER_PCT, TOTAL_PCT, and UNIT_MOD_POWER_START.
| void AuraEffect::HandleAuraModMinimumSpeedRate | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3500 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), MOVE_RUN, and Unit::UpdateSpeed().
| void AuraEffect::HandleAuraModNoActions | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2607 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), Unit::HasAuraType(), InterruptSpellsWithPreventionTypeOnAuraApply(), Unit::RemoveUnitFlag2(), Unit::SetUnitFlag2(), SPELL_AURA_MOD_NO_ACTIONS, SPELL_PREVENTION_TYPE_NO_ACTIONS, and UNIT_FLAG2_NO_ACTIONS.
| void AuraEffect::HandleAuraModOverridePowerDisplay | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4288 of file SpellAuraEffects.cpp.
References PowerDisplayEntry::ActualType, AURA_EFFECT_HANDLE_REAL, ObjectGuid::Empty, GetAuraType(), GetBase(), GetMiscValue(), Unit::GetPowerIndex(), AuraApplication::GetTarget(), PowerDisplayEntry::ID, MAX_POWERS_PER_CLASS, Unit::RemoveAurasByType(), Unit::SetOverrideDisplayPowerId(), and sPowerDisplayStore.
| void AuraEffect::HandleAuraModPacify | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2558 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, AuraApplication::GetTarget(), Unit::HasAuraType(), InterruptSpellsWithPreventionTypeOnAuraApply(), Unit::RemoveUnitFlag(), Unit::SetUnitFlag(), SPELL_AURA_MOD_PACIFY, SPELL_AURA_MOD_PACIFY_SILENCE, SPELL_PREVENTION_TYPE_PACIFY, and UNIT_FLAG_PACIFIED.
Referenced by HandleAuraModPacifyAndSilence().
| void AuraEffect::HandleAuraModPacifyAndSilence | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
@workaround
Definition at line 2581 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, AuraApplication::GetTarget(), HandleAuraModPacify(), HandleAuraModSilence(), Unit::HasAuraType(), SpellInfo::Id, m_spellInfo, Unit::RemoveUnitFlag(), Unit::SetUnitFlag(), SPELL_AURA_MOD_PACIFY_SILENCE, and UNIT_FLAG_NON_ATTACKABLE.
| void AuraEffect::HandleAuraModParryPercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4384 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateParryPercentage().
| void AuraEffect::HandleAuraModPowerDisplay | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4274 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL_OR_REAPPLY_MASK, ObjectGuid::Empty, GetAuraType(), GetBase(), GetMiscValue(), AuraApplication::GetTarget(), MAX_POWERS, Unit::RemoveAurasByType(), and Unit::UpdateDisplayPower().
| void AuraEffect::HandleAuraModRangedAttackPower | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4804 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, CLASSMASK_WAND_USERS, FlatNegative, FlatPositive, GetAmount(), Unit::GetClassMask(), AuraApplication::GetTarget(), Unit::HandleAttackPowerModifier(), and Ranged.
| void AuraEffect::HandleAuraModRangedAttackPowerPercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4827 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, CLASSMASK_WAND_USERS, GetAmount(), Unit::GetClassMask(), AuraApplication::GetTarget(), Unit::HandleAttackPowerModifier(), Pct, and Ranged.
| void AuraEffect::HandleAuraModRegenInterrupt | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4423 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), BaseEntity::IsPlayer(), POWER_MANA, Object::ToPlayer(), and Player::UpdatePowerRegen().
| void AuraEffect::HandleAuraModResistance | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3676 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), GetMiscValue(), AuraApplication::GetTarget(), Unit::HandleStatFlatModifier(), MAX_SPELL_SCHOOL, SPELL_SCHOOL_NORMAL, TOTAL_VALUE, and UNIT_MOD_RESISTANCE_START.
| void AuraEffect::HandleAuraModRoot | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3182 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), Unit::SetControlled(), and UNIT_STATE_ROOT.
| void AuraEffect::HandleAuraModRootAndDisableGravity | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3222 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), HandleAuraDisableGravity(), Unit::SetControlled(), and UNIT_STATE_ROOT.
| void AuraEffect::HandleAuraModScale | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2309 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_SEND_FOR_CLIENT_MASK, AuraApplication::GetTarget(), and Unit::RecalculateObjectScale().
Referenced by spell_kelthuzad_chains::HandleApply(), and spell_kelthuzad_chains::HandleRemove().
| void AuraEffect::HandleAuraModSchoolImmunity | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3604 of file SpellAuraEffects.cpp.
References SpellInfo::ApplyAllSpellImmunitiesTo(), AURA_EFFECT_HANDLE_REAL, ThreatManager::EvaluateSuppressed(), GetAuraType(), GetMiscValue(), GetSpellEffectInfo(), GetSpellInfo(), AuraApplication::GetTarget(), Unit::GetThreatManager(), Unit::HasAuraType(), m_spellInfo, Unit::RemoveAurasWithInterruptFlags(), Unit::RemoveUnitFlag(), Unit::SetUnitFlag(), SPELL_ATTR1_IMMUNITY_PURGES_EFFECT, SPELL_ATTR2_FAIL_ON_ALL_TARGETS_IMMUNE, SPELL_AURA_DAMAGE_IMMUNITY, SPELL_SCHOOL_MASK_NORMAL, StealthOrInvis, and UNIT_FLAG_IMMUNE.
| void AuraEffect::HandleAuraModShapeshift | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 1945 of file SpellAuraEffects.cpp.
References Player::_ApplyWeaponDamage(), Player::AddTemporarySpell(), ASSERT, AURA_EFFECT_HANDLE_REAL_OR_REAPPLY_MASK, BASE_ATTACK, Unit::CanUseAttackType(), WorldObject::CastSpell(), CLASS_DRUID, ObjectGuid::Empty, EQUIPMENT_SLOT_MAINHAND, WorldPackets::Movement::Force, FORM_AQUATIC_FORM, FORM_BEAR_FORM, FORM_CAT_FORM, FORM_DIRE_BEAR_FORM, FORM_FLIGHT_FORM, FORM_FLIGHT_FORM_EPIC, FORM_MOONKIN_FORM, FORM_NONE, FORM_TRAVEL_FORM, FORM_TREE_OF_LIFE, Unit::GetAuraEffect(), GetBase(), Unit::GetClass(), SpellShapeshiftFormEntry::GetFlags(), GetId(), Player::GetItemByPos(), GetMiscValue(), Unit::GetModelForForm(), AuraApplication::GetRemoveMode(), Unit::GetShapeshiftForm(), GetSpellInfo(), AuraApplication::GetTarget(), Unit::GetTransformSpell(), BaseEntity::GetTypeId(), HandleShapeshiftBoosts(), Unit::HasAuraType(), INVENTORY_SLOT_BAG_0, Unit::IsMounted(), Unit::IsPolymorphed(), MAX_SHAPESHIFT_SPELLS, SpellShapeshiftFormEntry::PresetSpellID, Unit::RemoveAurasByShapeShift(), Unit::RemoveAurasByType(), Unit::RemoveAurasDueToSpell(), Unit::RemoveAurasWithInterruptFlags(), Player::RemoveTemporarySpell(), Unit::RestoreDisplayId(), Unit::SetDisplayId(), Unit::SetShapeshiftForm(), Shapeshifting, SPELL_AURA_MOD_INCREASE_SPEED, SPELL_AURA_MOD_SHAPESHIFT, SPELLFAMILY_DRUID, sSpellMgr, sSpellShapeshiftFormStore, Stance, Object::ToPlayer(), TYPEID_PLAYER, and Unit::UpdateDisplayPower().
| void AuraEffect::HandleAuraModSilence | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2531 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, Unit::GetAuraEffectsByType(), GetMiscValue(), AuraApplication::GetTarget(), InterruptSpellsWithPreventionTypeOnAuraApply(), Unit::ReplaceAllSilencedSchoolMask(), Unit::SetSilencedSchoolMask(), SPELL_AURA_MOD_PACIFY_SILENCE, SPELL_AURA_MOD_SILENCE, and SPELL_PREVENTION_TYPE_SILENCE.
Referenced by HandleAuraModPacifyAndSilence().
| void AuraEffect::HandleAuraModSkill | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2715 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_SKILL, GetAmountAsInt(), GetAuraType(), GetMiscValue(), AuraApplication::GetTarget(), Player::ModifySkillBonus(), SKILL_DEFENSE, SPELL_AURA_MOD_SKILL_TALENT, and Object::ToPlayer().
| void AuraEffect::HandleAuraModStalked | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2671 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), AuraApplication::GetTarget(), Unit::HasAuraType(), BaseEntity::IsInWorld(), Object::RemoveDynamicFlag(), Object::SetDynamicFlag(), UNIT_DYNFLAG_TRACK_UNIT, and Unit::UpdateObjectVisibility().
| void AuraEffect::HandleAuraModStat | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3794 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), GetEffIndex(), Unit::GetHighestExclusiveSameEffectSpellGroupValue(), GetId(), GetMiscValue(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Unit::HandleStatFlatModifier(), Unit::IsPet(), MAX_STATS, SPELL_AURA_MOD_STAT, STAT_STRENGTH, TC_LOG_ERROR, TOTAL_VALUE, TYPEID_PLAYER, UNIT_MOD_STAT_START, and Unit::UpdateStatBuffMod().
| void AuraEffect::HandleAuraModStateImmunity | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3595 of file SpellAuraEffects.cpp.
References SpellInfo::ApplyAllSpellImmunitiesTo(), AURA_EFFECT_HANDLE_REAL, GetSpellEffectInfo(), AuraApplication::GetTarget(), and m_spellInfo.
| void AuraEffect::HandleAuraModStun | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3170 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, ThreatManager::EvaluateSuppressed(), AuraApplication::GetTarget(), Unit::GetThreatManager(), Unit::SetControlled(), and UNIT_STATE_STUNNED.
| void AuraEffect::HandleAuraModStunAndDisableGravity | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3234 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, ThreatManager::EvaluateSuppressed(), AuraApplication::GetTarget(), Unit::GetThreatManager(), HandleAuraDisableGravity(), Unit::SetControlled(), and UNIT_STATE_STUNNED.
| void AuraEffect::HandleAuraModTotalThreat | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3085 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, GetCaster(), AuraApplication::GetTarget(), Unit::GetThreatManager(), BaseEntity::GetTypeId(), Unit::IsAlive(), TYPEID_PLAYER, and ThreatManager::UpdateMyTempModifiers().
| void AuraEffect::HandleAuraModUseNormalSpeed | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3488 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), MOVE_FLIGHT, MOVE_RUN, MOVE_SWIM, and Unit::UpdateSpeed().
| void AuraEffect::HandleAuraModWeaponCritPercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4436 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), Object::ToPlayer(), and Player::UpdateAllWeaponDependentCritAuras().
| void AuraEffect::HandleAuraMounted | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2752 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_CHANGE_AMOUNT_SEND_FOR_CLIENT_MASK, AURA_EFFECT_HANDLE_REAL, AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, WorldObject::CastSpell(), ObjectMgr::ChooseDisplayId(), CreatureModel::CreatureDisplayID, Unit::Dismount(), DISPLAYID_HIDDEN_MOUNT, GetAmountAsInt(), SpellInfo::GetEffects(), BaseEntity::GetGUID(), GetId(), GetMiscValue(), GetSpellInfo(), AuraApplication::GetTarget(), IsSelfMount, MountEquipmentEntry::LearnedBySpell, Unit::Mount(), MountEquipmentEffectsSuppressed, Unit::RemoveAurasByType(), Unit::RemoveAurasDueToSpell(), Unit::RemoveOwnedAura(), sDB2Manager, Trinity::Containers::SelectRandomContainerElement(), Unit::SetFlightCapabilityID(), sMountCapabilityStore, sMountEquipmentStore, sObjectMgr, SPELL_AURA_MOUNTED, SPELL_EFFECT_SUMMON, and Object::ToPlayer().
| void AuraEffect::HandleAuraOpenStable | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 5576 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, BaseEntity::GetGUID(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), BaseEntity::IsInWorld(), Player::SetStableMaster(), Object::ToPlayer(), and TYPEID_PLAYER.
| void AuraEffect::HandleAuraOverrideSpells | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 5605 of file SpellAuraEffects.cpp.
References Player::AddTemporarySpell(), AURA_EFFECT_HANDLE_REAL, GetMiscValue(), AuraApplication::GetTarget(), BaseEntity::IsInWorld(), MAX_OVERRIDE_SPELL, Player::RemoveTemporarySpell(), Player::SetOverrideSpellsId(), sOverrideSpellDataStore, and Object::ToPlayer().
| void AuraEffect::HandleAuraPreventRegeneratePower | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 5635 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetMiscValue(), Unit::GetPowerTypes(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdatePowerRegen().
| void AuraEffect::HandleAuraPvpTalents | ( | AuraApplication const * | auraApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6549 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), SPELL_AURA_PVP_TALENTS, and Object::ToPlayer().
| void AuraEffect::HandleAuraSetVehicle | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 5650 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, Unit::CreateVehicleKit(), GetMiscValue(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), BaseEntity::IsInWorld(), Unit::RemoveVehicleKit(), Player::SendOnCancelExpectedVehicleRideAura(), Object::ToCreature(), Object::ToPlayer(), and TYPEID_PLAYER.
| void AuraEffect::HandleAuraTrackCreatures | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2635 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetMiscValue(), AuraApplication::GetTarget(), Player::RemoveTrackCreatureFlag(), Player::SetTrackCreatureFlag(), and Object::ToPlayer().
| void AuraEffect::HandleAuraTrackStealthed | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2650 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), AuraApplication::GetTarget(), Unit::HasAuraType(), PLAYER_LOCAL_FLAG_TRACK_STEALTHED, Player::RemovePlayerLocalFlag(), Player::SetPlayerLocalFlag(), and Object::ToPlayer().
| void AuraEffect::HandleAuraTransform | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2090 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, ObjectMgr::ChooseDisplayId(), CreatureModel::CreatureDisplayID, GENDER_FEMALE, GENDER_MALE, Unit::GetAuraEffectsByType(), GetBase(), GetCasterGUID(), GetId(), GetMiscValue(), Unit::GetMountDisplayId(), Unit::GetNativeGender(), Unit::GetRace(), GetSpellInfo(), AuraApplication::GetTarget(), Unit::GetTransformSpell(), BaseEntity::GetTypeId(), IN_MILLISECONDS, Unit::IsMounted(), IsPlayer, Unit::IsPolymorphed(), SpellInfo::IsPositive(), RACE_BLOODELF, RACE_DRAENEI, RACE_DWARF, RACE_GNOME, RACE_HUMAN, RACE_NIGHTELF, RACE_ORC, RACE_TAUREN, RACE_TROLL, RACE_UNDEAD_PLAYER, Unit::RemoveAurasByType(), Unit::RemoveAurasWithInterruptFlags(), Unit::RestoreDisplayId(), Unit::SetDisplayId(), Unit::SetMountDisplayId(), Player::setRegenTimerCount(), Unit::SetTransformSpell(), sObjectMgr, SPELL_AURA_MOD_INCREASE_MOUNTED_FLIGHT_SPEED, SPELL_AURA_MOUNTED, sSpellMgr, TC_LOG_ERROR, Object::ToPlayer(), Transform, and TYPEID_PLAYER.
| void AuraEffect::HandleAuraUntrackable | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2693 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), AuraApplication::GetTarget(), Unit::HasAuraType(), Unit::RemoveVisFlag(), Unit::SetVisFlag(), and UNIT_VIS_FLAGS_UNTRACKABLE.
| void AuraEffect::HandleAuraWaterWalk | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2884 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), AuraApplication::GetTarget(), Unit::HasAuraType(), and Unit::SetWaterWalking().
| void AuraEffect::HandleBattlegroundPlayerPosition | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6647 of file SpellAuraEffects.cpp.
References Battleground::AddPlayerPosition(), ALLIANCE, WorldPackets::Battleground::BattlegroundPlayerPosition::ArenaSlot, AURA_EFFECT_HANDLE_REAL, AURA_REMOVE_BY_DEFAULT, Dropped, WorldObject::FindZoneScript(), QuaternionData::fromOrientation(), GAMEOBJECT_TYPE_FLAGSTAND, GAMEOBJECT_TYPE_NEW_FLAG, GetAuraType(), BattlegroundMap::GetBG(), GetCasterGUID(), Player::GetEffectiveTeam(), GetEntry(), Map::GetGameObject(), BaseEntity::GetGUID(), WorldObject::GetMap(), GetMiscValue(), Position::GetOrientation(), Position::GetPosition(), AuraApplication::GetRemoveMode(), AuraApplication::GetTarget(), GO_SUMMON_TIMED_DESPAWN, WorldPackets::Battleground::BattlegroundPlayerPosition::Guid, WorldPackets::Battleground::BattlegroundPlayerPosition::IconID, PLAYER_POSITION_ICON_ALLIANCE_FLAG, PLAYER_POSITION_ICON_HORDE_FLAG, WorldPackets::Battleground::BattlegroundPlayerPosition::Pos, Battleground::RemovePlayerPosition(), Unit::SetOwnerGUID(), sObjectMgr, SPELL_AURA_BATTLEGROUND_PLAYER_POSITION, SPELL_AURA_BATTLEGROUND_PLAYER_POSITION_FACTIONAL, WorldObject::SummonGameObject(), TC_LOG_WARN, Map::ToBattlegroundMap(), and Object::ToPlayer().
| void AuraEffect::HandleBindSight | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 5329 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, GetCaster(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Player::SetViewpoint(), Object::ToPlayer(), and TYPEID_PLAYER.
| void AuraEffect::HandleBreakableCCAuraProc | ( | AuraApplication * | aurApp, |
| ProcEventInfo & | eventInfo | ||
| ) |
Definition at line 6276 of file SpellAuraEffects.cpp.
References ChangeAmount(), GetAmount(), DamageInfo::GetDamage(), ProcEventInfo::GetDamageInfo(), AuraApplication::GetTarget(), and Unit::RemoveAura().
Referenced by HandleProc().
| void AuraEffect::HandleChannelDeathItem | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 5279 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, AURA_REMOVE_BY_DEATH, Player::CanStoreNewItem(), EQUIP_ERR_OK, GetAmountAsInt(), GetCaster(), AuraApplication::GetRemoveMode(), GetSpellEffectInfo(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Player::isHonorOrXPTarget(), Creature::isTappedBy(), NULL_BAG, NULL_SLOT, Player::SendEquipError(), Player::SendNewItem(), Player::StoreNewItem(), Object::ToCreature(), Object::ToPlayer(), TYPEID_PLAYER, and TYPEID_UNIT.
| void AuraEffect::HandleCharmConvert | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3343 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, CHARM_TYPE_CONVERT, GetCaster(), AuraApplication::GetTarget(), Unit::RemoveCharmedBy(), and Unit::SetCharmedBy().
| void AuraEffect::HandleComprehendLanguage | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 5423 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), AuraApplication::GetTarget(), Unit::HasAuraType(), Unit::RemoveUnitFlag2(), Unit::SetUnitFlag2(), and UNIT_FLAG2_COMPREHEND_LANG.
| void AuraEffect::HandleConvertCritToParry | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4074 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, CR_PARRY, AuraApplication::GetTarget(), Object::ToPlayer(), and Player::UpdateRating().
| void AuraEffect::HandleCosmeticMounted | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6731 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, WorldPackets::Movement::Force, Unit::GetCollisionHeight(), GetMiscValue(), AuraApplication::GetTarget(), Player::SendMovementSetCollisionHeight(), Unit::SetCosmeticMountDisplayId(), and Object::ToPlayer().
| void AuraEffect::HandleCreateAreaTrigger | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6529 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, AreaTrigger::CreateAreaTrigger(), GetBase(), GetCaster(), GetMiscValue(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), GetSpellInfo(), and AuraApplication::GetTarget().
| void AuraEffect::HandleDetectAmore | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 1811 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, Unit::GetAuraEffectsByType(), GetMiscValue(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Unit::HasAuraType(), SPELL_AURA_DETECT_AMORE, Object::ToPlayer(), and TYPEID_PLAYER.
| void AuraEffect::HandleDisableInertia | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3039 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), AuraApplication::GetTarget(), Unit::HasAuraType(), and Unit::SetDisableInertia().
| void AuraEffect::HandleEffect | ( | AuraApplication * | aurApp, |
| uint8 | mode, | ||
| bool | apply, | ||
| AuraEffect const * | triggeredBy = nullptr |
||
| ) |
Definition at line 1137 of file SpellAuraEffects.cpp.
References Unit::_RegisterAuraEffect(), ApplySpellMod(), ASSERT, AURA_EFFECT_HANDLE_CHANGE_AMOUNT, AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_REAL, AURA_EFFECT_HANDLE_REAPPLY, AURA_EFFECT_HANDLE_SEND_FOR_CLIENT, AURA_EFFECT_HANDLE_SKILL, AURA_EFFECT_HANDLE_STAT, Aura::CallScriptAfterEffectApplyHandlers(), Aura::CallScriptAfterEffectRemoveHandlers(), Aura::CallScriptEffectApplyHandlers(), Aura::CallScriptEffectRemoveHandlers(), GetAuraType(), GetBase(), AuraApplication::GetRemoveMode(), AuraApplication::GetTarget(), and NonDefaultConstructible< T >::Value.
Referenced by AuraApplication::_HandleEffect(), ChangeAmount(), HandleEffect(), and Unit::RestoreDisplayId().
| void AuraEffect::HandleEffect | ( | Unit * | target, |
| uint8 | mode, | ||
| bool | apply, | ||
| AuraEffect const * | triggeredBy = nullptr |
||
| ) |
Definition at line 1183 of file SpellAuraEffects.cpp.
References ASSERT, Aura::GetApplicationOfTarget(), GetBase(), BaseEntity::GetGUID(), and HandleEffect().
| void AuraEffect::HandleEnableAltPower | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6374 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, GetMiscValue(), AuraApplication::GetTarget(), UnitPowerBarEntry::MaxPower, POWER_ALTERNATE_POWER, Unit::SetMaxPower(), and sUnitPowerBarStore.
| void AuraEffect::HandleFeignDeath | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2346 of file SpellAuraEffects.cpp.
References Unit::AddUnitState(), Unit::AttackStop(), AURA_EFFECT_HANDLE_REAL, Unit::ClearUnitState(), Unit::CombatStop(), CURRENT_GENERIC_SPELL, CURRENT_MAX_SPELL, Unit::FinishSpell(), GetCasterGUID(), Unit::GetCurrentSpell(), BaseEntity::GetGUID(), WorldObject::GetMap(), AuraApplication::GetRemoveMode(), AuraApplication::GetTarget(), ThreatManager::GetThreatenedByMeList(), Unit::GetThreatManager(), Map::GetVisibilityRange(), Unit::InterruptNonMeleeSpells(), Map::IsDungeon(), Creature::IsIgnoringFeignDeath(), REACT_PASSIVE, Unit::RemoveUnitFlag(), Unit::RemoveUnitFlag2(), Unit::RemoveUnitFlag3(), Unit::SetUnitFlag(), Unit::SetUnitFlag2(), Unit::SetUnitFlag3(), SPELL_FAILED_INTERRUPTED, Object::ToCreature(), Object::ToPlayer(), UNIT_FLAG2_FEIGN_DEATH, UNIT_FLAG3_FAKE_DEAD, UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT, UNIT_STATE_CASTING, UNIT_STATE_DIED, and Cell::VisitAllObjects().
| void AuraEffect::HandleForceBreathBar | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2962 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), Object::ToPlayer(), Player::UpdateLiquidMirrorTimerValuesOnAura(), and WorldObject::UpdatePositionData().
| void AuraEffect::HandleForceMoveForward | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2976 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), AuraApplication::GetTarget(), Unit::HasAuraType(), Unit::RemoveUnitFlag2(), Unit::SetUnitFlag2(), and UNIT_FLAG2_FORCE_MOVEMENT.
| void AuraEffect::HandleForceReaction | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 5344 of file SpellAuraEffects.cpp.
References ReputationMgr::ApplyForceReaction(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, GetAmountAsInt(), GetMiscValue(), Player::GetReputationMgr(), Player::GetReputationRank(), AuraApplication::GetTarget(), REP_FRIENDLY, Unit::StopAttackFaction(), and Object::ToPlayer().
| void AuraEffect::HandleIgnoreMovementForces | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3022 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), AuraApplication::GetTarget(), Unit::HasAuraType(), and Unit::SetIgnoreMovementForces().
| void AuraEffect::HandleLearnSpell | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 5408 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, GetMiscValue(), AuraApplication::GetTarget(), Player::LearnSpell(), Player::RemoveSpell(), and Object::ToPlayer().
| void AuraEffect::HandleLinkedSummon | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6563 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, CastSpellExtraArgsInit::CastDifficulty, WorldObject::CastSpell(), SpellInfo::Difficulty, GetBase(), WorldObject::GetCreatureListWithEntryInGrid(), SpellInfo::GetEffects(), BaseEntity::GetGUID(), GetSpellEffectInfo(), AuraApplication::GetTarget(), SpellInfo::Id, SPELL_EFFECT_SUMMON, sSpellMgr, and Unit::ToTempSummon().
| void AuraEffect::HandleMastery | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 5706 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), Object::ToPlayer(), and Player::UpdateMastery().
| void AuraEffect::HandleModAdvFlying | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3011 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, AuraApplication::GetTarget(), Unit::HasAura(), Unit::SetCanAdvFly(), Unit::SetCanDoubleJump(), Unit::SetCanFly(), and SPELL_DH_DOUBLE_JUMP.
| void AuraEffect::HandleModAlternativeDefaultLanguage | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 5441 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), AuraApplication::GetTarget(), Unit::HasAuraType(), Unit::RemoveUnitFlag3(), Unit::SetUnitFlag3(), and UNIT_FLAG3_ALTERNATIVE_DEFAULT_LANGUAGE.
| void AuraEffect::HandleModArmorPctFromStat | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3977 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), Object::ToPlayer(), and Player::UpdateArmor().
| void AuraEffect::HandleModAttackSpeed | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4744 of file SpellAuraEffects.cpp.
References Unit::ApplyAttackTimePercentMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, BASE_ATTACK, GetAmount(), AuraApplication::GetTarget(), and Unit::UpdateDamagePhysical().
| void AuraEffect::HandleModBaseResistance | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3748 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), GetMiscValue(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Unit::HandleStatFlatModifier(), Unit::IsPet(), MAX_SPELL_SCHOOL, SPELL_SCHOOL_MASK_NORMAL, SPELL_SCHOOL_NORMAL, TOTAL_VALUE, TYPEID_PLAYER, UNIT_MOD_ARMOR, and UNIT_MOD_RESISTANCE_START.
| void AuraEffect::HandleModBonusArmor | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3990 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, BASE_VALUE, GetAmount(), AuraApplication::GetTarget(), Unit::HandleStatFlatModifier(), and UNIT_MOD_ARMOR.
| void AuraEffect::HandleModBonusArmorPercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3998 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), and Unit::UpdateArmor().
| void AuraEffect::HandleModCastingSlowNoStack | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4674 of file SpellAuraEffects.cpp.
References Unit::ApplyCastTimePercentMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), GetAuraType(), Unit::GetMaxNegativeAuraModifier(), and AuraApplication::GetTarget().
| void AuraEffect::HandleModCastingSpeed | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4497 of file SpellAuraEffects.cpp.
References Unit::ApplyCastTimePercentMod(), Unit::ApplySpellHastePercentMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), Unit::GetAuraEffectsByType(), GetAuraType(), Unit::GetHighestExclusiveSameEffectSpellGroupValue(), AuraApplication::GetTarget(), Unit::SetInstantCast(), and SPELL_AURA_MOD_CASTING_SPEED.
| void AuraEffect::HandleModChargeRecoveryRate | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6445 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, GetAmount(), GetMiscValue(), Unit::GetSpellHistory(), AuraApplication::GetTarget(), and SpellHistory::UpdateChargeRecoveryRate().
| void AuraEffect::HandleModCharm | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3328 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, CHARM_TYPE_CHARM, GetCaster(), AuraApplication::GetTarget(), Unit::RemoveCharmedBy(), and Unit::SetCharmedBy().
Referenced by HandleModPossess().
| void AuraEffect::HandleModConfuse | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3148 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, ThreatManager::EvaluateSuppressed(), AuraApplication::GetTarget(), Unit::GetThreatManager(), Unit::SetControlled(), and UNIT_STATE_CONFUSED.
| void AuraEffect::HandleModDamageDone | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4843 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmountAsInt(), Unit::GetGuardianPet(), GetMiscValue(), AuraApplication::GetTarget(), MAX_SPELL_SCHOOL, SPELL_SCHOOL_MASK_NORMAL, SPELL_SCHOOL_NORMAL, Object::ToPlayer(), and Unit::UpdateAllDamageDoneMods().
| void AuraEffect::HandleModDamagePercentDone | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4871 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetMiscValue(), AuraApplication::GetTarget(), MAX_SPELL_SCHOOL, SPELL_AURA_MOD_DAMAGE_PERCENT_DONE, SPELL_SCHOOL_MASK_NORMAL, Object::ToPlayer(), and Unit::UpdateAllDamagePctDoneMods().
| void AuraEffect::HandleModDetaunt | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3113 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, Unit::CanHaveThreatList(), GetCaster(), AuraApplication::GetTarget(), Unit::GetThreatManager(), Unit::IsAlive(), and ThreatManager::TauntUpdate().
| void AuraEffect::HandleModFear | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3160 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), Unit::SetControlled(), and UNIT_STATE_FLEEING.
| void AuraEffect::HandleModGravity | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6390 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, Unit::GetAuraEffectsByType(), AuraApplication::GetTarget(), Unit::SetGravityModifier(), and SPELL_AURA_MOD_GRAVITY.
| void AuraEffect::HandleModHealingDone | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3896 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateSpellDamageAndHealingBonus().
| void AuraEffect::HandleModHealingDonePct | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3910 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), and Object::ToPlayer().
| void AuraEffect::HandleModInvisibility | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 1676 of file SpellAuraEffects.cpp.
References FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::AddFlag(), FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::AddValue(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_SEND_FOR_CLIENT_MASK, AURA_EFFECT_HANDLE_REAL, FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::DelFlag(), GetAmountAsInt(), GetMiscValue(), AuraApplication::GetTarget(), Unit::HasAuraType(), Unit::HasAuraTypeWithMiscvalue(), FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::HasFlag(), INVISIBILITY_GENERAL, BaseEntity::IsInWorld(), WorldObject::m_invisibility, PLAYER_FIELD_BYTE2_INVISIBILITY_GLOW, Unit::RemoveAurasWithInterruptFlags(), Unit::RemoveVisFlag(), Unit::SetVisFlag(), SPELL_AURA_MOD_INVISIBILITY, StealthOrInvis, Object::ToPlayer(), UNIT_VIS_FLAGS_INVISIBLE, and Unit::UpdateObjectVisibility().
| void AuraEffect::HandleModInvisibilityDetect | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 1650 of file SpellAuraEffects.cpp.
References FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::AddFlag(), FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::AddValue(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::DelFlag(), GetAmountAsInt(), GetMiscValue(), AuraApplication::GetTarget(), Unit::HasAuraType(), BaseEntity::IsInWorld(), WorldObject::m_invisibilityDetect, SPELL_AURA_MOD_INVISIBILITY_DETECT, and Unit::UpdateObjectVisibility().
| void AuraEffect::HandleModManaCostPct | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4266 of file SpellAuraEffects.cpp.
References Unit::ApplyModManaCostMultiplier(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), and AuraApplication::GetTarget().
| void AuraEffect::HandleModManaRegenPct | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4107 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), BaseEntity::IsPlayer(), POWER_MANA, Object::ToPlayer(), and Player::UpdatePowerRegen().
| void AuraEffect::HandleModMechanicImmunity | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3568 of file SpellAuraEffects.cpp.
References SpellInfo::ApplyAllSpellImmunitiesTo(), AURA_EFFECT_HANDLE_REAL, GetSpellEffectInfo(), AuraApplication::GetTarget(), and m_spellInfo.
| void AuraEffect::HandleModMechanicImmunityMask | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3559 of file SpellAuraEffects.cpp.
References SpellInfo::ApplyAllSpellImmunitiesTo(), AURA_EFFECT_HANDLE_REAL, GetSpellEffectInfo(), AuraApplication::GetTarget(), and m_spellInfo.
| void AuraEffect::HandleModMeleeHaste | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4546 of file SpellAuraEffects.cpp.
References Unit::ApplyAttackTimePercentMod(), Unit::ApplyHasteRegenPercentMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, BASE_ATTACK, GetAmount(), GetAuraType(), Unit::GetHighestExclusiveSameEffectSpellGroupValue(), AuraApplication::GetTarget(), and OFF_ATTACK.
| void AuraEffect::HandleModMeleeHasteNoRegen | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4714 of file SpellAuraEffects.cpp.
References Unit::ApplyAttackTimePercentMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, BASE_ATTACK, GetAmount(), AuraApplication::GetTarget(), and OFF_ATTACK.
| void AuraEffect::HandleModMeleeRangedCastingHaste | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4591 of file SpellAuraEffects.cpp.
References Unit::ApplyAttackTimePercentMod(), Unit::ApplyCastTimePercentMod(), Unit::ApplyHasteRegenPercentMod(), Unit::ApplySpellHastePercentMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, BASE_ATTACK, GetAmount(), Unit::GetHighestExclusiveSameEffectSpellGroupValue(), AuraApplication::GetTarget(), OFF_ATTACK, RANGED_ATTACK, and SPELL_AURA_MOD_MELEE_RANGED_CASTING_HASTE.
| void AuraEffect::HandleModMeleeRangedCastingSlowNoStack | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4690 of file SpellAuraEffects.cpp.
References Unit::ApplyAttackTimePercentMod(), Unit::ApplyCastTimePercentMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, BASE_ATTACK, GetAmount(), GetAuraType(), Unit::GetMaxNegativeAuraModifier(), AuraApplication::GetTarget(), OFF_ATTACK, and RANGED_ATTACK.
| void AuraEffect::HandleModMeleeRangedHaste | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4578 of file SpellAuraEffects.cpp.
References Unit::ApplyAttackTimePercentMod(), Unit::ApplyHasteRegenPercentMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, BASE_ATTACK, GetAmount(), AuraApplication::GetTarget(), OFF_ATTACK, and RANGED_ATTACK.
| void AuraEffect::HandleModMeleeRangedHasteNoRegen | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4733 of file SpellAuraEffects.cpp.
References Unit::ApplyAttackTimePercentMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, BASE_ATTACK, GetAmount(), AuraApplication::GetTarget(), OFF_ATTACK, and RANGED_ATTACK.
| void AuraEffect::HandleModMeleeSlowNoStack | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4618 of file SpellAuraEffects.cpp.
References Unit::ApplyAttackTimePercentMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, BASE_ATTACK, GetAmount(), GetAuraType(), Unit::GetMaxNegativeAuraModifier(), AuraApplication::GetTarget(), and OFF_ATTACK.
| void AuraEffect::HandleModMovementForceMagnitude | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3510 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AuraApplication::GetTarget(), and Unit::UpdateMovementForcesModMagnitude().
| void AuraEffect::HandleModOffhandDamagePercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4896 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), OFF_ATTACK, and Unit::UpdateDamagePctDoneMods().
| void AuraEffect::HandleModOverrideZonePVPType | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6627 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, Unit::GetAuraEffectsByType(), GetMiscValue(), AuraApplication::GetTarget(), WorldObject::GetZoneId(), Unit::HasAuraType(), None, sAreaTableStore, Player::SetOverrideZonePVPType(), SPELL_AURA_MOD_OVERRIDE_ZONE_PVP_TYPE, Object::ToPlayer(), Player::UpdateHostileAreaState(), and Player::UpdatePvPState().
| void AuraEffect::HandleModPercentStat | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3829 of file SpellAuraEffects.cpp.
References Unit::ApplyStatPctModifier(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, BASE_PCT, GetAmount(), GetMiscValue(), AuraApplication::GetTarget(), Unit::GetTotalAuraMultiplier(), BaseEntity::GetTypeId(), MAX_STATS, Unit::SetStatPctModifier(), SPELL_AURA_MOD_PERCENT_STAT, STAT_STRENGTH, TC_LOG_ERROR, TYPEID_PLAYER, and UNIT_MOD_STAT_START.
| void AuraEffect::HandleModPossess | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3263 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, CHARM_TYPE_POSSESS, GetCaster(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), HandleModCharm(), Unit::RemoveCharmedBy(), Unit::SetCharmedBy(), and TYPEID_UNIT.
| void AuraEffect::HandleModPossessPet | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3285 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, CHARM_TYPE_POSSESS, COMMAND_STAY, GetCaster(), Unit::GetCharmInfo(), Minion::GetFollowAngle(), WorldObject::GetMap(), Unit::GetMotionMaster(), Player::GetPet(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Unit::GetVictim(), Map::GetVisibilityRange(), CharmInfo::HasCommandState(), Unit::IsPet(), WorldObject::IsWithinDistInMap(), MotionMaster::MoveFollow(), PET_FOLLOW_DIST, PET_SAVE_NOT_IN_SLOT, Player::PetSpellInitialize(), Pet::Remove(), Unit::RemoveCharmedBy(), Unit::SetCharmedBy(), Unit::ToPet(), Object::ToPlayer(), TYPEID_PLAYER, and TYPEID_UNIT.
| void AuraEffect::HandleModPowerCost | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4938 of file SpellAuraEffects.cpp.
References Unit::ApplyModManaCostModifier(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, GetAmountAsInt(), GetMiscValue(), GetMiscValueB(), AuraApplication::GetTarget(), MAX_SPELL_SCHOOL, and POWER_MANA.
| void AuraEffect::HandleModPowerRegen | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4089 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetMiscValue(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdatePowerRegen().
Referenced by HandleModPowerRegenPCT().
| void AuraEffect::HandleModPowerRegenPCT | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4102 of file SpellAuraEffects.cpp.
References HandleModPowerRegen().
| void AuraEffect::HandleModRangedHaste | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4567 of file SpellAuraEffects.cpp.
References Unit::ApplyAttackTimePercentMod(), Unit::ApplyHasteRegenPercentMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), AuraApplication::GetTarget(), and RANGED_ATTACK.
| void AuraEffect::HandleModRangedHasteNoRegen | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4724 of file SpellAuraEffects.cpp.
References Unit::ApplyAttackTimePercentMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), AuraApplication::GetTarget(), and RANGED_ATTACK.
| void AuraEffect::HandleModRangedSlowNoStack | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4638 of file SpellAuraEffects.cpp.
References Unit::ApplyAttackTimePercentMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), GetAuraType(), Unit::GetMaxNegativeAuraModifier(), AuraApplication::GetTarget(), and RANGED_ATTACK.
| void AuraEffect::HandleModRating | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4759 of file SpellAuraEffects.cpp.
References Player::ApplyRatingMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmountAsInt(), GetMiscValue(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), MAX_COMBAT_RATING, Object::ToPlayer(), and TYPEID_PLAYER.
| void AuraEffect::HandleModRatingPct | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4774 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetMiscValue(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), MAX_COMBAT_RATING, Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateRating().
| void AuraEffect::HandleModRecoveryRate | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6418 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, DIFFICULTY_NONE, GetAmount(), Unit::GetSpellHistory(), AuraApplication::GetTarget(), IsAffectingSpell(), SpellHistory::CooldownEntry::SpellId, sSpellMgr, and SpellHistory::UpdateCooldownRecoveryRate().
| void AuraEffect::HandleModRecoveryRateBySpellLabel | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6431 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, DIFFICULTY_NONE, GetAmount(), GetMiscValue(), GetMiscValueB(), Unit::GetSpellHistory(), AuraApplication::GetTarget(), SpellInfo::HasLabel(), SpellHistory::CooldownEntry::SpellId, sSpellMgr, and SpellHistory::UpdateCooldownRecoveryRate().
| void AuraEffect::HandleModRequiredMountCapabilityFlags | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6748 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, Unit::GetAuraEffectsByType(), GetAuraType(), GetMiscValue(), AuraApplication::GetTarget(), Player::ReplaceAllRequiredMountCapabilityFlags(), Player::SetRequiredMountCapabilityFlag(), and Object::ToPlayer().
| void AuraEffect::HandleModResistancePercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3728 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetMiscValue(), Unit::GetPctModifierValue(), AuraApplication::GetTarget(), Unit::GetTotalAuraMultiplierByMiscMask(), MAX_SPELL_SCHOOL, Unit::SetStatPctModifier(), SPELL_AURA_MOD_RESISTANCE_PCT, SPELL_SCHOOL_NORMAL, TOTAL_PCT, and UNIT_MOD_RESISTANCE_START.
| void AuraEffect::HandleModSpellCategoryCooldown | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6403 of file SpellAuraEffects.cpp.
References Player::AddSpellCategoryCooldownMod(), AURA_EFFECT_HANDLE_REAL, GetAmountAsInt(), GetMiscValue(), AuraApplication::GetTarget(), Player::RemoveSpellCategoryCooldownMod(), and Object::ToPlayer().
| void AuraEffect::HandleModSpellCritChance | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4461 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Unit::m_baseSpellCritChance, Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateSpellCritChance().
| void AuraEffect::HandleModSpellDamagePercentFromStat | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3866 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateSpellDamageAndHealingBonus().
| void AuraEffect::HandleModSpellHealingPercentFromStat | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3882 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateSpellDamageAndHealingBonus().
| void AuraEffect::HandleModSpellHitChance | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4448 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Unit::m_modSpellHitChance, Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateSpellHitChances().
| void AuraEffect::HandleModSpellSlowNoStack | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4654 of file SpellAuraEffects.cpp.
References Unit::ApplyCastTimePercentMod(), Unit::ApplySpellHastePercentMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), GetAuraType(), Unit::GetMaxNegativeAuraModifier(), and AuraApplication::GetTarget().
| void AuraEffect::HandleModStatBonusPercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4006 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetMiscValue(), AuraApplication::GetTarget(), MAX_STATS, TC_LOG_ERROR, and Unit::UpdateStats().
| void AuraEffect::HandleModStealth | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 1750 of file SpellAuraEffects.cpp.
References FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::AddFlag(), FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::AddValue(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_SEND_FOR_CLIENT_MASK, AURA_EFFECT_HANDLE_REAL, FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::DelFlag(), GetAmountAsInt(), FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::GetFlags(), GetMiscValue(), AuraApplication::GetTarget(), Unit::HasAuraTypeWithMiscvalue(), BaseEntity::IsInWorld(), WorldObject::m_stealth, PLAYER_FIELD_BYTE2_STEALTH, Unit::RemoveAurasWithInterruptFlags(), Unit::RemoveVisFlag(), Unit::SetVisFlag(), SPELL_AURA_MOD_STEALTH, StealthOrInvis, Object::ToPlayer(), UNIT_VIS_FLAGS_STEALTHED, and Unit::UpdateObjectVisibility().
| void AuraEffect::HandleModStealthDetect | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 1724 of file SpellAuraEffects.cpp.
References FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::AddFlag(), FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::AddValue(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::DelFlag(), GetAmountAsInt(), GetMiscValue(), AuraApplication::GetTarget(), Unit::HasAuraType(), BaseEntity::IsInWorld(), WorldObject::m_stealthDetect, SPELL_AURA_MOD_STEALTH_DETECT, and Unit::UpdateObjectVisibility().
| void AuraEffect::HandleModStealthLevel | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 1793 of file SpellAuraEffects.cpp.
References FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::AddValue(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, GetAmountAsInt(), GetMiscValue(), AuraApplication::GetTarget(), BaseEntity::IsInWorld(), WorldObject::m_stealth, and Unit::UpdateObjectVisibility().
| void AuraEffect::HandleModTargetResistance | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3770 of file SpellAuraEffects.cpp.
References Player::ApplyModTargetPhysicalResistance(), Player::ApplyModTargetResistance(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmountAsInt(), GetMiscValue(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), SPELL_SCHOOL_MASK_NORMAL, SPELL_SCHOOL_MASK_SPELL, Object::ToPlayer(), and TYPEID_PLAYER.
| void AuraEffect::HandleModTaunt | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3100 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, Unit::CanHaveThreatList(), AuraApplication::GetTarget(), Unit::GetThreatManager(), Unit::IsAlive(), and ThreatManager::TauntUpdate().
| void AuraEffect::HandleModThreat | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3077 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AuraApplication::GetTarget(), Unit::GetThreatManager(), and ThreatManager::UpdateMySpellSchoolModifiers().
| void AuraEffect::HandleModTotalPercentStat | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3919 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, CalculatePct(), CORPSE, Unit::getDeathState(), Unit::GetHealth(), Unit::GetHealthPct(), Unit::GetMaxHealth(), GetMiscValueB(), Unit::GetPctModifierValue(), AuraApplication::GetTarget(), Unit::GetTotalAuraMultiplier(), BaseEntity::GetTypeId(), SpellInfo::HasAttribute(), Unit::IsAlive(), Unit::IsPet(), m_spellInfo, MAX_STATS, Unit::SetHealth(), Unit::SetStatPctModifier(), SPELL_ATTR0_IS_ABILITY, SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE, STAT_STAMINA, STAT_STRENGTH, TOTAL_PCT, TYPEID_PLAYER, UNIT_MOD_STAT_START, and Unit::UpdateStatBuffMod().
| void AuraEffect::HandleModUnattackable | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2421 of file SpellAuraEffects.cpp.
References Unit::AttackStop(), AURA_EFFECT_HANDLE_REAL, AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, Unit::CombatStop(), WorldObject::GetMap(), AuraApplication::GetTarget(), Unit::HasAuraType(), Map::IsDungeon(), Unit::RemoveUnitFlag(), Unit::SetUnitFlag(), SPELL_AURA_MOD_UNATTACKABLE, Object::ToPlayer(), and UNIT_FLAG_NON_ATTACKABLE_2.
| void AuraEffect::HandleModVersatilityByPct | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4049 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), SPELL_AURA_MOD_VERSATILITY, and Object::ToPlayer().
| void AuraEffect::HandleModWaterBreathing | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2950 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, AuraApplication::GetTarget(), Object::ToPlayer(), and Player::UpdateLiquidMirrorTimerValuesOnAura().
| void AuraEffect::HandleMountRestrictions | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6723 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), and Unit::UpdateMountCapability().
|
inline |
Definition at line 139 of file SpellAuraEffects.h.
| void AuraEffect::HandleNoReagentUseAura | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4974 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, Unit::GetAuraEffectsByType(), AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Player::SetNoRegentCostMask(), SPELL_AURA_NO_REAGENT_USE, Object::ToPlayer(), and TYPEID_PLAYER.
|
inline |
Definition at line 131 of file SpellAuraEffects.h.
Definition at line 6145 of file SpellAuraEffects.cpp.
References CalculatePct(), ThreatManager::ForwardThreatForAssistingMe(), GetAmount(), GetBase(), GetCasterGUID(), BaseEntity::GetGUID(), GetId(), Unit::GetMaxPower(), Unit::GetMinPower(), GetMiscValue(), Unit::GetPower(), GetSpellInfo(), Unit::GetThreatManager(), Unit::IsAlive(), Unit::IsImmunedToAuraPeriodicTick(), Unit::ModifyPower(), Unit::SendPeriodicAuraLog(), SendTickImmune(), TC_LOG_DEBUG, and ObjectGuid::ToString().
Referenced by PeriodicTick().
| void AuraEffect::HandleOverrideAttackPowerBySpellPower | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4035 of file SpellAuraEffects.cpp.
References Player::ApplyModOverrideAPBySpellPowerPercent(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), AuraApplication::GetTarget(), Object::ToPlayer(), and Player::UpdateAttackPowerAndDamage().
| void AuraEffect::HandleOverridePetSpecs | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6469 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, CLASS_HUNTER, Unit::GetClass(), Player::GetPet(), Pet::GetSpecialization(), AuraApplication::GetTarget(), ChrSpecializationEntry::OrderIndex, PET_SPEC_OVERRIDE_CLASS_INDEX, sChrSpecializationStore, sDB2Manager, Pet::SetSpecialization(), and Object::ToPlayer().
| void AuraEffect::HandleOverrideSpellPowerByAttackPower | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4022 of file SpellAuraEffects.cpp.
References Player::ApplyModOverrideSpellPowerByAPPercent(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), AuraApplication::GetTarget(), Object::ToPlayer(), and Player::UpdateSpellDamageAndHealingBonus().
Definition at line 5767 of file SpellAuraEffects.cpp.
References _ticksDone, Unit::ApplyResilience(), ASSERT_NOTNULL, BASE_ATTACK, Unit::CalcAbsorbResist(), Unit::CalcArmorReducedDamage(), Unit::CalculateAOEAvoidance(), Unit::CalculateDamage(), CalculatePct(), Unit::CanApplyResilience(), Unit::DealDamage(), Unit::DealDamageMods(), DOT, SpellEffectInfo::EffectAttributes, DamageInfo::GetAbsorb(), GetAmount(), GetAmountAsInt(), SpellInfo::GetAttackType(), GetAuraType(), GetBase(), GetCasterGUID(), GetCritChanceFor(), DamageInfo::GetDamage(), BaseEntity::GetGUID(), Unit::GetHealth(), DamageInfo::GetHitMask(), GetId(), Unit::GetMaxHealth(), DamageInfo::GetResist(), GetSpellEffectInfo(), GetSpellInfo(), Aura::GetStackAmount(), EnumFlag< T >::HasFlag(), Unit::IsAlive(), Unit::IsControlledByPlayer(), Unit::IsDamageReducedByArmor(), Unit::IsImmunedToDamage(), m_spellInfo, MELEE_HIT_NORMAL, Unit::MeleeDamageBonusDone(), Unit::MeleeDamageBonusTaken(), CleanDamage::mitigated_damage, PROC_FLAG_DEAL_HARMFUL_PERIODIC, PROC_FLAG_TAKE_ANY_DAMAGE, PROC_FLAG_TAKE_HARMFUL_PERIODIC, PROC_HIT_CRITICAL, PROC_HIT_NORMAL, PROC_SPELL_PHASE_HIT, PROC_SPELL_TYPE_DAMAGE, Unit::ProcSkillsAndAuras(), roll_chance(), SpellInfo::SchoolMask, Unit::SendPeriodicAuraLog(), SendTickImmune(), SPELL_ATTR4_IGNORE_DAMAGE_TAKEN_MODIFIERS, SPELL_ATTR5_TREAT_AS_AREA_EFFECT, SPELL_ATTR7_TREAT_AS_NPC_AOE, SPELL_AURA_PERIODIC_DAMAGE, SPELL_AURA_PERIODIC_DAMAGE_PERCENT, SPELL_AURA_PERIODIC_WEAPON_PERCENT_DAMAGE, SPELL_EFFECT_PERSISTENT_AREA_AURA, SPELL_MISS_NONE, Unit::SpellCriticalDamageBonus(), Unit::SpellDamageBonusDone(), Unit::SpellDamageBonusTaken(), SPELLFAMILY_GENERIC, sScriptMgr, SuppressPointsStacking, TC_LOG_DEBUG, and ObjectGuid::ToString().
Referenced by PeriodicTick().
Definition at line 6184 of file SpellAuraEffects.cpp.
References ThreatManager::ForwardThreatForAssistingMe(), GetAmountAsInt(), GetBase(), GetCasterGUID(), BaseEntity::GetGUID(), GetId(), Unit::GetMaxPower(), GetMiscValue(), Unit::GetPower(), GetSpellInfo(), Unit::GetThreatManager(), Unit::IsAlive(), Unit::IsImmunedToAuraPeriodicTick(), Unit::ModifyPower(), Unit::SendPeriodicAuraLog(), SendTickImmune(), TC_LOG_DEBUG, and ObjectGuid::ToString().
Referenced by PeriodicTick().
Definition at line 6028 of file SpellAuraEffects.cpp.
References Unit::CalcHealAbsorb(), Unit::CountPctFromMaxHealth(), Unit::DealHeal(), DOT, SpellEffectInfo::EffectAttributes, ThreatManager::ForwardThreatForAssistingMe(), HealInfo::GetAbsorb(), GetAmountAsInt(), GetAuraType(), GetBase(), GetCasterGUID(), GetCritChanceFor(), HealInfo::GetEffectiveHeal(), BaseEntity::GetGUID(), GetId(), GetSpellEffectInfo(), GetSpellInfo(), Aura::GetStackAmount(), Unit::GetThreatManager(), EnumFlag< T >::HasFlag(), Unit::IsAlive(), Unit::IsFullHealth(), Unit::IsImmunedToAuraPeriodicTick(), m_spellInfo, PROC_FLAG_DEAL_HELPFUL_PERIODIC, PROC_FLAG_TAKE_HELPFUL_PERIODIC, PROC_HIT_CRITICAL, PROC_HIT_NORMAL, PROC_SPELL_PHASE_HIT, PROC_SPELL_TYPE_HEAL, Unit::ProcSkillsAndAuras(), roll_chance(), Unit::SendPeriodicAuraLog(), SendTickImmune(), SPELL_AURA_OBS_MOD_HEALTH, Unit::SpellCriticalHealingBonus(), Unit::SpellHealingBonusDone(), Unit::SpellHealingBonusTaken(), SuppressPointsStacking, TC_LOG_DEBUG, and ObjectGuid::ToString().
Referenced by PeriodicTick().
Definition at line 5998 of file SpellAuraEffects.cpp.
References SpellEffectInfo::CalcValueMultiplier(), GetAmountAsInt(), Object::GetEntry(), Unit::GetHealth(), GetSpellEffectInfo(), GetSpellInfo(), Unit::HealBySpell(), Unit::IsAlive(), Unit::IsImmunedToAuraPeriodicTick(), Unit::ModifyHealth(), PROC_FLAG_DEAL_HARMFUL_PERIODIC, PROC_FLAG_TAKE_HARMFUL_PERIODIC, PROC_HIT_NORMAL, PROC_SPELL_PHASE_HIT, PROC_SPELL_TYPE_HEAL, Unit::ProcSkillsAndAuras(), SendTickImmune(), and TC_LOG_DEBUG.
Referenced by PeriodicTick().
Definition at line 5897 of file SpellAuraEffects.cpp.
References SpellNonMeleeDamage::absorb, Unit::ApplyResilience(), ASSERT_NOTNULL, Unit::CalcAbsorbResist(), Unit::CalcArmorReducedDamage(), Unit::CalculateAOEAvoidance(), SpellEffectInfo::CalcValueMultiplier(), Unit::CanApplyResilience(), SpellNonMeleeDamage::damage, Unit::DealDamage(), Unit::DealDamageMods(), DOT, SpellEffectInfo::EffectAttributes, ThreatManager::ForwardThreatForAssistingMe(), DamageInfo::GetAbsorb(), GetAmountAsInt(), GetBase(), GetCasterGUID(), GetCritChanceFor(), HealInfo::GetEffectiveHeal(), BaseEntity::GetGUID(), DamageInfo::GetHitMask(), GetId(), DamageInfo::GetResist(), GetSpellEffectInfo(), GetSpellInfo(), Aura::GetStackAmount(), Unit::GetThreatManager(), EnumFlag< T >::HasFlag(), Unit::HealBySpell(), SpellNonMeleeDamage::HitInfo, Unit::IsAlive(), Unit::IsControlledByPlayer(), Unit::IsDamageReducedByArmor(), Unit::IsImmunedToDamage(), m_spellInfo, MELEE_HIT_NORMAL, CleanDamage::mitigated_damage, SpellNonMeleeDamage::originalDamage, SpellNonMeleeDamage::periodicLog, PROC_FLAG_DEAL_HARMFUL_PERIODIC, PROC_FLAG_DEAL_HELPFUL_PERIODIC, PROC_FLAG_TAKE_ANY_DAMAGE, PROC_FLAG_TAKE_HARMFUL_PERIODIC, PROC_FLAG_TAKE_HELPFUL_PERIODIC, PROC_HIT_CRITICAL, PROC_HIT_NORMAL, PROC_SPELL_PHASE_HIT, PROC_SPELL_TYPE_DAMAGE, PROC_SPELL_TYPE_HEAL, Unit::ProcSkillsAndAuras(), SpellNonMeleeDamage::resist, roll_chance(), SpellInfo::SchoolMask, Unit::SendSpellNonMeleeDamageLog(), SendTickImmune(), SPELL_ATTR4_IGNORE_DAMAGE_TAKEN_MODIFIERS, SPELL_ATTR5_TREAT_AS_AREA_EFFECT, SPELL_ATTR7_TREAT_AS_NPC_AOE, SPELL_EFFECT_PERSISTENT_AREA_AURA, SPELL_HIT_TYPE_CRIT, SPELL_MISS_NONE, Unit::SpellCriticalDamageBonus(), Unit::SpellDamageBonusDone(), Unit::SpellDamageBonusTaken(), Unit::SpellHealingBonusDone(), Unit::SpellHealingBonusTaken(), SuppressPointsStacking, TC_LOG_DEBUG, and ObjectGuid::ToString().
Referenced by PeriodicTick().
Definition at line 6086 of file SpellAuraEffects.cpp.
References CastSpellExtraArgs::AddSpellMod(), ThreatManager::AddThreat(), CalculatePct(), SpellEffectInfo::CalcValueMultiplier(), WorldObject::CastSpell(), EFFECT_1, GetAmountAsInt(), GetBase(), GetCasterGUID(), Unit::GetGuardianPet(), BaseEntity::GetGUID(), GetId(), GetMiscValue(), Unit::GetPowerType(), GetSpellEffectInfo(), GetSpellInfo(), Unit::GetThreatManager(), Unit::IsAlive(), Unit::IsImmunedToAuraPeriodicTick(), m_spellInfo, Unit::ModifyPower(), Unit::SendPeriodicAuraLog(), SendTickImmune(), SPELL_ATTR4_NO_HELPFUL_THREAT, SPELL_EFFECT_PERSISTENT_AREA_AURA, SPELL_MISS_NONE, SPELLFAMILY_WARLOCK, SpellInfo::SpellFamilyFlags, SpellInfo::SpellFamilyName, WorldObject::SpellHitResult(), SPELLVALUE_BASE_POINT0, TC_LOG_DEBUG, and ObjectGuid::ToString().
Referenced by PeriodicTick().
Definition at line 6215 of file SpellAuraEffects.cpp.
References SpellNonMeleeDamage::absorb, SpellNonMeleeDamage::attacker, BASE_ATTACK, Unit::CalculateSpellDamageTaken(), SpellEffectInfo::CalcValueMultiplier(), createProcHitMask(), SpellNonMeleeDamage::damage, Unit::DealDamageMods(), Unit::DealSpellDamage(), DOT, GetAmountAsInt(), GetBase(), GetMiscValue(), Unit::GetPowerType(), GetSpellEffectInfo(), GetSpellInfo(), Unit::IsAlive(), Unit::IsImmunedToDamage(), Unit::ModifyPower(), SpellNonMeleeDamage::periodicLog, PROC_FLAG_DEAL_HARMFUL_PERIODIC, PROC_FLAG_TAKE_ANY_DAMAGE, PROC_FLAG_TAKE_HARMFUL_PERIODIC, PROC_SPELL_PHASE_HIT, PROC_SPELL_TYPE_DAMAGE, PROC_SPELL_TYPE_NO_DMG_HEAL, Unit::ProcSkillsAndAuras(), SpellInfo::SchoolMask, Unit::SendSpellNonMeleeDamageLog(), SendTickImmune(), SPELL_MISS_NONE, and SpellNonMeleeDamage::target.
Referenced by PeriodicTick().
Definition at line 5718 of file SpellAuraEffects.cpp.
References GetBase(), GetEffIndex(), GetId(), GetSpellEffectInfo(), m_spellInfo, sSpellMgr, TC_LOG_DEBUG, TC_LOG_ERROR, TC_LOG_WARN, TRIGGERED_FULL_MASK, TRIGGERED_IGNORE_POWER_COST, TRIGGERED_IGNORE_REAGENT_COST, CastSpellExtraArgsInit::TriggerFlags, and SpellEffectInfo::TriggerSpell.
Referenced by PeriodicTick().
Definition at line 5742 of file SpellAuraEffects.cpp.
References CastSpellExtraArgs::AddSpellMod(), GetAmount(), GetBase(), GetEffIndex(), GetId(), GetSpellEffectInfo(), m_spellInfo, CastSpellExtraArgs::SetTriggerFlags(), SPELLVALUE_BASE_POINT0, sSpellMgr, TC_LOG_DEBUG, TC_LOG_ERROR, TC_LOG_WARN, TRIGGERED_FULL_MASK, TRIGGERED_IGNORE_POWER_COST, TRIGGERED_IGNORE_REAGENT_COST, and SpellEffectInfo::TriggerSpell.
Referenced by PeriodicTick().
| void AuraEffect::HandlePhase | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 1897 of file SpellAuraEffects.cpp.
References PhasingHandler::AddPhase(), AURA_EFFECT_HANDLE_REAL, GetMiscValueB(), AuraApplication::GetTarget(), and PhasingHandler::RemovePhase().
| void AuraEffect::HandlePhaseAlwaysVisible | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 1923 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), Unit::HasAuraType(), Player::IsGameMaster(), BaseEntity::IsPlayer(), PhasingHandler::SetAlwaysVisible(), SPELL_AURA_PHASE_ALWAYS_VISIBLE, and Object::ToPlayer().
| void AuraEffect::HandlePhaseGroup | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 1910 of file SpellAuraEffects.cpp.
References PhasingHandler::AddPhaseGroup(), AURA_EFFECT_HANDLE_REAL, GetMiscValueB(), AuraApplication::GetTarget(), and PhasingHandler::RemovePhaseGroup().
| void AuraEffect::HandlePlayScene | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6507 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, AURA_REMOVE_BY_EXPIRE, SceneMgr::CancelSceneBySceneId(), SceneMgr::GetInstanceIdBySceneId(), GetMiscValue(), AuraApplication::GetRemoveMode(), Player::GetSceneMgr(), AuraApplication::GetTarget(), SceneMgr::OnSceneComplete(), SceneMgr::PlayScene(), and Object::ToPlayer().
| void AuraEffect::HandlePreventFleeing | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
TODO: find a way to cancel fleeing for assistance. Currently this will only stop creatures fleeing due to low health that could not find nearby allies to flee towards.
Definition at line 3192 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), Unit::HasAuraType(), Unit::SetControlled(), SPELL_AURA_MOD_FEAR, and UNIT_STATE_FLEEING.
| void AuraEffect::HandlePreventResurrection | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 5691 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, WorldObject::GetMap(), AuraApplication::GetTarget(), Map::Instanceable(), PLAYER_LOCAL_FLAG_RELEASE_TIMER, Player::RemovePlayerLocalFlag(), Player::SetPlayerLocalFlag(), and Object::ToPlayer().
| void AuraEffect::HandleProc | ( | AuraApplication * | aurApp, |
| ProcEventInfo & | eventInfo | ||
| ) |
Definition at line 1463 of file SpellAuraEffects.cpp.
References Aura::CallScriptAfterEffectProcHandlers(), Aura::CallScriptEffectProcHandlers(), GetAuraType(), GetBase(), HandleBreakableCCAuraProc(), HandleProcTriggerDamageAuraProc(), HandleProcTriggerSpellAuraProc(), HandleProcTriggerSpellWithValueAuraProc(), SPELL_AURA_DUMMY, SPELL_AURA_MOD_CONFUSE, SPELL_AURA_MOD_FEAR, SPELL_AURA_MOD_ROOT, SPELL_AURA_MOD_ROOT_2, SPELL_AURA_MOD_STUN, SPELL_AURA_PROC_TRIGGER_DAMAGE, SPELL_AURA_PROC_TRIGGER_SPELL, SPELL_AURA_PROC_TRIGGER_SPELL_WITH_VALUE, and SPELL_AURA_TRANSFORM.
Referenced by Aura::TriggerProcOnEvent().
| void AuraEffect::HandleProcTriggerDamageAuraProc | ( | AuraApplication * | aurApp, |
| ProcEventInfo & | eventInfo | ||
| ) |
Definition at line 6338 of file SpellAuraEffects.cpp.
References SpellNonMeleeDamage::absorb, SpellNonMeleeDamage::attacker, Unit::CalculateSpellDamageTaken(), SpellNonMeleeDamage::damage, Unit::DealDamageMods(), Unit::DealSpellDamage(), ProcEventInfo::GetActionTarget(), ProcEventInfo::GetActor(), GetAmountAsInt(), GetBase(), GetId(), GetSpellEffectInfo(), GetSpellInfo(), AuraApplication::GetTarget(), Unit::IsImmunedToDamage(), Unit::SendSpellNonMeleeDamageLog(), SendTickImmune(), SPELL_DIRECT_DAMAGE, Unit::SpellDamageBonusDone(), Unit::SpellDamageBonusTaken(), SpellNonMeleeDamage::target, and TC_LOG_DEBUG.
Referenced by HandleProc().
| void AuraEffect::HandleProcTriggerSpellAuraProc | ( | AuraApplication * | aurApp, |
| ProcEventInfo & | eventInfo | ||
| ) |
Definition at line 6286 of file SpellAuraEffects.cpp.
References WorldObject::CastSpell(), ProcEventInfo::GetActionTarget(), ProcEventInfo::GetActor(), GetAuraType(), GetBase(), GetEffIndex(), GetId(), ProcEventInfo::GetProcSpell(), GetSpellEffectInfo(), GetSpellInfo(), AuraApplication::GetTarget(), ProcEventInfo::GetTypeMask(), CastSpellExtraArgs::SetTriggerFlags(), SPELL_ATTR8_TARGET_PROCS_ON_CASTER, SPELL_AURA_DUMMY, sSpellMgr, TAKEN_HIT_PROC_FLAG_MASK, TC_LOG_DEBUG, TC_LOG_ERROR, TC_LOG_WARN, TRIGGERED_FULL_MASK, TRIGGERED_IGNORE_POWER_COST, TRIGGERED_IGNORE_REAGENT_COST, and SpellEffectInfo::TriggerSpell.
Referenced by HandleProc().
| void AuraEffect::HandleProcTriggerSpellWithValueAuraProc | ( | AuraApplication * | aurApp, |
| ProcEventInfo & | eventInfo | ||
| ) |
Definition at line 6311 of file SpellAuraEffects.cpp.
References CastSpellExtraArgs::AddSpellMod(), WorldObject::CastSpell(), ProcEventInfo::GetActionTarget(), ProcEventInfo::GetActor(), GetAmount(), GetBase(), GetEffIndex(), GetId(), ProcEventInfo::GetProcSpell(), GetSpellEffectInfo(), GetSpellInfo(), AuraApplication::GetTarget(), ProcEventInfo::GetTypeMask(), CastSpellExtraArgs::SetTriggerFlags(), CastSpellExtraArgs::SetTriggeringSpell(), SPELL_ATTR8_TARGET_PROCS_ON_CASTER, SPELLVALUE_BASE_POINT0, sSpellMgr, TAKEN_HIT_PROC_FLAG_MASK, TC_LOG_DEBUG, TC_LOG_ERROR, TC_LOG_WARN, TRIGGERED_FULL_MASK, TRIGGERED_IGNORE_POWER_COST, TRIGGERED_IGNORE_REAGENT_COST, and SpellEffectInfo::TriggerSpell.
Referenced by HandleProc().
| void AuraEffect::HandleSetCantSwim | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 3056 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), AuraApplication::GetTarget(), Unit::HasAuraType(), and Unit::SetMoveCantSwim().
| void AuraEffect::HandleSetFFAPvP | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6615 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), Object::ToPlayer(), and Player::UpdatePvPState().
| void AuraEffect::HandleSetVignette | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 5683 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, GetMiscValue(), AuraApplication::GetTarget(), and Unit::SetVignette().
| void AuraEffect::HandleShapeshiftBoosts | ( | Unit * | target, |
| bool | apply | ||
| ) | const |
Definition at line 1498 of file SpellAuraEffects.cpp.
References WorldObject::CastSpell(), DIFFICULTY_NONE, FORM_AMBIENT, FORM_AQUATIC_FORM, FORM_BATTLE_STANCE, FORM_BEAR_FORM, FORM_BERSERKER_STANCE, FORM_CAT_FORM, FORM_DEFENSIVE_STANCE, FORM_DIRE_BEAR_FORM, FORM_FLIGHT_FORM, FORM_FLIGHT_FORM_EPIC, FORM_GHOST_WOLF, FORM_GHOUL, FORM_METAMORPHOSIS, FORM_MOONKIN_FORM, FORM_SHADOWFORM, FORM_SPIRIT_OF_REDEMPTION, FORM_STEALTH, FORM_TRAVEL_FORM, FORM_TREE_OF_LIFE, Unit::GetAppliedAuras(), Unit::GetAuraEffectsByType(), BaseEntity::GetGUID(), GetMiscValue(), Player::GetSpellMap(), BaseEntity::GetTypeId(), SpellInfo::HasAttribute(), Unit::HasAura(), SpellInfo::IsPassive(), PLAYERSPELL_REMOVED, Unit::RemoveAura(), Unit::RemoveOwnedAura(), SPELL_ATTR0_DO_NOT_DISPLAY_SPELLBOOK_AURA_ICON_COMBAT_LOG, SPELL_AURA_MOD_SHAPESHIFT, sSpellMgr, SpellInfo::Stances, Object::ToPlayer(), TYPEID_PLAYER, and UI64LIT.
Referenced by HandleAuraModShapeshift().
| void AuraEffect::HandleShieldBlockValue | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4907 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), AuraApplication::GetTarget(), SHIELD_BLOCK_VALUE, and Object::ToPlayer().
| void AuraEffect::HandleShieldBlockValuePercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4916 of file SpellAuraEffects.cpp.
References Player::ApplyBaseModPctValue(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), AuraApplication::GetTarget(), Unit::GetTotalAuraMultiplier(), Player::SetBaseModPctValue(), SHIELD_BLOCK_VALUE, SPELL_AURA_MOD_SHIELD_BLOCKVALUE_PCT, and Object::ToPlayer().
| void AuraEffect::HandleShowConfirmationPrompt | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6454 of file SpellAuraEffects.cpp.
References Player::AddTemporarySpell(), AURA_EFFECT_HANDLE_REAL, GetSpellEffectInfo(), AuraApplication::GetTarget(), Player::RemoveTemporarySpell(), and Object::ToPlayer().
| void AuraEffect::HandleSpiritOfRedemption | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 1845 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), BaseEntity::GetTypeId(), Unit::IsAlive(), Unit::IsStandState(), JUST_DIED, Unit::setDeathState(), Unit::SetStandState(), TYPEID_PLAYER, and UNIT_STAND_STATE_STAND.
| void AuraEffect::HandleStoreTeleportReturnPoint | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6708 of file SpellAuraEffects.cpp.
References Player::AddStoredAuraTeleportLocation(), AURA_EFFECT_HANDLE_REAL, Player::GetSession(), GetSpellInfo(), AuraApplication::GetTarget(), WorldSession::isLogingOut(), Player::RemoveStoredAuraTeleportLocation(), and Object::ToPlayer().
| void AuraEffect::HandleSuppressItemPassiveEffectBySpellLabel | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 6769 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, GetMiscValue(), Unit::GetOwnedAuras(), and AuraApplication::GetTarget().
| void AuraEffect::HandleTriggerSpellOnExpire | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 5557 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, AURA_REMOVE_BY_EXPIRE, WorldObject::CastSpell(), GetCaster(), GetMiscValue(), AuraApplication::GetRemoveMode(), GetSpellEffectInfo(), and AuraApplication::GetTarget().
| void AuraEffect::HandleTriggerSpellOnHealthPercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 4354 of file SpellAuraEffects.cpp.
References Above, AURA_EFFECT_HANDLE_REAL, Below, WorldObject::CastSpell(), GetAmount(), GetMiscValue(), GetSpellEffectInfo(), AuraApplication::GetTarget(), Unit::HealthAbovePct(), Unit::HealthBelowPct(), and SpellEffectInfo::TriggerSpell.
| void AuraEffect::HandleTriggerSpellOnPowerAmount | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 5529 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, WorldObject::CastSpell(), Gain, GetAmount(), GetMiscValue(), GetMiscValueB(), Unit::GetPower(), GetSpellEffectInfo(), AuraApplication::GetTarget(), Loss, and SpellEffectInfo::TriggerSpell.
| void AuraEffect::HandleTriggerSpellOnPowerPercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 5497 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_REAL, WorldObject::CastSpell(), Gain, GetAmount(), Unit::GetMaxPower(), GetMiscValue(), GetMiscValueB(), GetPctOf(), Unit::GetPower(), GetSpellEffectInfo(), AuraApplication::GetTarget(), Loss, and SpellEffectInfo::TriggerSpell.
|
inline |
Definition at line 135 of file SpellAuraEffects.h.
| void AuraEffect::HandleWaterBreathing | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) | const |
Definition at line 2939 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, AuraApplication::GetTarget(), and WorldObject::UpdatePositionData().
|
inline |
Definition at line 94 of file SpellAuraEffects.h.
| bool AuraEffect::IsAffectingSpell | ( | SpellInfo const * | spell | ) | const |
Definition at line 1286 of file SpellAuraEffects.cpp.
References GetSpellEffectInfo(), SpellInfo::IsAffected(), m_spellInfo, and SpellInfo::SpellFamilyName.
Referenced by SpellInfo::CalcPowerCost(), Unit::GetMaxNegativeAuraModifierByAffectMask(), Unit::GetMaxPositiveAuraModifierByAffectMask(), Unit::GetTotalAuraModifierByAffectMask(), Unit::GetTotalAuraMultiplierByAffectMask(), HandleModRecoveryRate(), Unit::MeleeDamageBonusTaken(), Unit::SpellCritChanceTaken(), Unit::SpellDamageBonusTaken(), Unit::SpellHealingBonusDone(), and Unit::SpellHealingBonusTaken().
|
inline |
Definition at line 91 of file SpellAuraEffects.h.
Referenced by Spell::prepare().
| void AuraEffect::PeriodicTick | ( | AuraApplication * | aurApp, |
| Unit * | caster | ||
| ) | const |
Definition at line 1304 of file SpellAuraEffects.cpp.
References Aura::CallScriptEffectPeriodicHandlers(), GetAuraType(), GetBase(), BaseEntity::GetGUID(), AuraApplication::GetTarget(), ObjectAccessor::GetWorldObject(), HandleObsModPowerAuraTick(), HandlePeriodicDamageAurasTick(), HandlePeriodicEnergizeAuraTick(), HandlePeriodicHealAurasTick(), HandlePeriodicHealthFunnelAuraTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicManaLeechAuraTick(), HandlePeriodicPowerBurnAuraTick(), HandlePeriodicTriggerSpellAuraTick(), HandlePeriodicTriggerSpellWithValueAuraTick(), SpellInfo::HasAttribute(), SpellInfo::IsChanneled(), BaseEntity::IsPlayer(), m_spellInfo, Unit::m_unitData, Unit::SetInFront(), SPELL_ATTR1_TRACK_TARGET_IN_CHANNEL, SPELL_AURA_OBS_MOD_HEALTH, SPELL_AURA_OBS_MOD_POWER, SPELL_AURA_PERIODIC_DAMAGE, SPELL_AURA_PERIODIC_DAMAGE_PERCENT, SPELL_AURA_PERIODIC_DUMMY, SPELL_AURA_PERIODIC_ENERGIZE, SPELL_AURA_PERIODIC_HEAL, SPELL_AURA_PERIODIC_HEALTH_FUNNEL, SPELL_AURA_PERIODIC_LEECH, SPELL_AURA_PERIODIC_MANA_LEECH, SPELL_AURA_PERIODIC_TRIGGER_SPELL, SPELL_AURA_PERIODIC_TRIGGER_SPELL_FROM_CLIENT, SPELL_AURA_PERIODIC_TRIGGER_SPELL_WITH_VALUE, SPELL_AURA_PERIODIC_WEAPON_PERCENT_DAMAGE, and SPELL_AURA_POWER_BURN.
Referenced by Update().
|
inline |
Definition at line 75 of file SpellAuraEffects.h.
Referenced by spell_item_echoing_blades::PrepareProc().
|
inline |
Definition at line 76 of file SpellAuraEffects.h.
| void AuraEffect::ResetPeriodic | ( | bool | resetPeriodicTimer = false | ) |
Definition at line 952 of file SpellAuraEffects.cpp.
References _period, _periodicTimer, _ticksDone, SpellInfo::HasAttribute(), m_spellInfo, and SPELL_ATTR5_EXTRA_INITIAL_PERIOD.
Referenced by CalculatePeriodic(), and spell_hun_trailblazer::HandleProc().
|
inline |
Definition at line 89 of file SpellAuraEffects.h.
Definition at line 1298 of file SpellAuraEffects.cpp.
References SpellInfo::Id, m_spellInfo, and Unit::SendSpellDamageImmune().
Referenced by HandleObsModPowerAuraTick(), HandlePeriodicDamageAurasTick(), HandlePeriodicEnergizeAuraTick(), HandlePeriodicHealAurasTick(), HandlePeriodicHealthFunnelAuraTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicManaLeechAuraTick(), HandlePeriodicPowerBurnAuraTick(), and HandleProcTriggerDamageAuraProc().
|
inline |
Definition at line 61 of file SpellAuraEffects.h.
Referenced by ChangeAmount(), spell_brutallus_burn::HandleEffectPeriodicUpdate(), spell_kalecgos_curse_of_boundless_agony::HandleEffectPeriodicUpdate(), spell_reliquary_of_souls_aura_of_anger::HandleEffectPeriodicUpdate(), spell_oculus_temporal_rift::HandleProc(), spell_warl_seed_of_corruption_generic::HandleProc(), spell_warl_seed_of_corruption_dummy_aura::HandleProc(), spell_dru_wild_growth_aura::HandleTickUpdate(), spell_baleroc_vital_flame::OnApply(), spell_the_lich_king_infest::OnUpdate(), spell_moragg_optic_link::OnUpdate(), and spell_item_echoing_blades::ReduceCounter().
|
inline |
Definition at line 78 of file SpellAuraEffects.h.
|
inline |
Definition at line 92 of file SpellAuraEffects.h.
Referenced by spell_gen_arena_drink::UpdatePeriodic().
|
inline |
Definition at line 66 of file SpellAuraEffects.h.
Referenced by spell_dreamwalker_decay_periodic_timer::DecayPeriodicTimer().
Definition at line 1253 of file SpellAuraEffects.cpp.
References _period, _periodicTimer, _ticksDone, Aura::CallScriptEffectUpdatePeriodicHandlers(), GetApplicationList(), GetBase(), GetTotalTicks(), m_isPeriodic, and PeriodicTick().
|
friend |
|
friend |
Definition at line 33 of file SpellAuraEffects.h.
|
private |
Definition at line 116 of file SpellAuraEffects.h.
Referenced by AuraEffect(), and ChangeAmount().
|
private |
Definition at line 117 of file SpellAuraEffects.h.
Referenced by CalculateAmount().
|
private |
Definition at line 121 of file SpellAuraEffects.h.
Referenced by CalculatePeriodic(), GetTotalTicks(), ResetPeriodic(), and Update().
|
private |
Definition at line 120 of file SpellAuraEffects.h.
Referenced by CalculatePeriodic(), ResetPeriodic(), and Update().
|
private |
Definition at line 122 of file SpellAuraEffects.h.
Referenced by CalculatePeriodic(), HandlePeriodicDamageAurasTick(), ResetPeriodic(), and Update().
|
private |
Definition at line 108 of file SpellAuraEffects.h.
|
private |
Definition at line 115 of file SpellAuraEffects.h.
Referenced by Unit::_TryStackingOrRefreshingExistingAura(), and CalculateAmount().
|
private |
Definition at line 124 of file SpellAuraEffects.h.
Referenced by CalculateAmount().
|
private |
Definition at line 111 of file SpellAuraEffects.h.
Referenced by CalculateAmount().
|
private |
Definition at line 125 of file SpellAuraEffects.h.
Referenced by CalculatePeriodic(), and Update().
|
private |
Definition at line 110 of file SpellAuraEffects.h.
Referenced by CalculateAmount(), CalculatePeriodic(), GetTotalTicks(), HandleAuraDummy(), HandleAuraLinked(), HandleAuraModDispelImmunity(), HandleAuraModDmgImmunity(), HandleAuraModEffectImmunity(), HandleAuraModPacifyAndSilence(), HandleAuraModSchoolImmunity(), HandleAuraModStateImmunity(), HandleModMechanicImmunity(), HandleModMechanicImmunityMask(), HandleModTotalPercentStat(), HandlePeriodicDamageAurasTick(), HandlePeriodicHealAurasTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicManaLeechAuraTick(), HandlePeriodicTriggerSpellAuraTick(), HandlePeriodicTriggerSpellWithValueAuraTick(), IsAffectingSpell(), PeriodicTick(), ResetPeriodic(), and SendTickImmune().
|
private |
Definition at line 113 of file SpellAuraEffects.h.
Referenced by ApplySpellMod(), CalculateSpellMod(), and ~AuraEffect().