![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "SpellAuraEffects.h"
Public Member Functions | |
Unit * | GetCaster () const |
ObjectGuid | GetCasterGUID () const |
Aura * | GetBase () const |
void | GetTargetList (std::list< Unit * > &targetList) const |
void | GetApplicationList (std::list< AuraApplication * > &applicationList) const |
SpellModifier * | GetSpellModifier () const |
SpellInfo const * | GetSpellInfo () const |
uint32 | GetId () const |
uint32 | GetEffIndex () const |
int32 | GetBaseAmount () const |
int32 | GetAmplitude () const |
int32 | GetMiscValueB () const |
int32 | GetMiscValue () const |
AuraType | GetAuraType () const |
int32 | GetAmount () const |
int32 | GetForcedAmount () const |
void | SetAmount (int32 amount) |
int32 | GetPeriodicTimer () const |
void | SetPeriodicTimer (int32 periodicTimer) |
int32 | CalculateAmount (Unit *caster) |
void | CalculatePeriodic (Unit *caster, bool create=false, bool load=false) |
void | CalculatePeriodicData () |
void | CalculateSpellMod () |
void | ChangeAmount (int32 newAmount, bool mark=true, bool onStackOrReapply=false) |
void | RecalculateAmount () |
void | RecalculateAmount (Unit *caster) |
bool | CanBeRecalculated () const |
void | SetCanBeRecalculated (bool val) |
void | HandleEffect (AuraApplication *aurApp, uint8 mode, bool apply) |
void | HandleEffect (Unit *target, uint8 mode, bool apply) |
void | ApplySpellMod (Unit *target, bool apply) |
void | Update (uint32 diff, Unit *caster) |
void | UpdatePeriodic (Unit *caster) |
uint32 | GetTickNumber () const |
int32 | GetTotalTicks () const |
void | ResetPeriodic (bool resetPeriodicTimer=false) |
void | ResetTicks () |
bool | IsPeriodic () const |
void | SetPeriodic (bool isPeriodic) |
bool | IsAffectedOnSpell (SpellInfo const *spell) const |
bool | HasSpellClassMask () const |
void | SendTickImmune (Unit *target, Unit *caster) const |
void | PeriodicTick (AuraApplication *aurApp, Unit *caster) const |
void | HandleProc (AuraApplication *aurApp, ProcEventInfo &eventInfo) |
void | CleanupTriggeredSpells (Unit *target) |
void | HandleShapeshiftBoosts (Unit *target, bool apply) const |
float | GetCritChance () const |
void | SetCritChance (float crit) |
uint8 | GetCasterLevel () const |
bool | CanApplyResilience () const |
float | GetPctMods () const |
uint32 | GetAuraGroup () const |
int32 | GetOldAmount () const |
void | SetOldAmount (int32 amount) |
void | SetEnabled (bool enabled) |
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 | 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 | HandleAuraAllowOnlyAbility (AuraApplication const *aurApp, uint8 mode, bool apply) const |
void | HandleAuraTrackResources (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 | HandleAuraModPetTalentsPoints (AuraApplication const *aurApp, uint8 mode, bool apply) const |
void | HandleAuraModSkill (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 | HandleForceMoveForward (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 | 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 | 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 | HandleModStateImmunityMask (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 | HandleAuraModResistanceExclusive (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 | HandleModSpellDamagePercentFromAttackPower (AuraApplication const *aurApp, uint8 mode, bool apply) const |
void | HandleModSpellHealingPercentFromAttackPower (AuraApplication const *aurApp, uint8 mode, bool apply) const |
void | HandleModHealingDone (AuraApplication const *aurApp, uint8 mode, bool apply) const |
void | HandleModTotalPercentStat (AuraApplication const *aurApp, uint8 mode, bool apply) const |
void | HandleAuraModResistenceOfStatPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
void | HandleAuraModExpertise (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 | HandleModManaRegen (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 | 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 | HandleModHitChance (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 | HandleModSpellCritChanceShool (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 | HandleModMeleeRangedSpeedPct (AuraApplication const *aurApp, uint8 mode, bool apply) const |
void | HandleModCombatSpeedPct (AuraApplication const *aurApp, uint8 mode, bool apply) const |
void | HandleModAttackSpeed (AuraApplication const *aurApp, uint8 mode, bool apply) const |
void | HandleModMeleeSpeedPct (AuraApplication const *aurApp, uint8 mode, bool apply) const |
void | HandleAuraModRangedHaste (AuraApplication const *aurApp, uint8 mode, bool apply) const |
void | HandleRangedAmmoHaste (AuraApplication const *aurApp, uint8 mode, bool apply) const |
void | HandleModRating (AuraApplication const *aurApp, uint8 mode, bool apply) const |
void | HandleModRatingFromStat (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 | HandleAuraModRangedAttackPowerOfStatPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
void | HandleAuraModAttackPowerOfStatPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
void | HandleAuraModAttackPowerOfArmor (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 | HandleModPowerCostPCT (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 | HandleAuraRetainComboPoints (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 | HandleFarSight (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 | HandleComprehendLanguage (AuraApplication const *aurApp, uint8 mode, bool apply) const |
void | HandleAuraConvertRune (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 | HandleAuraSetVehicle (AuraApplication const *aurApp, uint8 mode, bool apply) const |
void | HandlePreventResurrection (AuraApplication const *aurApp, uint8 mode, bool apply) const |
void | HandlePeriodicDummyAuraTick (Unit *target, Unit *caster) 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 |
void | HandleProcTriggerSpellAuraProc (AuraApplication *aurApp, ProcEventInfo &eventInfo) |
void | HandleProcTriggerSpellWithValueAuraProc (AuraApplication *aurApp, ProcEventInfo &eventInfo) |
void | HandleProcTriggerDamageAuraProc (AuraApplication *aurApp, ProcEventInfo &eventInfo) |
void | HandleRaidProcFromChargeAuraProc (AuraApplication *aurApp, ProcEventInfo &eventInfo) |
void | HandleRaidProcFromChargeWithValueAuraProc (AuraApplication *aurApp, ProcEventInfo &eventInfo) |
Private Member Functions | |
friend | Aura::~Aura () |
~AuraEffect () | |
AuraEffect (Aura *base, uint8 effIndex, int32 *baseAmount, Unit *caster) | |
float | CalcPeriodicCritChance (Unit const *caster, Unit const *target) const |
Private Attributes | |
Aura *const | m_base |
SpellInfo const *const | m_spellInfo |
int32 const | m_baseAmount |
bool | m_applyResilience |
uint8 | m_casterLevel |
int32 | m_amount |
float | m_critChance |
float | m_pctMods |
uint32 | m_auraGroup |
int32 | m_oldAmount |
bool | m_isAuraEnabled |
ChannelTargetData * | m_channelData |
SpellModifier * | m_spellmod |
int32 | m_periodicTimer |
int32 | m_amplitude |
uint32 | m_tickNumber |
uint8 const | m_effIndex |
bool | m_canBeRecalculated |
bool | m_isPeriodic |
Friends | |
void | Aura::_InitEffects (uint8 effMask, Unit *caster, int32 *baseAmount) |
Aura * | Unit::_TryStackingOrRefreshingExistingAura (SpellInfo const *newAura, uint8 effMask, Unit *caster, int32 *baseAmount, Item *castItem, ObjectGuid casterGUID, bool noPeriodicReset) |
|
private |
|
private |
References m_channelData, and m_spellmod.
|
explicitprivate |
References CalculateAmount(), CalculatePeriodic(), CalculatePeriodicData(), CalculateSpellMod(), Unit::CanApplyResilience(), CURRENT_CHANNELED_SPELL, Unit::GetCurrentSpell(), Object::GetGuidValue(), GetId(), Unit::GetLevel(), m_amount, m_applyResilience, m_auraGroup, m_casterLevel, m_channelData, sSpellMgr, and UNIT_FIELD_CHANNEL_OBJECT.
void AuraEffect::ApplySpellMod | ( | Unit * | target, |
bool | apply | ||
) |
References Player::AddSpellMod(), Unit::GetAppliedAuras(), GetBase(), Aura::GetCasterGUID(), Aura::GetEffect(), Object::GetGUID(), GetMiscValue(), Player::GetPet(), Aura::GetSpellInfo(), Object::GetTypeId(), SpellInfo::IsAffectedBySpellMod(), Aura::IsPassive(), Aura::IsPermanent(), m_spellmod, MAX_SPELL_EFFECTS, SPELLMOD_ALL_EFFECTS, SPELLMOD_EFFECT1, SPELLMOD_EFFECT2, SPELLMOD_EFFECT3, Object::ToPlayer(), and TYPEID_PLAYER.
Referenced by HandleEffect().
References BASE_ATTACK, GetSpellInfo(), Unit::GetSpellModOwner(), RANGED_ATTACK, SPELL_AURA_ABILITY_PERIODIC_CRIT, SPELL_DAMAGE_CLASS_RANGED, SPELLFAMILY_ROGUE, and Unit::SpellTakenCritChance().
Referenced by CalculatePeriodicData().
References AddPct(), ItemRandomSuffixEntry::AllocationPct, BASE_ATTACK, Aura::CallScriptEffectCalcAmountHandlers(), DOT, SpellInfo::Effects, ItemRandomSuffixEntry::Enchantment, Unit::GetAuraEffectsByType(), GetAuraType(), GetBase(), GetEffIndex(), GetId(), GetPctMods(), GetSpellInfo(), Aura::GetStackAmount(), Item::GetTemplate(), Player::GetWeaponForAttack(), SpellInfo::HasAura(), SpellInfo::Id, ItemTemplate::InventoryType, INVTYPE_2HWEAPON, m_baseAmount, m_canBeRecalculated, m_effIndex, m_spellInfo, MAX_ITEM_ENCHANTMENT_EFFECTS, MAX_SPELL_ITEM_ENCHANTMENT_EFFECTS, OFF_ATTACK, SpellInfo::ProcFlags, SetOldAmount(), sItemRandomSuffixStore, SPELL_AURA_DAMAGE_SHIELD, SPELL_AURA_MANA_SHIELD, SPELL_AURA_MOD_CONFUSE, SPELL_AURA_MOD_DAMAGE_PERCENT_DONE, SPELL_AURA_MOD_FEAR, SPELL_AURA_MOD_ROOT, SPELL_AURA_MOD_STUN, SPELL_AURA_OVERRIDE_CLASS_SCRIPTS, SPELL_AURA_PERIODIC_DAMAGE, SPELL_AURA_PERIODIC_HEAL, SPELL_AURA_PERIODIC_LEECH, SPELL_AURA_PROC_TRIGGER_SPELL, SPELL_AURA_SCHOOL_ABSORB, SPELL_AURA_TRANSFORM, SPELL_DIRECT_DAMAGE, Unit::SpellDamageBonusDone(), Unit::SpellHealingBonusDone(), SpellItemEnchantmentEntry::spellid, sSpellItemEnchantmentStore, Object::ToPlayer(), and UNIT_AURA_TYPE.
Referenced by AuraEffect(), spell_dk_pet_scaling::HandlePeriodic(), spell_hun_generic_scaling::HandlePeriodic(), spell_mage_pet_scaling::HandlePeriodic(), spell_sha_feral_spirit_scaling::HandlePeriodic(), spell_warl_generic_scaling::HandlePeriodic(), and RecalculateAmount().
void AuraEffect::CalculatePeriodic | ( | Unit * | caster, |
bool | create = false , |
||
bool | load = false |
||
) |
References Player::ApplySpellMod(), Aura::CallScriptEffectCalcPeriodicHandlers(), SpellInfo::Effects, GetAuraType(), GetBase(), Aura::GetDuration(), Object::GetFloatValue(), GetId(), GetSpellInfo(), Unit::GetSpellModOwner(), SpellInfo::HasAttribute(), Unit::HasAuraTypeWithAffectMask(), IN_MILLISECONDS, Aura::IsPassive(), Unit::IsTotem(), m_amplitude, m_effIndex, m_isPeriodic, m_periodicTimer, m_spellInfo, m_tickNumber, Aura::SetDuration(), SPELL_ATTR5_EXTRA_INITIAL_PERIOD, SPELL_ATTR5_SPELL_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_HASTE, SPELL_AURA_PERIODIC_HEAL, SPELL_AURA_PERIODIC_HEALTH_FUNNEL, SPELL_AURA_PERIODIC_LEECH, SPELL_AURA_PERIODIC_MANA_LEECH, SPELL_AURA_PERIODIC_TRIGGER_SPELL, SPELL_AURA_PERIODIC_TRIGGER_SPELL_FROM_CLIENT, SPELL_AURA_PERIODIC_TRIGGER_SPELL_WITH_VALUE, SPELL_AURA_POWER_BURN, SPELLMOD_ACTIVATION_TIME, and UNIT_MOD_CAST_SPEED.
Referenced by AuraEffect(), spell_shadowfang_keep_haunting_spirits::spell_shadowfang_keep_haunting_spirits_AuraScript::HandleUpdatePeriodic(), and Aura::SetLoadedState().
void AuraEffect::CalculatePeriodicData | ( | ) |
References CalcPeriodicCritChance(), DOT, GetBase(), GetCaster(), GetSpellInfo(), SpellInfo::HasAura(), m_pctMods, m_spellInfo, SetCritChance(), SPELL_AURA_PERIODIC_DAMAGE, SPELL_AURA_PERIODIC_HEAL, SPELL_AURA_PERIODIC_LEECH, Unit::SpellPctDamageModsDone(), Unit::SpellPctHealingModsDone(), and UNIT_AURA_TYPE.
Referenced by AuraEffect().
void AuraEffect::CalculateSpellMod | ( | ) |
References Aura::CallScriptEffectCalcSpellModHandlers(), SpellModifier::charges, SpellInfo::Effects, GetAmount(), GetAuraType(), GetBase(), Aura::GetCharges(), GetEffIndex(), GetId(), GetMiscValue(), GetSpellInfo(), m_spellmod, SpellModifier::mask, SpellModifier::op, SPELL_AURA_ADD_FLAT_MODIFIER, SPELL_AURA_ADD_PCT_MODIFIER, SpellModifier::spellId, SpellModifier::type, and SpellModifier::value.
Referenced by AuraEffect(), ChangeAmount(), and Aura::SetLoadedState().
|
inline |
References m_applyResilience.
Referenced by HandlePeriodicDamageAurasTick(), and HandlePeriodicHealthLeechAuraTick().
|
inline |
References m_canBeRecalculated.
Referenced by Pet::_SaveAuras(), RecalculateAmount(), and Unit::RemoveAurasDueToSpellBySteal().
void AuraEffect::ChangeAmount | ( | int32 | newAmount, |
bool | mark = true , |
||
bool | onStackOrReapply = false |
||
) |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT, AURA_EFFECT_HANDLE_REAPPLY, CalculateSpellMod(), GetAmount(), GetApplicationList(), GetEffIndex(), HandleEffect(), m_amount, and SetAmount().
Referenced by spell_dk_pet_scaling::HandlePeriodic(), spell_hun_generic_scaling::HandlePeriodic(), spell_mage_pet_scaling::HandlePeriodic(), spell_sha_feral_spirit_scaling::HandlePeriodic(), spell_warl_generic_scaling::HandlePeriodic(), RecalculateAmount(), Unit::RemoveMovementImpairingAuras(), and Aura::SetStackAmount().
void AuraEffect::CleanupTriggeredSpells | ( | Unit * | target | ) |
References SpellInfo::Effects, GetCasterGUID(), SpellInfo::GetDuration(), GetEffIndex(), m_spellInfo, Unit::RemoveAurasDueToSpell(), SPELL_AURA_PERIODIC_TRIGGER_SPELL, and sSpellMgr.
Referenced by AuraApplication::_HandleEffect().
|
inline |
References m_amount, and m_isAuraEnabled.
Referenced by Player::_ApplyWeaponDependentAuraCritMod(), Player::_ApplyWeaponDependentAuraDamageMod(), AuraApplication::_HandleEffect(), Pet::_SaveAuras(), spell_dru_survival_instincts_aura::AfterApply(), spell_the_lich_king_necrotic_plague_jump::spell_the_lich_king_necrotic_plague_AuraScript::AfterDispel(), spell_dru_lifebloom::AfterRemove(), spell_mage_living_bomb::AfterRemove(), Unit::CalcAbsorbResist(), Unit::CalcHealAbsorb(), spell_sha_earth_shield::CalculateAmount(), CalculateSpellMod(), ChangeAmount(), Spell::EffectHeal(), Spell::EffectSchoolDMG(), spell_nether_portal_perseverence::HandleApply(), spell_warl_glyph_of_felguard::HandleApply(), spell_pri_renew::HandleApplyEffect(), HandleAuraDummy(), HandleAuraIncreaseBaseHealthPercent(), HandleAuraLinked(), HandleAuraModAttackPower(), HandleAuraModAttackPowerPercent(), HandleAuraModBaseResistancePCT(), HandleAuraModCritPct(), HandleAuraModFakeInebriation(), HandleAuraModIncreaseEnergy(), HandleAuraModIncreaseEnergyPercent(), HandleAuraModIncreaseHealth(), HandleAuraModIncreaseHealthPercent(), HandleAuraModIncreaseMaxHealth(), HandleAuraModRangedAttackPower(), HandleAuraModRangedAttackPowerPercent(), HandleAuraModRangedHaste(), HandleAuraModResistance(), HandleAuraModResistanceExclusive(), HandleAuraModSkill(), HandleAuraModStat(), HandleAuraModTotalThreat(), HandleAuraModWeaponCritPercent(), Unit::HandleAuraRaidProcFromChargeWithValue(), HandleAuraRetainComboPoints(), Aura::HandleAuraSpecificMods(), HandleChannelDeathItem(), spell_dk_raise_ally::HandleDummy(), Unit::HandleDummyAuraProc(), spell_shadowfang_keep_haunting_spirits::spell_shadowfang_keep_haunting_spirits_AuraScript::HandleDummyTick(), spell_dk_improved_blood_presence::HandleEffectApply(), spell_dk_improved_frost_presence::HandleEffectApply(), spell_dk_improved_unholy_presence::HandleEffectApply(), spell_dru_idol_lifebloom::HandleEffectCalcSpellMod(), spell_pal_exorcism_and_holy_wrath_damage::HandleEffectCalcSpellMod(), spell_warl_improved_demonic_tactics::HandleEffectCalcSpellMod(), spell_warr_glyph_of_sunder_armor::HandleEffectCalcSpellMod(), spell_gen_leeching_swarm::spell_gen_leeching_swarm_AuraScript::HandleEffectPeriodic(), spell_hallows_end_base_fire::HandleEffectPeriodicUpdate(), spell_gen_burn_brutallus::HandleEffectPeriodicUpdate(), spell_sha_item_t10_elemental_2p_bonus::HandleEffectProc(), HandleModAttackSpeed(), HandleModBaseResistance(), HandleModCastingSpeed(), HandleModCombatSpeedPct(), HandleModDamageDone(), HandleModDamagePercentDone(), HandleModHitChance(), HandleModInvisibility(), HandleModInvisibilityDetect(), HandleModMeleeRangedSpeedPct(), HandleModMeleeSpeedPct(), HandleModOffhandDamagePercent(), HandleModPowerCost(), HandleModPowerCostPCT(), HandleModRating(), HandleModResistancePercent(), HandleModSpellCritChance(), HandleModSpellHitChance(), HandleModStateImmunityMask(), HandleModStealth(), HandleModStealthDetect(), HandleModStealthLevel(), HandleModTargetResistance(), HandleModThreat(), HandleModTotalPercentStat(), Unit::HandleOverrideClassScriptAuraProc(), spell_dk_chains_of_ice_aura::HandlePeriodic(), spell_ragin_flames_inferno::spell_ragin_flames_inferno_AuraScript::HandlePeriodic(), spell_dk_death_and_decay_aura::HandlePeriodic(), spell_dk_pet_scaling::HandlePeriodic(), spell_hun_generic_scaling::HandlePeriodic(), spell_hun_sniper_training::HandlePeriodic(), spell_mage_pet_scaling::HandlePeriodic(), spell_sha_feral_spirit_scaling::HandlePeriodic(), spell_warl_generic_scaling::HandlePeriodic(), HandlePeriodicDamageAurasTick(), HandlePeriodicHealthFunnelAuraTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicTriggerSpellAuraTick(), HandlePeriodicTriggerSpellWithValueAuraTick(), spell_dru_living_seed_proc::HandleProc(), spell_sha_earth_shield::HandleProc(), spell_oculus_temporal_rift::spell_oculus_temporal_rift_AuraScript::HandleProc(), spell_dk_wandering_plague_aura::HandleProc(), spell_dru_t10_balance_4p_bonus::HandleProc(), spell_dru_living_seed::HandleProc(), spell_hun_glyph_of_arcane_shot::HandleProc(), spell_item_necrotic_touch::HandleProc(), spell_mage_burnout::HandleProc(), spell_mage_master_of_elements::HandleProc(), spell_pal_sacred_shield_base::HandleProc(), spell_pri_divine_aegis::HandleProc(), spell_pri_glyph_of_prayer_of_healing::HandleProc(), spell_sha_t10_restoration_4p_bonus::HandleProc(), spell_hun_lock_and_load::HandleProcs(), HandleProcTriggerDamageAuraProc(), Unit::HandleProcTriggerSpell(), HandleProcTriggerSpellWithValueAuraProc(), HandleRaidProcFromChargeWithValueAuraProc(), HandleRangedAmmoHaste(), spell_warl_haunt_aura::HandleRemove(), spell_warl_glyph_of_felguard::HandleRemove(), HandleShieldBlockValue(), spell_hun_sniper_training::HandleUpdatePeriodic(), Aura::IsAuraStronger(), spell_valanar_kinetic_bomb_absorb::spell_valanar_kinetic_bomb_absorb_AuraScript::OnAbsorb(), spell_alar_ember_blast_death::spell_alar_ember_blast_death_AuraScript::OnApply(), spell_the_lich_king_necrotic_plague_jump::spell_the_lich_king_necrotic_plague_AuraScript::OnDispel(), spell_kalecgos_curse_of_boundless_agony::spell_kalecgos_curse_of_boundless_agony_AuraScript::OnPeriodic(), spell_xt002_gravity_bomb_aura::spell_xt002_gravity_bomb_aura_AuraScript::OnPeriodic(), spell_lurker_below_spout::spell_lurker_below_spout_AuraScript::OnPeriodic(), spell_blood_queen_essence_of_the_blood_queen::spell_blood_queen_essence_of_the_blood_queen_AuraScript::OnProc(), spell_pal_eye_for_an_eye::OnProc(), spell_warl_siphon_life::OnProc(), spell_warl_fel_synergy::OnProc(), spell_warr_improved_spell_reflection::OnProc(), spell_warr_damage_shield::OnProc(), spell_sindragosa_instability::spell_sindragosa_instability_AuraScript::OnRemove(), spell_the_lich_king_necrotic_plague_jump::spell_the_lich_king_necrotic_plague_AuraScript::OnRemove(), spell_shield_of_runes::spell_shield_of_runes_AuraScript::OnRemove(), spell_xt002_gravity_bomb_aura::spell_xt002_gravity_bomb_aura_AuraScript::OnRemove(), spell_xt002_searing_light_spawn_life_spark::spell_xt002_searing_light_spawn_life_spark_AuraScript::OnRemove(), spell_ulduar_stone_grip::spell_ulduar_stone_grip_AuraScript::OnRemoveStun(), spell_the_lich_king_infest::spell_the_lich_king_infest_AuraScript::OnUpdate(), spell_karazhan_overload::spell_karazhan_overload_AuraScript::PeriodicTick(), spell_icc_yh_volley::spell_icc_yh_volley_AuraScript::PrepareAuraScript(), spell_serpentshrine_cavern_infection::spell_serpentshrine_cavern_infection_AuraScript::PrepareAuraScript(), Unit::ProcDamageAndSpellFor(), Unit::RemoveAurasDueToSpellBySteal(), ArenaSpectator::ShouldSendAura(), spell_mother_shahraz_fatal_attraction_aura::spell_mother_shahraz_fatal_attraction_aura_AuraScript::Update(), spell_black_temple_shadow_inferno::spell_black_temple_shadow_inferno_AuraScript::Update(), spell_black_temple_spell_absorption::spell_black_temple_spell_absorption_AuraScript::Update(), Player::UpdateAttackPowerAndDamage(), UpdatePeriodic(), and SpellInfo::ValidateAttribute6SpellDamageMods().
|
inline |
References m_amplitude.
Referenced by spell_igb_rocket_pack::spell_igb_rocket_pack_AuraScript::HandleRemove().
void AuraEffect::GetApplicationList | ( | std::list< AuraApplication * > & | applicationList | ) | const |
References Aura::GetApplicationMap(), GetBase(), and GetEffIndex().
Referenced by ChangeAmount(), and Update().
|
inline |
AuraType AuraEffect::GetAuraType | ( | ) | const |
References SpellInfo::Effects, m_effIndex, and m_spellInfo.
Referenced by Player::_ApplyWeaponDependentAuraDamageMod(), AuraApplication::_HandleEffect(), Unit::_RegisterAuraEffect(), CalculateAmount(), CalculatePeriodic(), CalculateSpellMod(), HandleArenaPreparation(), HandleAuraAllowFlight(), HandleAuraEmpathy(), HandleAuraFeatherFall(), HandleAuraHover(), HandleAuraModDisarm(), HandleAuraModIncreaseFlightSpeed(), HandleAuraModSchoolImmunity(), HandleAuraModSkill(), HandleAuraModStalked(), HandleAuraTrackStealthed(), HandleAuraUntrackable(), HandleAuraWaterWalk(), HandleComprehendLanguage(), HandleEffect(), spell_dk_pet_scaling::HandleEffectApply(), spell_dru_treant_scaling::HandleEffectApply(), spell_pet_hit_expertise_scalling::HandleEffectApply(), spell_mage_pet_scaling::HandleEffectApply(), spell_pri_shadowfiend_scaling::HandleEffectApply(), spell_sha_feral_spirit_scaling::HandleEffectApply(), spell_sha_fire_elemental_scaling::HandleEffectApply(), spell_warl_infernal_scaling::HandleEffectApply(), HandleForceMoveForward(), spell_dk_pet_scaling::HandlePeriodic(), spell_hun_generic_scaling::HandlePeriodic(), spell_mage_pet_scaling::HandlePeriodic(), spell_sha_feral_spirit_scaling::HandlePeriodic(), spell_warl_generic_scaling::HandlePeriodic(), HandlePeriodicDamageAurasTick(), HandlePeriodicHealAurasTick(), HandleProc(), Unit::HandleProcTriggerSpell(), HandleShieldBlockValue(), Aura::IsAuraStronger(), PeriodicTick(), Unit::ProcDamageAndSpellFor(), Player::RestoreBaseRune(), Unit::SendPeriodicAuraLog(), ArenaSpectator::ShouldSendAura(), and UpdatePeriodic().
|
inline |
References m_base.
Referenced by AuraApplication::_HandleEffect(), ApplySpellMod(), Unit::CalcAbsorbResist(), Unit::CalcHealAbsorb(), CalculateAmount(), CalculatePeriodic(), CalculatePeriodicData(), CalculateSpellMod(), Spell::EffectHeal(), Spell::EffectSchoolDMG(), spell_festergut_blighted_spores::spell_festergut_blighted_spores_AuraScript::ExtraEffect(), GetApplicationList(), GetCaster(), GetCasterGUID(), GetTargetList(), GetTotalTicks(), HandleAuraDummy(), HandleAuraLinked(), HandleAuraModShapeshift(), HandleAuraModStateImmunity(), HandleAuraMounted(), Unit::HandleAuraRaidProcFromCharge(), Unit::HandleAuraRaidProcFromChargeWithValue(), HandleAuraRetainComboPoints(), Unit::HandleDummyAuraProc(), HandleEffect(), spell_pal_exorcism_and_holy_wrath_damage::HandleEffectCalcSpellMod(), spell_warl_improved_demonic_tactics::HandleEffectCalcSpellMod(), spell_warr_glyph_of_sunder_armor::HandleEffectCalcSpellMod(), spell_brewfest_main_ram_buff::HandleEffectPeriodic(), HandleObsModPowerAuraTick(), Unit::HandleOverrideClassScriptAuraProc(), HandlePeriodicDamageAurasTick(), HandlePeriodicEnergizeAuraTick(), HandlePeriodicHealAurasTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicManaLeechAuraTick(), HandlePeriodicTriggerSpellAuraTick(), HandleProc(), Unit::HandleProcTriggerSpell(), HandleRaidProcFromChargeAuraProc(), HandleRaidProcFromChargeWithValueAuraProc(), spell_hor_shared_suffering::spell_hor_shared_sufferingAuraScript::OnRemove(), PeriodicTick(), Spell::prepare(), spell_pos_glacial_strike::spell_pos_glacial_strikeAuraScript::PrepareAuraScript(), Unit::ProcDamageAndSpellFor(), Player::RestoreBaseRune(), Update(), UpdatePeriodic(), and SpellInfo::ValidateAttribute6SpellDamageMods().
|
inline |
|
inline |
References GetBase(), and Aura::GetCaster().
Referenced by Unit::CalcAbsorbResist(), CalculatePeriodicData(), Spell::EffectHeal(), HandleAuraCloneCaster(), HandleAuraControlVehicle(), HandleAuraDummy(), HandleAuraLinked(), HandleAuraModTotalThreat(), HandleAuraMounted(), Unit::HandleAuraRaidProcFromCharge(), Unit::HandleAuraRaidProcFromChargeWithValue(), HandleAuraTransform(), HandleBindSight(), HandleChannelDeathItem(), HandleCharmConvert(), Unit::HandleDummyAuraProc(), HandleFarSight(), HandleModCharm(), HandleModFear(), HandleModPossess(), HandleModPossessPet(), HandleModTaunt(), spell_pal_sacred_shield_base::HandleProc(), HandleRaidProcFromChargeAuraProc(), HandleRaidProcFromChargeWithValueAuraProc(), and RecalculateAmount().
|
inline |
References GetBase(), and Aura::GetCasterGUID().
Referenced by Unit::CastDelayedSpellWithPeriodicAmount(), Unit::CastSpell(), CleanupTriggeredSpells(), Spell::EffectHeal(), HandleAuraDummy(), HandleAuraLinked(), Unit::HandleAuraRaidProcFromCharge(), Unit::HandleAuraRaidProcFromChargeWithValue(), HandleAuraTransform(), Unit::HandleDummyAuraProc(), HandleFeignDeath(), HandleObsModPowerAuraTick(), HandlePeriodicDamageAurasTick(), HandlePeriodicEnergizeAuraTick(), HandlePeriodicHealAurasTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicManaLeechAuraTick(), HandleRaidProcFromChargeAuraProc(), HandleRaidProcFromChargeWithValueAuraProc(), Unit::ProcDamageAndSpellFor(), Unit::SendPeriodicAuraLog(), and SpellInfo::ValidateAttribute6SpellDamageMods().
|
inline |
References m_casterLevel.
Referenced by HandlePeriodicDamageAurasTick(), and HandlePeriodicHealthLeechAuraTick().
|
inline |
References m_critChance.
Referenced by HandlePeriodicDamageAurasTick(), HandlePeriodicHealAurasTick(), and HandlePeriodicHealthLeechAuraTick().
|
inline |
References m_effIndex.
Referenced by AuraApplication::_HandleEffect(), spell_dru_lifebloom::AfterRemove(), Unit::CalcAbsorbResist(), spell_pal_sacred_shield_base::CalculateAmount(), spell_sha_earth_shield::CalculateAmount(), spell_warl_improved_demonic_tactics::CalculateAmount(), spell_warr_rend::CalculateAmount(), CalculateAmount(), spell_dru_treant_scaling::CalculateResistanceAmount(), spell_hun_generic_scaling::CalculateResistanceAmount(), spell_mage_pet_scaling::CalculateResistanceAmount(), spell_pri_shadowfiend_scaling::CalculateResistanceAmount(), spell_sha_feral_spirit_scaling::CalculateResistanceAmount(), spell_sha_fire_elemental_scaling::CalculateResistanceAmount(), spell_warl_generic_scaling::CalculateResistanceAmount(), spell_warl_infernal_scaling::CalculateResistanceAmount(), spell_mage_ice_barrier_aura::CalculateSpellAmount(), spell_mage_ice_barrier::CalculateSpellAmount(), CalculateSpellAmount(), CalculateSpellMod(), spell_dk_pet_scaling::CalculateStatAmount(), spell_dru_treant_scaling::CalculateStatAmount(), spell_hun_generic_scaling::CalculateStatAmount(), spell_mage_pet_scaling::CalculateStatAmount(), spell_pri_shadowfiend_scaling::CalculateStatAmount(), spell_sha_feral_spirit_scaling::CalculateStatAmount(), spell_sha_fire_elemental_scaling::CalculateStatAmount(), spell_warl_generic_scaling::CalculateStatAmount(), spell_warl_infernal_scaling::CalculateStatAmount(), Aura::CallScriptAfterEffectApplyHandlers(), Aura::CallScriptAfterEffectProcHandlers(), Aura::CallScriptAfterEffectRemoveHandlers(), Aura::CallScriptEffectAbsorbHandlers(), Aura::CallScriptEffectAfterAbsorbHandlers(), Aura::CallScriptEffectAfterManaShieldHandlers(), Aura::CallScriptEffectApplyHandlers(), Aura::CallScriptEffectCalcAmountHandlers(), Aura::CallScriptEffectCalcPeriodicHandlers(), Aura::CallScriptEffectCalcSpellModHandlers(), Aura::CallScriptEffectManaShieldHandlers(), Aura::CallScriptEffectPeriodicHandlers(), Aura::CallScriptEffectProcHandlers(), Aura::CallScriptEffectRemoveHandlers(), Aura::CallScriptEffectSplitHandlers(), Aura::CallScriptEffectUpdatePeriodicHandlers(), Unit::CastDelayedSpellWithPeriodicAmount(), ChangeAmount(), CleanupTriggeredSpells(), GetApplicationList(), GetTargetList(), spell_muru_summon_blood_elves_periodic::spell_muru_summon_blood_elves_periodic_AuraScript::HandleApply(), spell_gen_baby_murloc_passive::HandleApply(), HandleAuraLinked(), HandleAuraModStat(), Unit::HandleAuraRaidProcFromCharge(), Unit::HandleAuraRaidProcFromChargeWithValue(), Unit::HandleDummyAuraProc(), HandleEffect(), spell_dru_idol_lifebloom::HandleEffectCalcSpellMod(), spell_warr_glyph_of_sunder_armor::HandleEffectCalcSpellMod(), spell_q12619_emblazon_runeblade::HandleEffectPeriodic(), spell_oculus_rider_aura::spell_oculus_rider_auraAuraScript::HandleOnEffectApply(), spell_transitus_shield_beam::spell_transitus_shield_beam_AuraScript::HandleOnEffectApply(), spell_kiljaeden_shadow_spike::spell_kiljaeden_shadow_spike_AuraScript::HandlePeriodic(), spell_kiljaeden_armageddon_periodic::spell_kiljaeden_armageddon_periodic_AuraScript::HandlePeriodic(), spell_halion_twilight_cutter_periodic::spell_halion_twilight_cutter_periodic_AuraScript::HandlePeriodic(), spell_oculus_ride_ruby_emerald_amber_drake_que::spell_oculus_ride_ruby_emerald_amber_drake_que_AuraScript::HandlePeriodic(), spell_dk_pet_scaling::HandlePeriodic(), spell_pet_hit_expertise_scalling::HandlePeriodic(), spell_hun_generic_scaling::HandlePeriodic(), spell_mage_pet_scaling::HandlePeriodic(), spell_sha_feral_spirit_scaling::HandlePeriodic(), spell_warl_improved_demonic_tactics::HandlePeriodic(), spell_warl_demonic_knowledge::HandlePeriodic(), spell_warl_generic_scaling::HandlePeriodic(), HandlePeriodicDamageAurasTick(), HandlePeriodicHealAurasTick(), HandlePeriodicHealthFunnelAuraTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicManaLeechAuraTick(), HandlePeriodicPowerBurnAuraTick(), HandlePeriodicTriggerSpellAuraTick(), HandlePeriodicTriggerSpellWithValueAuraTick(), spell_gen_proc_not_self::HandleProc(), spell_item_unsated_craving::HandleProc(), spell_pal_sacred_shield_base::HandleProc(), HandleProcTriggerDamageAuraProc(), Unit::HandleProcTriggerSpell(), HandleProcTriggerSpellAuraProc(), HandleRaidProcFromChargeAuraProc(), HandleRaidProcFromChargeWithValueAuraProc(), spell_putricide_mutated_plague::spell_putricide_mutated_plague_AuraScript::HandleTriggerSpell(), spell_hun_sniper_training::HandleUpdatePeriodic(), TriggeredByAuraSpellData::Init(), spell_hadronox_summon_periodic::spell_hadronox_summon_periodic_AuraScript::OnApply(), spell_gruul_ground_slam_trigger::OnApply(), spell_kalecgos_curse_of_boundless_agony::spell_kalecgos_curse_of_boundless_agony_AuraScript::OnPeriodic(), spell_the_lich_king_vile_spirits::spell_the_lich_king_vile_spirits_AuraScript::OnPeriodic(), spell_tar_blaze::spell_tar_blaze_AuraScript::OnPeriodic(), spell_thorim_lightning_pillar_P2::spell_thorim_lightning_pillar_P2_AuraScript::OnPeriodic(), spell_karathress_power_of_caribdis::spell_karathress_power_of_caribdis_AuraScript::OnPeriodic(), spell_leotheras_demon_link::spell_leotheras_demon_link_AuraScript::OnPeriodic(), spell_gen_periodic_knock_away::OnPeriodic(), spell_broggok_poison_cloud::PeriodicTick(), spell_mother_shahraz_beam_periodic::spell_mother_shahraz_beam_periodic_AuraScript::Update(), spell_mother_shahraz_saber_lash::spell_mother_shahraz_saber_lash_AuraScript::Update(), spell_illidari_council_deadly_strike::spell_illidari_council_deadly_strike_AuraScript::Update(), spell_black_temple_charge_rage::spell_black_temple_charge_rage_AuraScript::Update(), spell_black_temple_shadow_inferno::spell_black_temple_shadow_inferno_AuraScript::Update(), spell_black_temple_spell_absorption::spell_black_temple_spell_absorption_AuraScript::Update(), Update(), and Player::UpdateAttackPowerAndDamage().
uint32 AuraEffect::GetId | ( | ) | const |
References SpellInfo::Id, and m_spellInfo.
Referenced by AuraEffect(), CalculateAmount(), CalculatePeriodic(), CalculateSpellMod(), Unit::CastDelayedSpellWithPeriodicAmount(), Spell::EffectHeal(), Spell::EffectSchoolDMG(), HandleAuraControlVehicle(), HandleAuraDummy(), HandleAuraModDmgImmunity(), HandleAuraModEffectImmunity(), HandleAuraModIncreaseFlightSpeed(), HandleAuraModSchoolImmunity(), HandleAuraModShapeshift(), HandleAuraModStat(), HandleAuraModStateImmunity(), Aura::HandleAuraSpecificMods(), HandleAuraTransform(), Unit::HandleDummyAuraProc(), HandleModMechanicImmunity(), HandleModStateImmunityMask(), HandleModTotalPercentStat(), HandleObsModPowerAuraTick(), HandlePeriodicDamageAurasTick(), HandlePeriodicDummyAuraTick(), HandlePeriodicEnergizeAuraTick(), HandlePeriodicHealAurasTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicManaLeechAuraTick(), HandlePeriodicTriggerSpellAuraTick(), HandlePeriodicTriggerSpellWithValueAuraTick(), HandleProcTriggerDamageAuraProc(), Unit::HandleProcTriggerSpell(), HandleProcTriggerSpellAuraProc(), HandleProcTriggerSpellWithValueAuraProc(), HandleRaidProcFromChargeAuraProc(), HandleRaidProcFromChargeWithValueAuraProc(), spell_brewfest_ram_fatigue::PrepareAuraScript(), spell_ignis_scorch::spell_ignis_scorch_AuraScript::PrepareAuraScript(), spell_ulduar_energy_sap::spell_ulduar_energy_sap_AuraScript::PrepareAuraScript(), Unit::ProcDamageAndSpellFor(), Unit::SendPeriodicAuraLog(), and UpdatePeriodic().
int32 AuraEffect::GetMiscValue | ( | ) | const |
References SpellInfo::Effects, m_effIndex, and m_spellInfo.
Referenced by Player::_ApplyWeaponDependentAuraDamageMod(), AuraApplication::_HandleEffect(), ApplySpellMod(), Unit::CalcAbsorbResist(), CalculateSpellMod(), Unit::GetMaxPositiveAuraModifierByMiscMask(), HandleAuraConvertRune(), HandleAuraDummy(), HandleAuraModBaseResistancePCT(), HandleAuraModDispelImmunity(), HandleAuraModDmgImmunity(), HandleAuraModEffectImmunity(), HandleAuraModFaction(), HandleAuraModIncreaseEnergy(), HandleAuraModIncreaseEnergyPercent(), HandleAuraModResistance(), HandleAuraModResistanceExclusive(), HandleAuraModResistenceOfStatPercent(), HandleAuraModSchoolImmunity(), HandleAuraModShapeshift(), HandleAuraModSkill(), HandleAuraModStat(), HandleAuraModStateImmunity(), HandleAuraMounted(), HandleAuraOverrideSpells(), HandleAuraSetVehicle(), HandleAuraTrackCreatures(), HandleAuraTrackResources(), HandleAuraTransform(), HandleDetectAmore(), spell_warl_improved_demonic_tactics::HandleEffectCalcSpellMod(), spell_warr_glyph_of_sunder_armor::HandleEffectCalcSpellMod(), HandleForceReaction(), HandleModBaseResistance(), HandleModDamageDone(), HandleModDamagePercentDone(), HandleModInvisibility(), HandleModInvisibilityDetect(), HandleModMechanicImmunity(), HandleModPercentStat(), HandleModPowerCost(), HandleModPowerCostPCT(), HandleModPowerRegen(), HandleModRating(), HandleModRatingFromStat(), HandleModResistancePercent(), HandleModSpellCritChanceShool(), HandleModStateImmunityMask(), HandleModStealth(), HandleModStealthDetect(), HandleModStealthLevel(), HandleModTargetResistance(), HandleModThreat(), HandleModTotalPercentStat(), HandleObsModPowerAuraTick(), Unit::HandleOverrideClassScriptAuraProc(), spell_dk_pet_scaling::HandlePeriodic(), spell_hun_generic_scaling::HandlePeriodic(), spell_mage_pet_scaling::HandlePeriodic(), spell_sha_feral_spirit_scaling::HandlePeriodic(), spell_warl_generic_scaling::HandlePeriodic(), HandlePeriodicEnergizeAuraTick(), HandlePeriodicManaLeechAuraTick(), HandlePeriodicPowerBurnAuraTick(), HandleShapeshiftBoosts(), Aura::IsAuraStronger(), spell_alar_ember_blast_death::spell_alar_ember_blast_death_AuraScript::OnApply(), Unit::ProcDamageAndSpellFor(), and Unit::SendPeriodicAuraLog().
int32 AuraEffect::GetMiscValueB | ( | ) | const |
References SpellInfo::Effects, m_effIndex, and m_spellInfo.
Referenced by HandleAuraConvertRune(), HandleAuraMounted(), and HandleModPowerRegen().
|
inline |
|
inline |
|
inline |
|
inline |
References m_spellInfo.
Referenced by Player::_ApplyWeaponDependentAuraCritMod(), Player::_ApplyWeaponDependentAuraDamageMod(), AuraApplication::_HandleEffect(), spell_dragonblight_corrosive_spit::AfterApply(), Unit::CalcAbsorbResist(), CalcPeriodicCritChance(), CalculateAmount(), CalculatePeriodic(), CalculatePeriodicData(), spell_dru_treant_scaling::CalculateResistanceAmount(), spell_hun_generic_scaling::CalculateResistanceAmount(), spell_mage_pet_scaling::CalculateResistanceAmount(), spell_pri_shadowfiend_scaling::CalculateResistanceAmount(), spell_sha_feral_spirit_scaling::CalculateResistanceAmount(), spell_sha_fire_elemental_scaling::CalculateResistanceAmount(), spell_warl_generic_scaling::CalculateResistanceAmount(), spell_warl_infernal_scaling::CalculateResistanceAmount(), CalculateSpellMod(), spell_dk_pet_scaling::CalculateStatAmount(), spell_dru_treant_scaling::CalculateStatAmount(), spell_hun_generic_scaling::CalculateStatAmount(), spell_mage_pet_scaling::CalculateStatAmount(), spell_pri_shadowfiend_scaling::CalculateStatAmount(), spell_sha_feral_spirit_scaling::CalculateStatAmount(), spell_sha_fire_elemental_scaling::CalculateStatAmount(), spell_warl_generic_scaling::CalculateStatAmount(), spell_warl_infernal_scaling::CalculateStatAmount(), Spell::EffectHeal(), Spell::EffectSchoolDMG(), HandleAuraDummy(), HandleAuraModEffectImmunity(), HandleAuraModSchoolImmunity(), HandleAuraModShapeshift(), HandleAuraModStateImmunity(), HandleAuraModWeaponCritPercent(), HandleAuraMounted(), Unit::HandleAuraRaidProcFromCharge(), Unit::HandleAuraRaidProcFromChargeWithValue(), HandleAuraTransform(), HandleChannelDeathItem(), spell_dk_raise_ally::HandleDummy(), Unit::HandleDummyAuraProc(), HandleModDamageDone(), HandleModDamagePercentDone(), HandleModMechanicImmunity(), HandleModStateImmunityMask(), HandleObsModPowerAuraTick(), spell_putricide_unbound_plague_dmg::spell_putricide_unbound_plague_dmg_AuraScript::HandlePeriodic(), HandlePeriodicDamageAurasTick(), HandlePeriodicDummyAuraTick(), HandlePeriodicEnergizeAuraTick(), HandlePeriodicHealAurasTick(), HandlePeriodicHealthFunnelAuraTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicManaLeechAuraTick(), HandlePeriodicPowerBurnAuraTick(), HandlePeriodicTriggerSpellAuraTick(), HandlePeriodicTriggerSpellWithValueAuraTick(), spell_dk_blood_caked_blade::HandleProc(), spell_gen_proc_not_self::HandleProc(), spell_pal_seal_of_command_aura::HandleProc(), HandleProcTriggerDamageAuraProc(), Unit::HandleProcTriggerSpell(), HandleProcTriggerSpellAuraProc(), HandleProcTriggerSpellWithValueAuraProc(), HandleRaidProcFromChargeAuraProc(), HandleRaidProcFromChargeWithValueAuraProc(), TriggeredByAuraSpellData::Init(), Acore::AbsorbAuraOrderPred::operator()(), spell_dragonblight_corrosive_spit::PeriodicTick(), spell_optic_link::spell_optic_linkAuraScript::PrepareAuraScript(), Unit::ProcDamageAndSpellFor(), Player::RestoreBaseRune(), Unit::SendPeriodicAuraLog(), Player::UpdateAttackPowerAndDamage(), UpdatePeriodic(), and SpellInfo::ValidateAttribute6SpellDamageMods().
|
inline |
void AuraEffect::GetTargetList | ( | std::list< Unit * > & | targetList | ) | const |
References Aura::GetApplicationMap(), GetBase(), and GetEffIndex().
|
inline |
References m_tickNumber.
Referenced by Unit::CastDelayedSpellWithPeriodicAmount(), spell_frost_tomb::spell_frost_tombAuraScript::HandleEffectPeriodic(), spell_quest_test_flight_charging::HandleEffectPeriodicPlatform(), spell_quest_test_flight_charging::HandleEffectPeriodicSelf(), spell_hallows_end_base_fire::HandleEffectPeriodicUpdate(), spell_gen_burn_brutallus::HandleEffectPeriodicUpdate(), spell_putricide_unbound_plague_dmg::spell_putricide_unbound_plague_dmg_AuraScript::HandlePeriodic(), spell_shadow_bolt_whirl::HandlePeriodic(), HandlePeriodicHealAurasTick(), spell_bronjahm_soulstorm_channel_ooc::spell_bronjahm_soulstorm_channel_ooc_AuraScript::HandlePeriodicTick(), spell_bronjahm_soulstorm_visual::spell_bronjahm_soulstorm_visual_AuraScript::HandlePeriodicTick(), spell_wailing_souls_periodic::spell_wailing_souls_periodic_AuraScript::HandlePeriodicTick(), spell_exploding_orb_auto_grow::spell_exploding_orb_auto_grow_AuraScript::HandlePeriodicTick(), spell_item_direbrew_remote_aura::HandlePeriodicTick(), HandlePeriodicTriggerSpellAuraTick(), spell_igb_rocket_pack::spell_igb_rocket_pack_AuraScript::HandleRemove(), TriggeredByAuraSpellData::Init(), spell_kalecgos_curse_of_boundless_agony::spell_kalecgos_curse_of_boundless_agony_AuraScript::OnPeriodic(), spell_muru_darkness::spell_muru_darkness_AuraScript::OnPeriodic(), spell_the_lich_king_vile_spirits::spell_the_lich_king_vile_spirits_AuraScript::OnPeriodic(), spell_the_lich_king_soul_rip::spell_the_lich_king_soul_rip_AuraScript::OnPeriodic(), spell_assembly_rune_of_summoning::spell_assembly_rune_of_summoning_AuraScript::OnPeriodic(), spell_illidan_demon_transform2::spell_illidan_demon_transform2_AuraScript::OnPeriodic(), spell_the_lich_king_infest::spell_the_lich_king_infest_AuraScript::OnUpdate(), spell_karazhan_overload::spell_karazhan_overload_AuraScript::PeriodicTick(), spell_geddon_inferno::spell_geddon_inferno_AuraScript::PeriodicTick(), spell_trollgore_corpse_explode::spell_trollgore_corpse_explode_AuraScript::PeriodicTick(), spell_blood_queen_pact_of_the_darkfallen_dmg::spell_blood_queen_pact_of_the_darkfallen_dmg_AuraScript::PeriodicTick(), spell_igb_explosion_main::spell_igb_explosion_main_AuraScript::PeriodicTick(), spell_dreamwalker_mana_void::spell_dreamwalker_mana_void_AuraScript::PeriodicTick(), spell_broggok_poison_cloud::PeriodicTick(), spell_hodir_biting_cold_main_aura::spell_hodir_biting_cold_main_aura_AuraScript::PrepareAuraScript(), spell_hodir_flash_freeze::spell_hodir_flash_freeze_AuraScript::PrepareAuraScript(), spell_icc_yh_volley::spell_icc_yh_volley_AuraScript::PrepareAuraScript(), spell_ignis_scorch::spell_ignis_scorch_AuraScript::PrepareAuraScript(), spell_mimiron_rapid_burst::spell_mimiron_rapid_burst_AuraScript::PrepareAuraScript(), spell_optic_link::spell_optic_linkAuraScript::PrepareAuraScript(), spell_pos_blight::spell_pos_blightAuraScript::PrepareAuraScript(), spell_gen_holiday_buff_food::TriggerFoodBuff(), spell_mother_shahraz_random_periodic::spell_mother_shahraz_random_periodic_AuraScript::Update(), and spell_mother_shahraz_fatal_attraction_aura::spell_mother_shahraz_fatal_attraction_aura_AuraScript::Update().
int32 AuraEffect::GetTotalTicks | ( | ) | const |
References GetBase(), Aura::GetMaxDuration(), SpellInfo::HasAttribute(), m_amplitude, m_spellInfo, and SPELL_ATTR5_EXTRA_INITIAL_PERIOD.
Referenced by spell_dru_innervate::CalculateAmount(), spell_dru_insect_swarm::CalculateAmount(), spell_gen_lifeblood::CalculateAmount(), spell_gen_gift_of_naaru::CalculateAmount(), Unit::CastDelayedSpellWithPeriodicAmount(), spell_pri_renew::HandleApplyEffect(), Aura::HandleAuraSpecificMods(), HandlePeriodicDamageAurasTick(), HandlePeriodicHealAurasTick(), spell_hun_chimera_shot::HandleScriptEffect(), spell_broggok_poison_cloud::PeriodicTick(), spell_hodir_flash_freeze::spell_hodir_flash_freeze_AuraScript::PrepareAuraScript(), spell_ignis_scorch::spell_ignis_scorch_AuraScript::PrepareAuraScript(), spell_pos_blight::spell_pos_blightAuraScript::PrepareAuraScript(), and Update().
void AuraEffect::HandleArenaPreparation | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_REAL, GetAuraType(), AuraApplication::GetTarget(), Unit::HasAuraType(), Unit::RemoveUnitFlag(), Unit::SetUnitFlag(), and UNIT_FLAG_PREPARATION.
void AuraEffect::HandleAuraAllowFlight | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), Unit::GetMotionMaster(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::HasAuraType(), Unit::IsLevitating(), MotionMaster::MoveFall(), Unit::SetCanFly(), SPELL_AURA_MOD_INCREASE_MOUNTED_FLIGHT_SPEED, and TYPEID_UNIT.
void AuraEffect::HandleAuraAllowOnlyAbility | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, AuraApplication::GetTarget(), Object::GetTypeId(), Unit::HasAuraType(), PLAYER_ALLOW_ONLY_ABILITY, Player::RemovePlayerFlag(), Player::SetPlayerFlag(), SPELL_AURA_ALLOW_ONLY_ABILITY, Object::ToPlayer(), and TYPEID_PLAYER.
void AuraEffect::HandleAuraCloneCaster | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
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
References Unit::_EnterVehicle(), Unit::_ExitVehicle(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, GetCaster(), GetId(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::GetVehicleKit(), Unit::IsVehicle(), Unit::Kill(), m_amount, Unit::RemoveAurasDueToSpell(), Creature::RemoveCorpse(), Object::ToCreature(), and TYPEID_UNIT.
void AuraEffect::HandleAuraConvertRune | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References Player::AddRuneByAuraEffect(), AURA_EFFECT_HANDLE_REAL, CLASS_DEATH_KNIGHT, Unit::getClass(), Player::GetCurrentRune(), GetMiscValue(), GetMiscValueB(), Player::GetRuneCooldown(), AuraApplication::GetTarget(), Object::GetTypeId(), m_amount, MAX_RUNES, Player::RemoveRunesByAuraEffect(), Object::ToPlayer(), and TYPEID_PLAYER.
void AuraEffect::HandleAuraDummy | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References Unit::AddAura(), Unit::AddPetAura(), Unit::AddThreat(), Unit::ApplySpellImmune(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_REAL, AURA_EFFECT_HANDLE_REAPPLY, AURA_REMOVE_BY_CANCEL, AURA_REMOVE_BY_EXPIRE, BREWFEST_KODO, Unit::CanHaveThreatList(), Unit::CastSpell(), ObjectMgr::ChooseDisplayId(), FRESH_BREWFEST_HOPS, GENDER_FEMALE, GENDER_MALE, GetAmount(), Unit::GetAura(), Unit::GetAuraEffectsByType(), GetBase(), Player::GetBattleground(), GetCaster(), Aura::GetCaster(), GetCasterGUID(), Object::GetEntry(), Unit::getGender(), Unit::GetGuardianPet(), Object::GetGUID(), GetId(), WorldObject::GetMap(), GetMiscValue(), Unit::GetMotionMaster(), AuraApplication::GetRemoveMode(), Unit::GetSpeedRate(), GetSpellInfo(), Aura::GetSpellInfo(), AuraApplication::GetTarget(), Object::GetTypeId(), WorldObject::GetZoneId(), GREAT_BREWFEST_KODO, Unit::HasAuraType(), SpellInfo::Id, IMMUNITY_MECHANIC, Unit::IsAlive(), Map::IsBattleground(), Unit::isDead(), Player::KilledMonsterCredit(), Player::LeaveBattleground(), m_effIndex, m_spellInfo, MOVE_RUN, MotionMaster::MoveFall(), WorldObject::PlayDirectSound(), WorldObject::PlayDistanceSound(), Player::RemoveAmmo(), Unit::RemoveAurasDueToSpell(), Unit::RemovePetAura(), roll_chance_i(), sBattlefieldMgr, Player::SetChampioningFaction(), Aura::SetCharges(), Object::SetEntry(), Aura::SetStackAmount(), Object::SetUInt32Value(), sObjectMgr, SPELL_AURA_MOD_INCREASE_MOUNTED_FLIGHT_SPEED, SPELL_AURA_MOUNTED, SPELLFAMILY_DRUID, SPELLFAMILY_GENERIC, SPELLFAMILY_MAGE, SPELLFAMILY_PRIEST, SPELLFAMILY_SHAMAN, SpellInfo::SpellFamilyName, sSpellMgr, SpellInfo::StackAmount, Object::ToPlayer(), TYPEID_PLAYER, TYPEID_UNIT, UNIT_FIELD_MOUNTDISPLAYID, and Cell::VisitWorldObjects().
void AuraEffect::HandleAuraEmpathy | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References Object::ApplyModUInt32Value(), AURA_EFFECT_HANDLE_REAL, CREATURE_TYPE_BEAST, GetAuraType(), Unit::GetCreatureType(), AuraApplication::GetTarget(), Unit::HasAuraType(), UNIT_DYNAMIC_FLAGS, and UNIT_DYNFLAG_SPECIALINFO.
void AuraEffect::HandleAuraFeatherFall | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), GameTime::GetGameTime(), Position::GetPositionZ(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::HasAuraType(), Player::SetFallInformation(), Unit::SetFeatherFall(), sScriptMgr, Object::ToPlayer(), and TYPEID_PLAYER.
void AuraEffect::HandleAuraGhost | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, AuraApplication::GetTarget(), Object::GetTypeId(), 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, Object::ToPlayer(), and TYPEID_PLAYER.
void AuraEffect::HandleAuraHover | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
Sets movementflags
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), AuraApplication::GetTarget(), Unit::HasAuraType(), Unit::SetHover(), sScriptMgr, and Object::ToPlayer().
void AuraEffect::HandleAuraIncreaseBaseHealthPercent | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, BASE_PCT, GetAmount(), AuraApplication::GetTarget(), Unit::HandleStatModifier(), and UNIT_MOD_HEALTH.
void AuraEffect::HandleAuraLinked | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_REAL, AURA_EFFECT_HANDLE_REAPPLY, Unit::CastCustomSpell(), Unit::CastSpell(), SpellInfo::Effects, GetAmount(), Unit::GetAura(), GetBase(), GetCaster(), GetCasterGUID(), GetEffIndex(), Object::GetGUID(), AuraApplication::GetRemoveMode(), Aura::GetStackAmount(), AuraApplication::GetTarget(), m_amount, m_effIndex, m_spellInfo, SpellInfo::NeedsToBeTriggeredByCaster(), Unit::RemoveAura(), and sSpellMgr.
void AuraEffect::HandleAuraModAttackPower | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), AuraApplication::GetTarget(), Unit::HandleStatModifier(), TOTAL_VALUE, and UNIT_MOD_ATTACK_POWER.
void AuraEffect::HandleAuraModAttackPowerOfArmor | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), Object::GetTypeId(), Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateAttackPowerAndDamage().
Referenced by HandleAuraModAttackPowerOfStatPercent().
void AuraEffect::HandleAuraModAttackPowerOfStatPercent | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References HandleAuraModAttackPowerOfArmor().
void AuraEffect::HandleAuraModAttackPowerPercent | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), AuraApplication::GetTarget(), Unit::HandleStatModifier(), TOTAL_PCT, and UNIT_MOD_ATTACK_POWER.
void AuraEffect::HandleAuraModBaseResistancePCT | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, BASE_PCT, GetAmount(), GetMiscValue(), AuraApplication::GetTarget(), Unit::HandleStatModifier(), MAX_SPELL_SCHOOL, SPELL_SCHOOL_NORMAL, and UNIT_MOD_RESISTANCE_START.
void AuraEffect::HandleAuraModBlockPercent | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), Object::GetTypeId(), Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateBlockPercentage().
void AuraEffect::HandleAuraModCritPct | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, CRIT_PERCENTAGE, FLAT_MOD, GetAmount(), AuraApplication::GetTarget(), Object::GetTypeId(), Player::HandleBaseModValue(), Unit::m_baseSpellCritChance, OFFHAND_CRIT_PERCENTAGE, RANGED_CRIT_PERCENTAGE, Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateAllSpellCritChances().
void AuraEffect::HandleAuraModDecreaseSpeed | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AuraApplication::GetTarget(), MOVE_FLIGHT, MOVE_FLIGHT_BACK, MOVE_RUN, MOVE_RUN_BACK, MOVE_SWIM, MOVE_SWIM_BACK, MOVE_WALK, sScriptMgr, Object::ToPlayer(), and Unit::UpdateSpeed().
void AuraEffect::HandleAuraModDisarm | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References Player::_ApplyWeaponDamage(), Player::_ApplyWeaponDependentAuraMods(), AURA_EFFECT_HANDLE_REAL, BASE_ATTACK, EQUIPMENT_SLOT_MAINHAND, EQUIPMENT_SLOT_OFFHAND, EQUIPMENT_SLOT_RANGED, FORM_GHOSTWOLF, Player::GetAttackBySlot(), Unit::GetAuraEffectsByType(), GetAuraType(), Creature::GetCurrentEquipmentId(), Player::GetItemByPos(), Unit::GetShapeshiftForm(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::HasAuraType(), INVENTORY_SLOT_BAG_0, Unit::IsInFeralForm(), MAX_ATTACK, OFF_ATTACK, RANGED_ATTACK, Object::RemoveFlag(), Object::SetFlag(), SPELL_AURA_MOD_DISARM, SPELL_AURA_MOD_DISARM_OFFHAND, SPELL_AURA_MOD_DISARM_RANGED, Object::ToCreature(), Object::ToPlayer(), TYPEID_PLAYER, TYPEID_UNIT, UNIT_FIELD_FLAGS, UNIT_FIELD_FLAGS_2, UNIT_FLAG2_DISARM_OFFHAND, UNIT_FLAG2_DISARM_RANGED, UNIT_FLAG_DISARMED, and Unit::UpdateDamagePhysical().
void AuraEffect::HandleAuraModDispelImmunity | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References Unit::ApplySpellDispelImmunity(), AURA_EFFECT_HANDLE_REAL, GetMiscValue(), AuraApplication::GetTarget(), and m_spellInfo.
void AuraEffect::HandleAuraModDmgImmunity | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References Unit::ApplySpellImmune(), AURA_EFFECT_HANDLE_REAL, GetId(), GetMiscValue(), AuraApplication::GetTarget(), and IMMUNITY_DAMAGE.
void AuraEffect::HandleAuraModDodgePercent | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), Object::GetTypeId(), Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateDodgePercentage().
void AuraEffect::HandleAuraModEffectImmunity | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References Unit::ApplySpellImmune(), AURA_EFFECT_HANDLE_REAL, AURA_INTERRUPT_FLAG_IMMUNE_OR_LOST_SELECTION, Player::GetBattleground(), GetId(), GetMiscValue(), GetSpellInfo(), AuraApplication::GetTarget(), IMMUNITY_EFFECT, Player::InBattleground(), sOutdoorPvPMgr, and Object::ToPlayer().
void AuraEffect::HandleAuraModExpertise | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, BASE_ATTACK, AuraApplication::GetTarget(), Object::GetTypeId(), OFF_ATTACK, Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateExpertise().
void AuraEffect::HandleAuraModFaction | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_REAL, GetMiscValue(), AuraApplication::GetTarget(), Object::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 |
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(), GetAmount(), Player::GetDrunkValue(), Object::GetInt32Value(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::HasAuraType(), INVISIBILITY_DRUNK, WorldObject::m_invisibilityDetect, PLAYER_FAKE_INEBRIATION, Object::SetInt32Value(), SPELL_AURA_MOD_FAKE_INEBRIATE, Object::ToPlayer(), TYPEID_PLAYER, and Unit::UpdateObjectVisibility().
void AuraEffect::HandleAuraModIncreaseEnergy | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), GetMiscValue(), AuraApplication::GetTarget(), Unit::HandleStatModifier(), TOTAL_VALUE, and UNIT_MOD_POWER_START.
void AuraEffect::HandleAuraModIncreaseEnergyPercent | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), GetMiscValue(), AuraApplication::GetTarget(), Unit::HandleStatModifier(), Unit::ModifyPowerPct(), 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.
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::GetMountID(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::HasAuraEffect(), Unit::HasAuraType(), IMMUNITY_MECHANIC, Unit::IsLevitating(), MECHANIC_POLYMORPH, MOVE_FLIGHT, MotionMaster::MoveFall(), Unit::SetCanFly(), Object::SetUInt32Value(), SPELL_AURA_FLY, SPELL_AURA_MOD_INCREASE_MOUNTED_FLIGHT_SPEED, sScriptMgr, Object::ToPlayer(), TYPEID_PLAYER, TYPEID_UNIT, UNIT_FIELD_MOUNTDISPLAYID, and Unit::UpdateSpeed().
void AuraEffect::HandleAuraModIncreaseHealth | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), Unit::GetHealth(), AuraApplication::GetTarget(), Unit::HandleStatModifier(), Unit::ModifyHealth(), Unit::SetHealth(), TOTAL_VALUE, and UNIT_MOD_HEALTH.
void AuraEffect::HandleAuraModIncreaseHealthPercent | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, CalculatePct(), GetAmount(), Unit::GetHealthPct(), Unit::GetMaxHealth(), AuraApplication::GetTarget(), Unit::HandleStatModifier(), Unit::IsAlive(), Unit::SetHealth(), TOTAL_PCT, and UNIT_MOD_HEALTH.
void AuraEffect::HandleAuraModIncreaseMaxHealth | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), Unit::GetHealth(), Unit::GetMaxHealth(), AuraApplication::GetTarget(), Unit::HandleStatModifier(), Unit::SetHealth(), TOTAL_VALUE, and UNIT_MOD_HEALTH.
void AuraEffect::HandleAuraModIncreaseMountedSpeed | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References HandleAuraModIncreaseSpeed().
void AuraEffect::HandleAuraModIncreaseSpeed | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AuraApplication::GetTarget(), MOVE_RUN, sScriptMgr, Object::ToPlayer(), and Unit::UpdateSpeed().
Referenced by HandleAuraModIncreaseMountedSpeed().
void AuraEffect::HandleAuraModIncreaseSwimSpeed | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AuraApplication::GetTarget(), MOVE_SWIM, sScriptMgr, Object::ToPlayer(), and Unit::UpdateSpeed().
void AuraEffect::HandleAuraModPacify | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, AuraApplication::GetTarget(), Unit::HasAuraType(), Unit::RemoveUnitFlag(), Unit::SetUnitFlag(), SPELL_AURA_MOD_PACIFY, SPELL_AURA_MOD_PACIFY_SILENCE, and UNIT_FLAG_PACIFIED.
Referenced by HandleAuraModPacifyAndSilence().
void AuraEffect::HandleAuraModPacifyAndSilence | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, AuraApplication::GetTarget(), HandleAuraModPacify(), HandleAuraModSilence(), Unit::HasAuraType(), and SPELL_AURA_MOD_PACIFY_SILENCE.
void AuraEffect::HandleAuraModParryPercent | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, Player::CanParry(), AuraApplication::GetTarget(), Object::GetTypeId(), Player::SetCanParry(), Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateParryPercentage().
void AuraEffect::HandleAuraModPetTalentsPoints | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, Player::GetPet(), AuraApplication::GetTarget(), Object::GetTypeId(), Object::ToPlayer(), and TYPEID_PLAYER.
void AuraEffect::HandleAuraModRangedAttackPower | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, CLASSMASK_WAND_USERS, GetAmount(), Unit::getClassMask(), AuraApplication::GetTarget(), Unit::HandleStatModifier(), TOTAL_VALUE, and UNIT_MOD_ATTACK_POWER_RANGED.
void AuraEffect::HandleAuraModRangedAttackPowerOfStatPercent | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, CLASSMASK_WAND_USERS, Unit::getClassMask(), AuraApplication::GetTarget(), Object::GetTypeId(), Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateAttackPowerAndDamage().
void AuraEffect::HandleAuraModRangedAttackPowerPercent | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, CLASSMASK_WAND_USERS, GetAmount(), Unit::getClassMask(), AuraApplication::GetTarget(), Unit::HandleStatModifier(), TOTAL_PCT, and UNIT_MOD_ATTACK_POWER_RANGED.
void AuraEffect::HandleAuraModRangedHaste | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References Unit::ApplyAttackTimePercentMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), AuraApplication::GetTarget(), and RANGED_ATTACK.
void AuraEffect::HandleAuraModRegenInterrupt | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References HandleModManaRegen().
void AuraEffect::HandleAuraModResistance | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References Unit::ApplyResistanceBuffModsMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), GetMiscValue(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::HandleStatModifier(), Unit::IsPet(), MAX_SPELL_SCHOOL, SPELL_SCHOOL_NORMAL, TOTAL_VALUE, TYPEID_PLAYER, and UNIT_MOD_RESISTANCE_START.
void AuraEffect::HandleAuraModResistanceExclusive | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References Unit::ApplyResistanceBuffModsMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, BASE_VALUE, GetAmount(), Unit::GetMaxPositiveAuraModifierByMiscMask(), GetMiscValue(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::HandleStatModifier(), AuraApplication::IsPositive(), MAX_SPELL_SCHOOL, SPELL_AURA_MOD_RESISTANCE_EXCLUSIVE, SPELL_SCHOOL_NORMAL, TYPEID_PLAYER, and UNIT_MOD_RESISTANCE_START.
void AuraEffect::HandleAuraModResistenceOfStatPercent | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetMiscValue(), AuraApplication::GetTarget(), Object::GetTypeId(), LOG_ERROR, SPELL_SCHOOL_MASK_NORMAL, TYPEID_PLAYER, and Unit::UpdateArmor().
void AuraEffect::HandleAuraModRoot | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), Unit::SetControlled(), and UNIT_STATE_ROOT.
void AuraEffect::HandleAuraModScale | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_SEND_FOR_CLIENT_MASK, AuraApplication::GetTarget(), and Unit::RecalculateObjectScale().
void AuraEffect::HandleAuraModSchoolImmunity | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References Unit::AddUnitState(), Unit::ApplySpellImmune(), AURA_EFFECT_HANDLE_REAL, AURA_INTERRUPT_FLAG_IMMUNE_OR_LOST_SELECTION, Unit::ClearUnitState(), Unit::GetAppliedAuras(), Unit::GetAuraEffectsByType(), GetAuraType(), GetId(), GetMiscValue(), SpellInfo::GetSchoolMask(), GetSpellInfo(), AuraApplication::GetTarget(), SpellInfo::Id, IMMUNITY_SCHOOL, SpellInfo::IsPositive(), MECHANIC_BANISH, Unit::RemoveAura(), Unit::RemoveAurasWithInterruptFlags(), SPELL_ATTR1_IMMUNITY_PURGES_EFFECT, SPELL_ATTR2_FAIL_ON_ALL_TARGETS_IMMUNE, SPELL_SCHOOL_MASK_NORMAL, and UNIT_STATE_ISOLATED.
void AuraEffect::HandleAuraModShapeshift | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References Player::_addSpell(), Player::_ApplyWeaponDamage(), AURA_EFFECT_HANDLE_REAL_OR_REAPPLY_MASK, BASE_ATTACK, Unit::CalculateSpellDamage(), Unit::CanUseAttackType(), Unit::CastCustomSpell(), Unit::CastSpell(), CLASS_DRUID, ObjectGuid::Empty, EQUIPMENT_SLOT_MAINHAND, FORM_AMBIENT, FORM_AQUA, FORM_BATTLESTANCE, FORM_BEAR, FORM_BERSERKERSTANCE, FORM_BLB_PLAYER, FORM_CAT, FORM_CREATUREBEAR, FORM_CREATURECAT, FORM_DEFENSIVESTANCE, FORM_DIREBEAR, FORM_FLIGHT, FORM_FLIGHT_EPIC, FORM_GHOSTWOLF, FORM_GHOUL, FORM_MASTER_ANGLER, FORM_METAMORPHOSIS, FORM_MOONKIN, FORM_NONE, FORM_SHADOW, FORM_SHADOW_DANCE, FORM_SPIRITOFREDEMPTION, FORM_STEALTH, FORM_STEVES_GHOUL, FORM_TEST, FORM_TEST_OF_STRENGTH, FORM_THARONJA_SKELETON, FORM_TRAVEL, FORM_TREE, FORM_UNDEAD, FORM_ZOMBIE, Player::GetActiveSpec(), Unit::GetAuraEffect(), GetBase(), Unit::getClass(), Unit::GetDummyAuraEffect(), GetId(), Player::GetItemByPos(), GetMiscValue(), Unit::GetModelForForm(), Unit::GetPower(), Unit::getPowerType(), AuraApplication::GetRemoveMode(), GetSpellInfo(), Player::GetSpellMap(), Player::GetTalentMap(), AuraApplication::GetTarget(), Unit::getTransForm(), Object::GetTypeId(), HandleShapeshiftBoosts(), Unit::HasAuraType(), Player::InitDataForForm(), INVENTORY_SLOT_BAG_0, Unit::IsPolymorphed(), Unit::IsScriptOverriden(), LOG_ERROR, m_spellInfo, MAX_SHAPESHIFT_SPELLS, PLAYERSPELL_REMOVED, POWER_ENERGY, POWER_MANA, POWER_RAGE, Unit::RemoveAurasByShapeShift(), Unit::RemoveAurasByType(), Unit::RemoveAurasDueToSpell(), Player::removeSpell(), Unit::RestoreDisplayId(), Unit::SetDisplayId(), Unit::SetPower(), Unit::setPowerType(), Unit::SetShapeshiftForm(), SPEC_MASK_ALL, SPELL_ATTR0_NO_IMMUNITIES, SPELL_AURA_MOD_INCREASE_SPEED, SPELL_AURA_MOD_SHAPESHIFT, SPELLFAMILY_DRUID, SPELLFAMILY_ROGUE, SPELLFAMILY_WARRIOR, SpellInfo::SpellFamilyName, SpellInfo::SpellIconID, sSpellMgr, sSpellShapeshiftStore, SpellShapeshiftEntry::stanceSpell, Object::ToPlayer(), TYPEID_PLAYER, Player::UpdateAllCritPercentages(), and urand().
void AuraEffect::HandleAuraModSilence | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_REAL, CURRENT_MAX_SPELL, CURRENT_MELEE_SPELL, Unit::GetCurrentSpell(), AuraApplication::GetTarget(), Unit::HasAuraType(), Unit::InterruptSpell(), Unit::RemoveUnitFlag(), Unit::SetUnitFlag(), SPELL_AURA_MOD_PACIFY_SILENCE, SPELL_AURA_MOD_SILENCE, SPELL_PREVENTION_TYPE_SILENCE, and UNIT_FLAG_SILENCED.
Referenced by HandleAuraModPacifyAndSilence().
void AuraEffect::HandleAuraModSkill | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_SKILL, GetAmount(), GetAuraType(), GetMiscValue(), AuraApplication::GetTarget(), Object::GetTypeId(), Player::ModifySkillBonus(), SKILL_DEFENSE, SPELL_AURA_MOD_SKILL_TALENT, Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateDefenseBonusesMod().
void AuraEffect::HandleAuraModStalked | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::HasAuraType(), Object::RemoveDynamicFlag(), Object::SetDynamicFlag(), TYPEID_PLAYER, UNIT_DYNFLAG_TRACK_UNIT, and Unit::UpdateObjectVisibility().
void AuraEffect::HandleAuraModStat | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References Unit::ApplyStatBuffMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), GetEffIndex(), GetId(), GetMiscValue(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::HandleStatModifier(), Unit::IsPet(), LOG_ERROR, MAX_STATS, STAT_STRENGTH, TOTAL_VALUE, TYPEID_PLAYER, and UNIT_MOD_STAT_START.
void AuraEffect::HandleAuraModStateImmunity | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References Unit::ApplySpellImmune(), AURA_EFFECT_HANDLE_REAL, ObjectGuid::Empty, GetBase(), GetId(), GetMiscValue(), GetSpellInfo(), AuraApplication::GetTarget(), IMMUNITY_STATE, Unit::RemoveAurasByType(), and SPELL_ATTR1_IMMUNITY_PURGES_EFFECT.
void AuraEffect::HandleAuraModStun | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), Unit::SetControlled(), and UNIT_STATE_STUNNED.
void AuraEffect::HandleAuraModTotalThreat | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References HostileRefMgr::addTempThreat(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, GetAmount(), GetCaster(), Unit::getHostileRefMgr(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::IsAlive(), and TYPEID_PLAYER.
void AuraEffect::HandleAuraModUseNormalSpeed | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), MOVE_FLIGHT, MOVE_RUN, MOVE_SWIM, sScriptMgr, Object::ToPlayer(), and Unit::UpdateSpeed().
void AuraEffect::HandleAuraModWeaponCritPercent | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References Player::_ApplyWeaponDependentAuraCritMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, CRIT_PERCENTAGE, FLAT_MOD, GetAmount(), GetSpellInfo(), AuraApplication::GetTarget(), Object::GetTypeId(), Player::GetWeaponForAttack(), Player::HandleBaseModValue(), MAX_ATTACK, OFFHAND_CRIT_PERCENTAGE, RANGED_CRIT_PERCENTAGE, Object::ToPlayer(), and TYPEID_PLAYER.
void AuraEffect::HandleAuraMounted | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_REAL, AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, BREWFEST_KODO, ObjectMgr::ChooseDisplayId(), Unit::Dismount(), FRESH_BREWFEST_HOPS, GetBase(), GetCaster(), GetMiscValue(), GetMiscValueB(), Unit::GetSpeedRate(), GetSpellInfo(), AuraApplication::GetTarget(), GREAT_BREWFEST_KODO, Unit::HasAura(), MAX_SPELL_EFFECTS, Unit::Mount(), MOVE_RUN, Unit::RemoveAurasByType(), sObjectMgr, SPELL_AURA_MOD_INCREASE_MOUNTED_FLIGHT_SPEED, SPELL_AURA_MOUNTED, and SPELL_EFFECT_SUMMON.
void AuraEffect::HandleAuraOpenStable | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_REAL, Object::GetGUID(), Player::GetSession(), AuraApplication::GetTarget(), Object::GetTypeId(), Object::IsInWorld(), WorldSession::SendStablePet(), Object::ToPlayer(), and TYPEID_PLAYER.
void AuraEffect::HandleAuraOverrideSpells | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References Player::_addSpell(), AURA_EFFECT_HANDLE_REAL, GetMiscValue(), AuraApplication::GetTarget(), Object::IsInWorld(), MAX_OVERRIDE_SPELL, PLAYER_BYTES_2_OVERRIDE_SPELLS_UINT16_OFFSET, PLAYER_FIELD_BYTES2, Player::removeSpell(), Object::SetUInt16Value(), sOverrideSpellDataStore, SPEC_MASK_ALL, and Object::ToPlayer().
void AuraEffect::HandleAuraRetainComboPoints | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References Unit::AddComboPoints(), AURA_EFFECT_HANDLE_REAL, GetAmount(), GetBase(), AuraApplication::GetTarget(), Object::GetTypeId(), and TYPEID_PLAYER.
void AuraEffect::HandleAuraSetVehicle | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |
References AURA_EFFECT_HANDLE_REAL, Unit::CreateVehicleKit(), GetMiscValue(), Object::GetPackGUID(), Player::GetSession(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::GetVehicleKit(), WorldPacket::Initialize(), Object::IsInWorld(), Unit::RemoveVehicleKit(), WorldObject::SendMessageToSet(), WorldSession::SendPacket(), PackedGuid::size(), SMSG_ON_CANCEL_EXPECTED_RIDE_VEHICLE_AURA, SMSG_PLAYER_VEHICLE_DATA, Object::ToPlayer(), and TYPEID_PLAYER.
void AuraEffect::HandleAuraTrackCreatures | ( | AuraApplication const * | aurApp, |
uint8 | mode, | ||
bool | apply | ||
) | const |