|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <SpellAuraEffects.h>
Public Member Functions | |
| void | ApplySpellMod (Unit *target, bool apply) |
| int32 | CalculateAmount (Unit *caster) |
| void | CalculatePeriodic (Unit *caster, bool resetPeriodicTimer=true, bool load=false) |
| void | CalculateSpellMod () |
| bool | CanBeRecalculated () const |
| void | ChangeAmount (int32 newAmount, bool mark=true, bool onStackOrReapply=false) |
| void | CleanupTriggeredSpells (Unit *target) |
| int32 | GetAmount () const |
| int32 | GetAmplitude () const |
| void | GetApplicationList (std::list< AuraApplication * > &applicationList) const |
| AuraType | GetAuraType () const |
| Aura * | GetBase () const |
| int32 | GetBaseAmount () const |
| Unit * | GetCaster () const |
| uint64 | GetCasterGUID () const |
| uint32 | GetEffIndex () const |
| uint32 | GetId () const |
| int32 | GetMiscValue () const |
| int32 | GetMiscValueB () const |
| int32 | GetPeriodicTimer () const |
| SpellInfo const * | GetSpellInfo () const |
| SpellModifier * | GetSpellModifier () const |
| void | GetTargetList (std::list< Unit * > &targetList) const |
| uint32 | GetTickNumber () const |
| int32 | GetTotalTicks () const |
| void | HandleArenaPreparation (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraAllowFlight (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraAllowOnlyAbility (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraCloneCaster (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraControlVehicle (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraConvertRune (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraDummy (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraEmpathy (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraFeatherFall (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraForceWeather (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraGhost (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraHover (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraIncreaseBaseHealthPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraLinked (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraMastery (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModAttackPower (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModAttackPowerPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModBaseResistancePCT (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModBlockPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModCritPct (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModDecreaseSpeed (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModDisarm (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModDispelImmunity (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModDmgImmunity (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModDodgePercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModEffectImmunity (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModExpertise (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModFaction (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModFakeInebriation (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModIncreaseEnergyPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModIncreaseFlightSpeed (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModIncreaseHealth (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModIncreaseHealthPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModIncreaseMaxHealth (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModIncreaseMaxPowerFlat (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModIncreaseMountedSpeed (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModIncreaseSpeed (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModIncreaseSwimSpeed (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 | HandleAuraModParryPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModPetTalentsPoints (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModRangedAttackPower (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModRangedAttackPowerPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModRangedHaste (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModRegenInterrupt (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModResistance (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModResistanceExclusive (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModRoot (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModScale (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModSchoolImmunity (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModShapeshift (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModSilence (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModSkill (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModStalked (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModStat (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModStateImmunity (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModStun (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModTotalThreat (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModUseNormalSpeed (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraModWeaponCritPercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraMounted (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraOverrideAutoattackWithSpell (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraOverrideSpells (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraRetainComboPoints (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraSetVehicle (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraTrackCreatures (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraTrackResources (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraTrackStealthed (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraTransform (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraUntrackable (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleAuraWaterWalk (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleBindSight (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleChannelDeathItem (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleCharmConvert (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleComprehendLanguage (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleEffect (AuraApplication *aurApp, uint8 mode, bool apply) |
| void | HandleEffect (Unit *target, uint8 mode, bool apply) |
| void | HandleEnableAltPower (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleFeignDeath (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleForceMoveForward (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleForceReaction (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModAttackSpeed (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModBaseResistance (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModCastingSpeed (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModCharm (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModCombatSpeedPct (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModConfuse (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 | HandleModFear (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModHealingDone (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModHitChance (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModInvisibility (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModInvisibilityDetect (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModMechanicImmunity (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModMeleeRangedSpeedPct (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModMeleeSpeedPct (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModOffhandDamagePercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModPercentStat (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 | HandleModPowerCost (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModPowerCostPCT (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 | HandleModRating (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModRatingFromStat (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModResistancePercent (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModSpellCritChance (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 | HandleModSpellHitChance (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModStateImmunityMask (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModStealth (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModStealthDetect (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModStealthLevel (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModTargetResistance (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModTaunt (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModThreat (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModTotalPercentStat (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleModUnattackable (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleNoImmediateEffect (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleNULL (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleObsModPowerAuraTick (Unit *target, Unit *caster) const |
| void | HandleOverrideAttackPowerBySpellPower (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleOverrideSpellPowerByAttackPower (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandlePeriodicDamageAurasTick (Unit *target, Unit *caster) const |
| void | HandlePeriodicDummyAuraTick (Unit *target, Unit *caster) const |
| void | HandlePeriodicEnergizeAuraTick (Unit *target, Unit *caster) const |
| void | HandlePeriodicHealAurasTick (Unit *target, Unit *caster) const |
| void | HandlePeriodicHealthFunnelAuraTick (Unit *target, Unit *caster) const |
| void | HandlePeriodicHealthLeechAuraTick (Unit *target, Unit *caster) const |
| void | HandlePeriodicManaLeechAuraTick (Unit *target, Unit *caster) const |
| void | HandlePeriodicPowerBurnAuraTick (Unit *target, Unit *caster) const |
| void | HandlePeriodicTriggerSpellAuraTick (Unit *target, Unit *caster) const |
| void | HandlePeriodicTriggerSpellWithValueAuraTick (Unit *target, Unit *caster) const |
| void | HandlePhase (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandlePhaseGroup (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandlePlayScene (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandlePreventFleeing (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandlePreventResurrection (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleProc (AuraApplication *aurApp, ProcEventInfo &eventInfo) |
| void | HandleProcTriggerDamageAuraProc (AuraApplication *aurApp, ProcEventInfo &eventInfo) |
| void | HandleProcTriggerSpellAuraProc (AuraApplication *aurApp, ProcEventInfo &eventInfo) |
| void | HandleProcTriggerSpellWithValueAuraProc (AuraApplication *aurApp, ProcEventInfo &eventInfo) |
| void | HandleRaidProcFromChargeAuraProc (AuraApplication *aurApp, ProcEventInfo &eventInfo) |
| void | HandleRaidProcFromChargeWithValueAuraProc (AuraApplication *aurApp, ProcEventInfo &eventInfo) |
| void | HandleShapeshiftBoosts (Unit *target, bool apply) const |
| void | HandleShieldBlockValue (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleSpiritOfRedemption (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleUnused (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| void | HandleWaterBreathing (AuraApplication const *aurApp, uint8 mode, bool apply) const |
| bool | HasSpellClassMask () const |
| bool | IsAffectingSpell (SpellInfo const *spell) const |
| bool | IsPeriodic () const |
| void | PeriodicTick (AuraApplication *aurApp, Unit *caster) const |
| void | RecalculateAmount () |
| void | RecalculateAmount (Unit *caster) |
| void | ResetPeriodic (bool resetPeriodicTimer=false) |
| void | SendTickImmune (Unit *target, Unit *caster) const |
| void | SetAmount (int32 amount) |
| void | SetCanBeRecalculated (bool val) |
| void | SetPeriodic (bool isPeriodic) |
| void | SetPeriodicTimer (int32 periodicTimer) |
| void | Update (uint32 diff, Unit *caster) |
| void | UpdatePeriodic (Unit *caster) |
Private Member Functions | |
| AuraEffect (Aura *base, uint8 effIndex, int32 *baseAmount, Unit *caster) | |
| bool | IsPeriodicTickCrit (Unit *target, Unit const *caster) const |
| ~AuraEffect () | |
Private Attributes | |
| int32 | m_amount |
| int32 | m_amplitude |
| Aura *const | m_base |
| int32 const | m_baseAmount |
| bool | m_canBeRecalculated |
| uint8 const | m_effIndex |
| bool | m_isPeriodic |
| int32 | m_periodicTimer |
| SpellInfo const *const | m_spellInfo |
| SpellModifier * | m_spellmod |
| uint32 | m_tickNumber |
Friends | |
| void | Aura::_InitEffects (uint32 effMask, Unit *caster, int32 *baseAmount) |
| friend | Aura::~Aura () |
| Aura * | Unit::_TryStackingOrRefreshingExistingAura (SpellInfo const *newAura, uint32 effMask, Unit *caster, int32 *baseAmount, Item *castItem, uint64 casterGUID) |
Definition at line 17 of file SpellAuraEffects.h.
|
private |
Definition at line 531 of file SpellAuraEffects.cpp.
References m_spellmod.
|
explicitprivate |
Definition at line 518 of file SpellAuraEffects.cpp.
References CalculateAmount(), CalculatePeriodic(), CalculateSpellMod(), GetSpellInfo(), m_amount, m_base, m_baseAmount, m_canBeRecalculated, m_effIndex, m_isPeriodic, m_periodicTimer, m_spellInfo, m_spellmod, and m_tickNumber.
Referenced by ApplySpellMod(), HandleAuraModShapeshift(), HandlePeriodicHealAurasTick(), HandlePeriodicManaLeechAuraTick(), HandleShapeshiftBoosts(), and UpdatePeriodic().
| void AuraEffect::ApplySpellMod | ( | Unit * | target, |
| bool | apply ) |
Definition at line 818 of file SpellAuraEffects.cpp.
References Player::AddSpellMod(), AuraEffect(), Unit::GetAppliedAuras(), GetBase(), Aura::GetCasterGUID(), Aura::GetEffect(), Object::GetGUID(), GetMiscValue(), Aura::GetSpellInfo(), Object::GetTypeId(), SpellInfo::IsAffectedBySpellMod(), Aura::IsPassive(), Aura::IsPermanent(), m_spellmod, MAX_SPELL_EFFECTS, RecalculateAmount(), SPELLMOD_ALL_EFFECTS, SPELLMOD_EFFECT1, SPELLMOD_EFFECT2, SPELLMOD_EFFECT3, SPELLMOD_EFFECT4, SPELLMOD_EFFECT5, Object::ToPlayer(), and TYPEID_PLAYER.
Referenced by HandleEffect().
Definition at line 557 of file SpellAuraEffects.cpp.
References SpellEffectInfo::CalcBonusMultiplier(), Aura::CallScriptEffectCalcAmountHandlers(), SpellInfo::Effects, ItemRandomSuffixEntry::enchant_id, GetAuraType(), GetBase(), GetEffIndex(), Object::GetFloatValue(), GetMiscValueB(), GetSpellInfo(), Aura::GetStackAmount(), Object::GetTypeId(), m_baseAmount, m_canBeRecalculated, m_effIndex, m_spellInfo, MAX_ITEM_ENCHANTMENT_EFFECTS, PLAYER_FIELD_MASTERY, ItemRandomSuffixEntry::prefix, sItemRandomSuffixStore, SPELL_ATTR8_MASTERY_SPECIALIZATION, SPELL_AURA_MANA_SHIELD, SPELL_AURA_MOD_CONFUSE, SPELL_AURA_MOD_FEAR, SPELL_AURA_MOD_FEAR_2, SPELL_AURA_MOD_ROOT, SPELL_AURA_MOD_STUN, SPELL_AURA_MOUNTED, SPELL_AURA_SCHOOL_ABSORB, SPELL_AURA_TRANSFORM, SpellItemEnchantmentEntry::spellid, sSpellItemEnchantmentStore, Object::ToPlayer(), and TYPEID_PLAYER.
Referenced by AuraEffect(), RecalculateAmount(), and RecalculateAmount().
| void AuraEffect::CalculatePeriodic | ( | Unit * | caster, |
| bool | resetPeriodicTimer = true, | ||
| bool | load = false ) |
Definition at line 631 of file SpellAuraEffects.cpp.
References Player::ApplySpellMod(), Aura::CallScriptEffectCalcPeriodicHandlers(), GetAuraType(), GetBase(), Aura::GetDuration(), Object::GetFloatValue(), GetId(), Unit::GetSpellModOwner(), IN_MILLISECONDS, m_amplitude, m_effIndex, m_isPeriodic, m_periodicTimer, m_spellInfo, m_tickNumber, Unit::ModSpellCastTime(), SPELL_ATTR5_HASTE_AFFECT_DURATION, SPELL_ATTR5_START_PERIODIC_AT_APPLY, 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_WITH_VALUE, SPELL_AURA_POWER_BURN, SPELLMOD_ACTIVATION_TIME, and UNIT_FIELD_MOD_CASTING_SPEED.
Referenced by AuraEffect(), spell_shadowfang_keep_haunting_spirits::spell_shadowfang_keep_haunting_spirits_AuraScript::HandleUpdatePeriodic(), and Aura::RefreshTimers().
| void AuraEffect::CalculateSpellMod | ( | ) |
Definition at line 710 of file SpellAuraEffects.cpp.
References Aura::CallScriptEffectCalcSpellModHandlers(), SpellInfo::Effects, GetAmount(), GetAuraType(), GetBase(), Aura::GetCharges(), GetEffIndex(), GetId(), GetMiscValue(), GetSpellInfo(), m_spellmod, SPELL_AURA_ADD_FLAT_MODIFIER, SPELL_AURA_ADD_PCT_MODIFIER, and SpellEffectInfo::SpellClassMask.
Referenced by AuraEffect(), and ChangeAmount().
|
inline |
Definition at line 54 of file SpellAuraEffects.h.
References m_canBeRecalculated.
Referenced by Pet::_SaveAuras(), RecalculateAmount(), RecalculateAmount(), and Unit::RemoveAurasDueToSpellBySteal().
| void AuraEffect::ChangeAmount | ( | int32 | newAmount, |
| bool | mark = true, | ||
| bool | onStackOrReapply = false ) |
Definition at line 734 of file SpellAuraEffects.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT, AURA_EFFECT_HANDLE_REAPPLY, CalculateSpellMod(), GetAmount(), GetApplicationList(), GetEffIndex(), HandleEffect(), m_amount, and SetAmount().
Referenced by Unit::ChangeSeat(), spell_ex_66244::spell_ex_66244AuraScript::HandleEffectPeriodicUpdate(), RecalculateAmount(), RecalculateAmount(), and UpdatePeriodic().
| void AuraEffect::CleanupTriggeredSpells | ( | Unit * | target | ) |
Definition at line 1174 of file SpellAuraEffects.cpp.
References GetCasterGUID(), SpellInfo::GetDuration(), GetEffIndex(), m_spellInfo, Unit::RemoveAurasDueToSpell(), SPELL_AURA_PERIODIC_TRIGGER_SPELL, and sSpellMgr.
Referenced by AuraApplication::_HandleEffect().
|
inline |
Definition at line 42 of file SpellAuraEffects.h.
References m_amount.
Referenced by Player::_ApplyWeaponDependentAuraCritMod(), Player::_ApplyWeaponDependentAuraDamageMod(), AuraApplication::_HandleEffect(), Pet::_SaveAuras(), spell_dru_survival_instincts::spell_dru_survival_instincts_AuraScript::AfterApply(), spell_the_lich_king_necrotic_plague_jump::spell_the_lich_king_necrotic_plague_AuraScript::AfterDispel(), spell_dru_lifebloom::spell_dru_lifebloom_AuraScript::AfterRemove(), spell_mage_living_bomb::spell_mage_living_bomb_AuraScript::AfterRemove(), Unit::CalcAbsorbResist(), Unit::CalcHealAbsorb(), spell_sha_mana_tide_totem::spell_sha_mana_tide_totem_AuraScript::CalculateAmount(), CalculateSpellMod(), ChangeAmount(), spell_yogg_saron_brain_link::spell_yogg_saron_brain_link_AuraScript::DummyTick(), Spell::EffectHeal(), spell_pri_renew::spell_pri_renew_AuraScript::HandleApplyEffect(), HandleAuraDummy(), HandleAuraIncreaseBaseHealthPercent(), HandleAuraLinked(), HandleAuraModAttackPower(), HandleAuraModAttackPowerPercent(), HandleAuraModBaseResistancePCT(), HandleAuraModCritPct(), HandleAuraModFakeInebriation(), HandleAuraModIncreaseEnergyPercent(), HandleAuraModIncreaseHealth(), HandleAuraModIncreaseHealthPercent(), HandleAuraModIncreaseMaxHealth(), HandleAuraModIncreaseMaxPowerFlat(), HandleAuraModRangedAttackPower(), HandleAuraModRangedAttackPowerPercent(), HandleAuraModRangedHaste(), HandleAuraModResistance(), HandleAuraModResistanceExclusive(), HandleAuraModScale(), HandleAuraModSkill(), HandleAuraModStat(), HandleAuraModTotalThreat(), HandleAuraModWeaponCritPercent(), HandleAuraMounted(), Unit::HandleAuraProcOnPowerAmount(), Unit::HandleAuraRaidProcFromChargeWithValue(), HandleAuraRetainComboPoints(), Aura::HandleAuraSpecificMods(), HandleChannelDeathItem(), Unit::HandleDummyAuraProc(), spell_shadowfang_keep_haunting_spirits::spell_shadowfang_keep_haunting_spirits_AuraScript::HandleDummyTick(), spell_general_vezax_saronite_vapors::spell_general_vezax_saronite_vapors_AuraScript::HandleEffectApply(), spell_hun_fire::spell_hun_fire_AuraScript::HandleEffectCalcSpellMod(), spell_hun_improved_serpent_sting::spell_hun_improved_serpent_sting_AuraScript::HandleEffectCalcSpellMod(), spell_warl_chaotic_energy::spell_warl_chaotic_energy_AuraScript::HandleEffectCalcSpellMod(), spell_anubarak_leeching_swarm::spell_anubarak_leeching_swarm_AuraScript::HandleEffectPeriodic(), spell_general_vezax_mark_of_the_faceless::spell_general_vezax_mark_of_the_faceless_AuraScript::HandleEffectPeriodic(), spell_ex_66244::spell_ex_66244AuraScript::HandleEffectPeriodicUpdate(), spell_gen_burn_brutallus::spell_gen_burn_brutallus_AuraScript::HandleEffectPeriodicUpdate(), spell_pal_eye_for_an_eye::spell_pal_eye_for_an_eye_AuraScript::HandleEffectProc(), spell_pri_vampiric_embrace::spell_pri_vampiric_embrace_AuraScript::HandleEffectProc(), spell_sha_ancestral_awakening::spell_sha_ancestral_awakening_AuraScript::HandleEffectProc(), spell_sha_glyph_of_healing_wave::spell_sha_glyph_of_healing_wave_AuraScript::HandleEffectProc(), spell_sha_rolling_thunder::spell_sha_rolling_thunder_AuraScript::HandleEffectProc(), spell_sha_telluric_currents::spell_sha_telluric_currents_AuraScript::HandleEffectProc(), spell_sha_tidal_waves::spell_sha_tidal_waves_AuraScript::HandleEffectProc(), spell_pri_evangelism::spell_pri_evangelism_AuraScript::HandleEffectStackProc(), 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(), spell_gen_running_wild::spell_gen_running_wild_AuraScript::HandleMount(), spell_monk_diffuse_magic::spell_monk_diffuse_magic_SpellScript::HandleOnHit(), HandlePeriodicDamageAurasTick(), HandlePeriodicHealthFunnelAuraTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicTriggerSpellWithValueAuraTick(), spell_dru_living_seed::spell_dru_living_seed_AuraScript::HandleProc(), spell_dru_living_seed_proc::spell_dru_living_seed_proc_AuraScript::HandleProc(), spell_item_necrotic_touch::spell_item_necrotic_touch_AuraScript::HandleProc(), spell_pal_beacon_of_light::spell_pal_beacon_of_light_AuraScript::HandleProc(), spell_pri_divine_aegis::spell_pri_divine_aegis_AuraScript::HandleProc(), spell_sha_earth_shield::spell_sha_earth_shield_AuraScript::HandleProc(), HandleProcTriggerDamageAuraProc(), Unit::HandleProcTriggerSpell(), HandleProcTriggerSpellWithValueAuraProc(), HandleRaidProcFromChargeWithValueAuraProc(), HandleShieldBlockValue(), spell_valanar_kinetic_bomb_absorb::spell_valanar_kinetic_bomb_absorb_AuraScript::OnAbsorb(), spell_the_lich_king_necrotic_plague_jump::spell_the_lich_king_necrotic_plague_AuraScript::OnDispel(), spell_anhuur_divine_reckoning::spell_anhuur_divine_reckoning_AuraScript::OnPeriodic(), spell_xt002_gravity_bomb_aura::spell_xt002_gravity_bomb_aura_AuraScript::OnPeriodic(), spell_blood_queen_essence_of_the_blood_queen::spell_blood_queen_essence_of_the_blood_queen_AuraScript::OnProc(), spell_sha_nature_guardian::spell_sha_nature_guardian_AuraScript::OnProc(), spell_warl_fel_synergy::spell_warl_fel_synergy_AuraScript::OnProc(), spell_warl_shadow_trance_proc::spell_warl_shadow_trance_proc_AuraScript::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_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_yogg_saron_nondescript::spell_yogg_saron_nondescript_AuraScript::OnRemove(), spell_ulduar_stone_grip::spell_ulduar_stone_grip_AuraScript::OnRemoveStun(), spell_the_lich_king_infest::spell_the_lich_king_infest_AuraScript::OnUpdate(), Unit::ProcDamageAndSpellFor(), Unit::RemoveAurasDueToSpellBySteal(), and UpdatePeriodic().
|
inline |
Definition at line 37 of file SpellAuraEffects.h.
References m_amplitude.
| void AuraEffect::GetApplicationList | ( | std::list< AuraApplication * > & | applicationList | ) | const |
Definition at line 547 of file SpellAuraEffects.cpp.
References Aura::GetApplicationMap(), GetBase(), and GetEffIndex().
Referenced by ChangeAmount(), and Update().
|
inline |
Definition at line 41 of file SpellAuraEffects.h.
References 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(), HandleForceMoveForward(), spell_monk_diffuse_magic::spell_monk_diffuse_magic_SpellScript::HandleOnHit(), HandlePeriodicDamageAurasTick(), HandlePeriodicHealAurasTick(), HandleProc(), Unit::HandleProcTriggerSpell(), HandleShieldBlockValue(), PeriodicTick(), Unit::ProcDamageAndSpellFor(), Player::RestoreBaseRune(), Unit::SendPeriodicAuraLog(), and UpdatePeriodic().
|
inline |
Definition at line 28 of file SpellAuraEffects.h.
References m_base.
Referenced by spell_monk_dampen_harm::spell_monk_dampen_harm_AuraScript::Absorb(), ApplySpellMod(), Unit::CalcAbsorbResist(), Unit::CalcHealAbsorb(), CalculateAmount(), spell_dru_might_of_ursoc::spell_dru_might_of_ursoc_AuraScript::CalculateAmount(), CalculatePeriodic(), CalculateSpellMod(), Spell::EffectHeal(), Spell::EffectScriptEffect(), GetApplicationList(), GetCaster(), GetCasterGUID(), GetTargetList(), GetTotalTicks(), HandleAuraLinked(), HandleAuraModShapeshift(), HandleAuraModStateImmunity(), HandleAuraMounted(), Unit::HandleAuraProcOnPowerAmount(), Unit::HandleAuraRaidProcFromCharge(), Unit::HandleAuraRaidProcFromChargeWithValue(), HandleAuraRetainComboPoints(), Unit::HandleDummyAuraProc(), HandleEffect(), HandleEffect(), spell_gen_aura_of_anger::spell_gen_aura_of_anger_AuraScript::HandleEffectPeriodicUpdate(), HandleObsModPowerAuraTick(), spell_monk_diffuse_magic::spell_monk_diffuse_magic_SpellScript::HandleOnHit(), Unit::HandleOverrideClassScriptAuraProc(), HandlePeriodicDamageAurasTick(), HandlePeriodicDummyAuraTick(), HandlePeriodicEnergizeAuraTick(), HandlePeriodicHealAurasTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicManaLeechAuraTick(), spell_intense_cold::spell_intense_cold_AuraScript::HandlePeriodicTick(), HandleProc(), Unit::HandleProcTriggerSpell(), HandleRaidProcFromChargeAuraProc(), HandleRaidProcFromChargeWithValueAuraProc(), spell_monk_disable::spell_monk_disable_AuraScript::OnPeriodic(), spell_halion_marks::spell_halion_marks_AuraScript::OnRemove(), PeriodicTick(), Spell::prepare(), Unit::ProcDamageAndSpellFor(), Player::RestoreBaseRune(), Update(), and UpdatePeriodic().
|
inline |
Definition at line 36 of file SpellAuraEffects.h.
References m_baseAmount.
Referenced by Pet::_SaveAuras(), and Unit::RemoveAurasDueToSpellBySteal().
|
inline |
Definition at line 26 of file SpellAuraEffects.h.
References GetBase(), and Aura::GetCaster().
Referenced by Unit::CalcAbsorbResist(), Spell::EffectHeal(), HandleAuraCloneCaster(), HandleAuraControlVehicle(), HandleAuraDummy(), HandleAuraLinked(), HandleAuraModTotalThreat(), Unit::HandleAuraRaidProcFromCharge(), Unit::HandleAuraRaidProcFromChargeWithValue(), HandleAuraTransform(), HandleBindSight(), HandleChannelDeathItem(), HandleCharmConvert(), Unit::HandleDummyAuraProc(), spell_ignis_slag_pot::spell_ignis_slag_pot_AuraScript::HandleEffectPeriodic(), HandleModCharm(), HandleModPossess(), HandleModPossessPet(), HandleModTaunt(), HandleRaidProcFromChargeAuraProc(), HandleRaidProcFromChargeWithValueAuraProc(), and RecalculateAmount().
|
inline |
Definition at line 27 of file SpellAuraEffects.h.
References GetBase(), and Aura::GetCasterGUID().
Referenced by Unit::CastSpell(), CleanupTriggeredSpells(), Spell::EffectHeal(), Spell::EffectScriptEffect(), HandleAuraDummy(), HandleAuraLinked(), Unit::HandleAuraRaidProcFromCharge(), Unit::HandleAuraRaidProcFromChargeWithValue(), HandleAuraTransform(), HandleFeignDeath(), HandleObsModPowerAuraTick(), HandlePeriodicDamageAurasTick(), HandlePeriodicDummyAuraTick(), HandlePeriodicEnergizeAuraTick(), HandlePeriodicHealAurasTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicManaLeechAuraTick(), HandleRaidProcFromChargeAuraProc(), HandleRaidProcFromChargeWithValueAuraProc(), Unit::ProcDamageAndSpellFor(), and Unit::SendPeriodicAuraLog().
|
inline |
Definition at line 35 of file SpellAuraEffects.h.
References m_effIndex.
Referenced by Unit::CalcAbsorbResist(), CalculateAmount(), spell_pri_power_word_shield::spell_pri_power_word_shield_AuraScript::CalculateAmount(), spell_warr_rend::spell_warr_rend_AuraScript::CalculateAmount(), CalculateSpellMod(), 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(), ChangeAmount(), CleanupTriggeredSpells(), GetApplicationList(), GetTargetList(), HandleAuraModStat(), HandleAuraOverrideAutoattackWithSpell(), Unit::HandleAuraProcOnPowerAmount(), Unit::HandleAuraRaidProcFromCharge(), Unit::HandleAuraRaidProcFromChargeWithValue(), Unit::HandleDummyAuraProc(), spell_hun_fire::spell_hun_fire_AuraScript::HandleEffectCalcSpellMod(), spell_hun_improved_serpent_sting::spell_hun_improved_serpent_sting_AuraScript::HandleEffectCalcSpellMod(), spell_warl_chaotic_energy::spell_warl_chaotic_energy_AuraScript::HandleEffectCalcSpellMod(), spell_q12619_emblazon_runeblade::spell_q12619_emblazon_runeblade_AuraScript::HandleEffectPeriodic(), HandlePeriodicDamageAurasTick(), HandlePeriodicHealthFunnelAuraTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicManaLeechAuraTick(), HandlePeriodicPowerBurnAuraTick(), HandlePeriodicTriggerSpellAuraTick(), HandlePeriodicTriggerSpellWithValueAuraTick(), Unit::HandleProcTriggerSpell(), HandleProcTriggerSpellAuraProc(), HandleRaidProcFromChargeAuraProc(), HandleRaidProcFromChargeWithValueAuraProc(), spell_putricide_mutated_plague::spell_putricide_mutated_plague_AuraScript::HandleTriggerSpell(), spell_the_lich_king_vile_spirits::spell_the_lich_king_vile_spirits_AuraScript::OnPeriodic(), and Update().
|
inline |
Definition at line 34 of file SpellAuraEffects.h.
References m_spellInfo.
Referenced by CalculatePeriodic(), CalculateSpellMod(), Spell::EffectHeal(), HandleAuraControlVehicle(), HandleAuraDummy(), HandleAuraModDmgImmunity(), HandleAuraModEffectImmunity(), HandleAuraModIncreaseFlightSpeed(), HandleAuraModSchoolImmunity(), HandleAuraModStat(), HandleAuraModStateImmunity(), HandleAuraTransform(), Unit::HandleDummyAuraProc(), HandleModMechanicImmunity(), HandleModStateImmunityMask(), HandleObsModPowerAuraTick(), HandlePeriodicDamageAurasTick(), HandlePeriodicDummyAuraTick(), HandlePeriodicEnergizeAuraTick(), HandlePeriodicHealAurasTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicManaLeechAuraTick(), HandlePeriodicTriggerSpellAuraTick(), HandlePeriodicTriggerSpellWithValueAuraTick(), HandleProcTriggerDamageAuraProc(), HandleProcTriggerSpellAuraProc(), HandleProcTriggerSpellWithValueAuraProc(), HandleRaidProcFromChargeAuraProc(), HandleRaidProcFromChargeWithValueAuraProc(), Unit::ProcDamageAndSpellFor(), Unit::SendPeriodicAuraLog(), and UpdatePeriodic().
|
inline |
Definition at line 40 of file SpellAuraEffects.h.
References m_effIndex, and m_spellInfo.
Referenced by Player::_ApplyWeaponDependentAuraDamageMod(), ApplySpellMod(), Unit::CalcAbsorbResist(), CalculateSpellMod(), Unit::GetMaxPositiveAuraModifierByMiscMask(), HandleAuraConvertRune(), HandleAuraDummy(), HandleAuraForceWeather(), HandleAuraModBaseResistancePCT(), HandleAuraModDispelImmunity(), HandleAuraModDmgImmunity(), HandleAuraModEffectImmunity(), HandleAuraModFaction(), HandleAuraModIncreaseEnergyPercent(), HandleAuraModIncreaseMaxPowerFlat(), HandleAuraModResistance(), HandleAuraModResistanceExclusive(), HandleAuraModSchoolImmunity(), HandleAuraModShapeshift(), HandleAuraModSkill(), HandleAuraModStat(), HandleAuraModStateImmunity(), HandleAuraMounted(), HandleAuraOverrideSpells(), HandleAuraSetVehicle(), HandleAuraTrackCreatures(), HandleAuraTrackResources(), HandleAuraTransform(), spell_hun_improved_serpent_sting::spell_hun_improved_serpent_sting_AuraScript::HandleEffectCalcSpellMod(), HandleEnableAltPower(), HandleForceReaction(), HandleModBaseResistance(), HandleModDamageDone(), HandleModDamagePercentDone(), HandleModInvisibility(), HandleModInvisibilityDetect(), HandleModMechanicImmunity(), HandleModPercentStat(), HandleModPowerCost(), HandleModPowerCostPCT(), HandleModPowerRegen(), HandleModRating(), HandleModRatingFromStat(), HandleModResistancePercent(), HandleModStateImmunityMask(), HandleModStealth(), HandleModStealthDetect(), HandleModStealthLevel(), HandleModTargetResistance(), HandleModThreat(), HandleObsModPowerAuraTick(), Unit::HandleOverrideClassScriptAuraProc(), HandlePeriodicEnergizeAuraTick(), HandlePeriodicManaLeechAuraTick(), HandlePeriodicPowerBurnAuraTick(), HandlePlayScene(), HandleShapeshiftBoosts(), spell_gen_override_display_power::spell_gen_override_display_power_AuraScript::OnApply(), and Unit::ProcDamageAndSpellFor().
|
inline |
Definition at line 39 of file SpellAuraEffects.h.
References m_effIndex, and m_spellInfo.
Referenced by CalculateAmount(), HandleAuraConvertRune(), HandleModPowerRegen(), HandleModTotalPercentStat(), HandlePhase(), and HandlePhaseGroup().
|
inline |
Definition at line 45 of file SpellAuraEffects.h.
References m_periodicTimer.
Referenced by spell_dreamwalker_decay_periodic_timer::spell_dreamwalker_decay_periodic_timer_AuraScript::DecayPeriodicTimer().
|
inline |
Definition at line 33 of file SpellAuraEffects.h.
References m_spellInfo.
Referenced by Player::_ApplyWeaponDependentAuraCritMod(), Player::_ApplyWeaponDependentAuraDamageMod(), AuraEffect(), Unit::CalcAbsorbResist(), CalculateAmount(), CalculateSpellMod(), spell_dk_pet_scaling_01::spell_dk_pet_scaling_01_AuraScript::CalculateStrengthAmount(), Spell::EffectHeal(), Spell::EffectScriptEffect(), HandleAuraDummy(), HandleAuraModEffectImmunity(), HandleAuraModSchoolImmunity(), HandleAuraModStateImmunity(), HandleAuraModWeaponCritPercent(), HandleAuraMounted(), Unit::HandleAuraProcOnPowerAmount(), Unit::HandleAuraRaidProcFromCharge(), Unit::HandleAuraRaidProcFromChargeWithValue(), HandleAuraTransform(), HandleChannelDeathItem(), Unit::HandleDummyAuraProc(), HandleModDamageDone(), HandleModDamagePercentDone(), HandleModMechanicImmunity(), HandleModStateImmunityMask(), HandleObsModPowerAuraTick(), HandlePeriodicDamageAurasTick(), HandlePeriodicDummyAuraTick(), HandlePeriodicEnergizeAuraTick(), HandlePeriodicHealAurasTick(), HandlePeriodicHealthFunnelAuraTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicManaLeechAuraTick(), HandlePeriodicPowerBurnAuraTick(), HandlePeriodicTriggerSpellAuraTick(), HandlePeriodicTriggerSpellWithValueAuraTick(), HandleProcTriggerDamageAuraProc(), Unit::HandleProcTriggerSpell(), HandleProcTriggerSpellAuraProc(), HandleProcTriggerSpellWithValueAuraProc(), HandleRaidProcFromChargeAuraProc(), HandleRaidProcFromChargeWithValueAuraProc(), spell_monk_touch_of_karma::spell_monk_touch_of_karma_AuraScript::OnAbsorb(), spell_monk_serpents_zeal::spell_monk_serpents_zeal_AuraScript::OnProc(), spell_sha_nature_guardian::spell_sha_nature_guardian_AuraScript::OnProc(), Skyfire::AbsorbAuraOrderPred::operator()(), Spell::prepare(), Player::RestoreBaseRune(), and UpdatePeriodic().
|
inline |
Definition at line 31 of file SpellAuraEffects.h.
References m_spellmod.
| void AuraEffect::GetTargetList | ( | std::list< Unit * > & | targetList | ) | const |
Definition at line 536 of file SpellAuraEffects.cpp.
References Aura::GetApplicationMap(), GetBase(), and GetEffIndex().
|
inline |
Definition at line 63 of file SpellAuraEffects.h.
References m_tickNumber.
Referenced by spell_gen_aura_of_anger::spell_gen_aura_of_anger_AuraScript::HandleEffectPeriodicUpdate(), spell_gen_burn_brutallus::spell_gen_burn_brutallus_AuraScript::HandleEffectPeriodicUpdate(), HandlePeriodicHealAurasTick(), spell_bronjahm_soulstorm_visual::spell_bronjahm_soulstorm_visual_AuraScript::HandlePeriodicTick(), spell_monk_disable::spell_monk_disable_AuraScript::OnPeriodic(), spell_the_lich_king_soul_rip::spell_the_lich_king_soul_rip_AuraScript::OnPeriodic(), spell_the_lich_king_vile_spirits::spell_the_lich_king_vile_spirits_AuraScript::OnPeriodic(), spell_the_lich_king_infest::spell_the_lich_king_infest_AuraScript::OnUpdate(), spell_blood_queen_pact_of_the_darkfallen_dmg::spell_blood_queen_pact_of_the_darkfallen_dmg_AuraScript::PeriodicTick(), spell_dreamwalker_mana_void::spell_dreamwalker_mana_void_AuraScript::PeriodicTick(), and spell_trollgore_corpse_explode::spell_trollgore_corpse_explode_AuraScript::PeriodicTick().
|
inline |
Definition at line 64 of file SpellAuraEffects.h.
References GetBase(), Aura::GetMaxDuration(), and m_amplitude.
Referenced by spell_dru_innervate::spell_dru_innervate_AuraScript::CalculateAmount(), spell_gen_gift_of_naaru::spell_gen_gift_of_naaru_AuraScript::CalculateAmount(), spell_pri_renew::spell_pri_renew_AuraScript::HandleApplyEffect(), Aura::HandleAuraSpecificMods(), HandlePeriodicDamageAurasTick(), HandlePeriodicHealAurasTick(), and spell_monk_disable::spell_monk_disable_AuraScript::OnPeriodic().
| void AuraEffect::HandleArenaPreparation | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 36 of file SpellAuraMisc.cpp.
References AURA_EFFECT_HANDLE_REAL, GetAuraType(), AuraApplication::GetTarget(), Unit::HasAuraType(), Object::RemoveFlag(), Object::SetFlag(), UNIT_FIELD_FLAGS, and UNIT_FLAG_PREPARATION.
| void AuraEffect::HandleAuraAllowFlight | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 95 of file SpellAuraControl.cpp.
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 |
Definition at line 1023 of file SpellAuraState.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, AuraApplication::GetTarget(), Object::GetTypeId(), Unit::HasAuraType(), PLAYER_FIELD_PLAYER_FLAGS, PLAYER_FLAGS_ALLOW_ONLY_ABILITY, Object::RemoveFlag(), Object::SetFlag(), SPELL_AURA_ALLOW_ONLY_ABILITY, and TYPEID_PLAYER.
| void AuraEffect::HandleAuraCloneCaster | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 760 of file SpellAuraState.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetCaster(), Unit::GetDisplayId(), Unit::GetNativeDisplayId(), AuraApplication::GetTarget(), Object::RemoveFlag(), Unit::SetDisplayId(), Object::SetFlag(), UNIT_FIELD_FLAGS2, 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 422 of file SpellAuraControl.cpp.
References Unit::_EnterVehicle(), Unit::_ExitVehicle(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT, AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, GetCaster(), GetId(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::GetVehicleKit(), Unit::IsVehicle(), Unit::Kill(), m_amount, Unit::RemoveAurasDueToSpell(), Creature::RemoveCorpse(), Vehicle::RemovePassenger(), Vehicle::RemovePendingEventsForPassenger(), Object::ToCreature(), and TYPEID_UNIT.
| void AuraEffect::HandleAuraConvertRune | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 526 of file SpellAuraMisc.cpp.
References Player::AddRuneByAuraEffect(), AURA_EFFECT_HANDLE_REAL, CLASS_DEATH_KNIGHT, Unit::getClass(), Player::GetCurrentRune(), GetMiscValue(), GetMiscValueB(), Player::GetRuneCooldown(), AuraApplication::GetTarget(), m_amount, MAX_RUNES, Player::RemoveRunesByAuraEffect(), and Object::ToPlayer().
| void AuraEffect::HandleAuraDummy | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 75 of file SpellAuraMisc.cpp.
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_EXPIRE, Unit::CanHaveThreatList(), Unit::CastSpell(), Skyfire::Spells::ChampioningAuraInfo::ChampioningType, ObjectMgr::ChooseDisplayId(), Skyfire::Spells::ChampioningAuraInfo::FactionId, GetAmount(), Unit::GetAura(), Skyfire::Spells::GetAuraDummyTriggeredSpellId(), Unit::GetAuraEffectsByType(), Skyfire::Spells::GetAuraRemoveTriggeredSpellId(), Player::GetBattleground(), Skyfire::Spells::GetBloodElfIllusionDisguiseSpellId(), GetCaster(), GetCasterGUID(), Skyfire::Spells::GetChampioningAuraInfo(), Player::GetComboTarget(), Skyfire::Spells::GetFestiveHolidayMountCreatureEntry(), Unit::getGender(), Unit::GetGuardianPet(), Object::GetGUID(), GetId(), Skyfire::Spells::GetKillCommandOwnerAuraSpellId(), Skyfire::Spells::GetKillCommandPetAuraSpellId(), Skyfire::Spells::GetLichKingIntroApplySoundId(), Skyfire::Spells::GetLichKingIntroContinueSpellId(), Skyfire::Spells::GetLichKingIntroRemoveSoundId(), WorldObject::GetMap(), GetMiscValue(), Unit::GetMotionMaster(), Skyfire::Spells::GetNetOMaticRootSelfSpellId(), Skyfire::Spells::GetQuestTameFinalSpellId(), AuraApplication::GetRemoveMode(), Aura::GetSpellInfo(), GetSpellInfo(), Skyfire::Spells::GetStackingAuraTriggerSpellId(), Skyfire::Spells::GetTaggedMurlocEntry(), AuraApplication::GetTarget(), Object::GetTypeId(), ObjectAccessor::GetUnit(), WorldObject::GetZoneId(), Unit::HasAuraType(), SpellInfo::Id, IMMUNITY_MECHANIC, Unit::IsAlive(), Map::IsBattleground(), Skyfire::Spells::IsDespawnOnRemoveAura(), Map::IsHeroic(), Map::IsInstance(), Player::LeaveBattleground(), m_effIndex, m_spellInfo, MotionMaster::MoveFall(), WorldObject::PlayDirectSound(), WorldObject::PlayDistanceSound(), Unit::RemoveAurasDueToSpell(), Unit::RemovePetAura(), roll_chance_i(), sBattlefieldMgr, Player::SetChampioningFaction(), Player::SetChampioningType(), Aura::SetCharges(), Object::SetEntry(), Aura::SetStackAmount(), Object::SetUInt32Value(), sObjectMgr, SPELL_AURA_MOD_INCREASE_MOUNTED_FLIGHT_SPEED, SPELL_AURA_MOUNTED, SPELLFAMILY_DEATHKNIGHT, SPELLFAMILY_GENERIC, sSpellMgr, SpellInfo::StackAmount, Object::ToPlayer(), TYPEID_PLAYER, and UNIT_FIELD_MOUNT_DISPLAY_ID.
| void AuraEffect::HandleAuraEmpathy | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 470 of file SpellAuraMisc.cpp.
References Object::ApplyModUInt32Value(), AURA_EFFECT_HANDLE_REAL, CREATURE_TYPE_BEAST, GetAuraType(), Unit::GetCreatureType(), AuraApplication::GetTarget(), Unit::HasAuraType(), OBJECT_FIELD_DYNAMIC_FLAGS, and UNIT_DYNFLAG_SPECIALINFO.
| void AuraEffect::HandleAuraFeatherFall | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 132 of file SpellAuraControl.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), Position::GetPositionZ(), AuraApplication::GetTarget(), Object::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 721 of file SpellAuraMisc.cpp.
References WeatherMgr::AddWeather(), AURA_EFFECT_HANDLE_REAL, WeatherMgr::FindWeather(), ByteBuffer::FlushBits(), GetMiscValue(), Player::GetSession(), AuraApplication::GetTarget(), WorldObject::GetZoneId(), WeatherMgr::SendFineWeatherUpdateToPlayer(), WorldSession::SendPacket(), SMSG_WEATHER, Object::ToPlayer(), and ByteBuffer::WriteBit().
| void AuraEffect::HandleAuraGhost | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 369 of file SpellAuraState.cpp.
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_FIELD_PLAYER_FLAGS, PLAYER_FLAGS_GHOST, Object::RemoveFlag(), SERVERSIDE_VISIBILITY_GHOST, Object::SetFlag(), FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::SetValue(), SPELL_AURA_GHOST, and TYPEID_PLAYER.
| void AuraEffect::HandleAuraHover | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Sets movementflags
Definition at line 153 of file SpellAuraControl.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 644 of file SpellAuraStats.cpp.
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 |
Definition at line 559 of file SpellAuraMisc.cpp.
References AURA_EFFECT_HANDLE_REAL, AURA_EFFECT_HANDLE_REAPPLY, Unit::CastCustomSpell(), Unit::CastSpell(), GetAmount(), Unit::GetAura(), GetBase(), GetCaster(), GetCasterGUID(), Object::GetGUID(), AuraApplication::GetRemoveMode(), AuraApplication::GetTarget(), m_amount, m_effIndex, m_spellInfo, SpellInfo::NeedsToBeTriggeredByCaster(), Unit::RemoveAura(), and sSpellMgr.
| void AuraEffect::HandleAuraMastery | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 709 of file SpellAuraMisc.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), Object::ToPlayer(), and Player::UpdateMastery().
| void AuraEffect::HandleAuraModAttackPower | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 920 of file SpellAuraStats.cpp.
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::HandleAuraModAttackPowerPercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 943 of file SpellAuraStats.cpp.
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 |
Definition at line 284 of file SpellAuraStats.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, BASE_PCT, GetAmount(), GetMiscValue(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::HandleStatModifier(), Unit::IsPet(), MAX_SPELL_SCHOOL, SPELL_SCHOOL_MASK_NORMAL, SPELL_SCHOOL_NORMAL, Object::ToCreature(), TYPEID_PLAYER, UNIT_MOD_ARMOR, and UNIT_MOD_RESISTANCE_START.
| void AuraEffect::HandleAuraModBlockPercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 684 of file SpellAuraStats.cpp.
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 |
Definition at line 786 of file SpellAuraStats.cpp.
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 |
Definition at line 530 of file SpellAuraControl.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 880 of file SpellAuraState.cpp.
References Player::_ApplyWeaponDamage(), Player::_ApplyWeaponDependentAuraMods(), AURA_EFFECT_HANDLE_REAL, BASE_ATTACK, EQUIPMENT_SLOT_MAINHAND, EQUIPMENT_SLOT_OFFHAND, Player::GetAttackBySlot(), Unit::GetAuraEffectsByType(), GetAuraType(), Creature::GetCurrentEquipmentId(), Player::GetItemByPos(), 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_FLAGS2, 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 |
Definition at line 225 of file SpellAuraStats.cpp.
References Unit::ApplySpellDispelImmunity(), AURA_EFFECT_HANDLE_REAL, GetMiscValue(), AuraApplication::GetTarget(), and m_spellInfo.
| void AuraEffect::HandleAuraModDmgImmunity | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 215 of file SpellAuraStats.cpp.
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 |
Definition at line 671 of file SpellAuraStats.cpp.
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 |
Definition at line 120 of file SpellAuraStats.cpp.
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 |
Definition at line 494 of file SpellAuraStats.cpp.
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 |
Definition at line 487 of file SpellAuraMisc.cpp.
References AURA_EFFECT_HANDLE_REAL, GetMiscValue(), AuraApplication::GetTarget(), Object::GetTypeId(), Object::RemoveFlag(), Unit::RestoreFaction(), Unit::setFaction(), Object::SetFlag(), TYPEID_PLAYER, UNIT_FIELD_FLAGS, and UNIT_FLAG_PVP_ATTACKABLE.
| void AuraEffect::HandleAuraModFakeInebriation | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 597 of file SpellAuraMisc.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(), GetAmount(), Player::GetDrunkValue(), Object::GetInt32Value(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::HasAuraType(), INVISIBILITY_DRUNK, WorldObject::m_invisibilityDetect, PLAYER_FIELD_FAKE_INEBRIATION, Object::SetInt32Value(), SPELL_AURA_MOD_FAKE_INEBRIATE, Object::ToPlayer(), TYPEID_PLAYER, and Unit::UpdateObjectVisibility().
| void AuraEffect::HandleAuraModIncreaseEnergyPercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 600 of file SpellAuraStats.cpp.
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.
Definition at line 485 of file SpellAuraControl.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::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, TYPEID_PLAYER, TYPEID_UNIT, UNIT_FIELD_MOUNT_DISPLAY_ID, and Unit::UpdateSpeed().
| void AuraEffect::HandleAuraModIncreaseHealth | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 535 of file SpellAuraStats.cpp.
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 |
Definition at line 630 of file SpellAuraStats.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, Unit::CountPctFromMaxHealth(), GetAmount(), Unit::GetHealthPct(), 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 |
Definition at line 557 of file SpellAuraStats.cpp.
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::HandleAuraModIncreaseMaxPowerFlat | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 580 of file SpellAuraStats.cpp.
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::HandleAuraModIncreaseMountedSpeed | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 480 of file SpellAuraControl.cpp.
References HandleAuraModIncreaseSpeed().
| void AuraEffect::HandleAuraModIncreaseSpeed | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 470 of file SpellAuraControl.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 520 of file SpellAuraControl.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AuraApplication::GetTarget(), MOVE_SWIM, and Unit::UpdateSpeed().
| void AuraEffect::HandleAuraModPacify | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 976 of file SpellAuraState.cpp.
References Unit::AttackStop(), AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, AuraApplication::GetTarget(), Unit::HasAuraType(), Object::RemoveFlag(), Object::SetFlag(), SPELL_AURA_MOD_PACIFY, SPELL_AURA_MOD_PACIFY_SILENCE, UNIT_FIELD_FLAGS, and UNIT_FLAG_PACIFIED.
Referenced by HandleAuraModPacifyAndSilence().
| void AuraEffect::HandleAuraModPacifyAndSilence | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
@workaround
Definition at line 997 of file SpellAuraState.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, AuraApplication::GetTarget(), HandleAuraModPacify(), HandleAuraModSilence(), Unit::HasAuraType(), Skyfire::Spells::IsNonAttackablePacifyAura(), m_spellInfo, Object::RemoveFlag(), Object::SetFlag(), SPELL_AURA_MOD_PACIFY_SILENCE, UNIT_FIELD_FLAGS, and UNIT_FLAG_NON_ATTACKABLE.
| void AuraEffect::HandleAuraModParryPercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 658 of file SpellAuraStats.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), Object::GetTypeId(), Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateParryPercentage().
| void AuraEffect::HandleAuraModPetTalentsPoints | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 1142 of file SpellAuraState.cpp.
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 |
Definition at line 930 of file SpellAuraStats.cpp.
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::HandleAuraModRangedAttackPowerPercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 954 of file SpellAuraStats.cpp.
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 |
ToDo: Haste auras with the same handler CAN'T stack together
Definition at line 870 of file SpellAuraStats.cpp.
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 |
Definition at line 697 of file SpellAuraStats.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), Object::GetTypeId(), Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateManaRegen().
| void AuraEffect::HandleAuraModResistance | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 266 of file SpellAuraStats.cpp.
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, Object::ToCreature(), TOTAL_VALUE, TYPEID_PLAYER, and UNIT_MOD_RESISTANCE_START.
| void AuraEffect::HandleAuraModResistanceExclusive | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 243 of file SpellAuraStats.cpp.
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::HandleAuraModRoot | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 287 of file SpellAuraControl.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), Unit::SetControlled(), and UNIT_STATE_ROOT.
| void AuraEffect::HandleAuraModScale | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 748 of file SpellAuraState.cpp.
References ApplyPercentModFloatVar(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_SEND_FOR_CLIENT_MASK, GetAmount(), Object::GetObjectScale(), AuraApplication::GetTarget(), and Object::SetObjectScale().
| void AuraEffect::HandleAuraModSchoolImmunity | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 156 of file SpellAuraStats.cpp.
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, MECHANIC_BANISH, Unit::RemoveAura(), Unit::RemoveAurasWithInterruptFlags(), SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY, SPELL_ATTR2_DAMAGE_REDUCED_SHIELD, SPELL_SCHOOL_MASK_NORMAL, and UNIT_STATE_ISOLATED.
| void AuraEffect::HandleAuraModShapeshift | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 451 of file SpellAuraState.cpp.
References Player::_ApplyWeaponDamage(), Player::AddTemporarySpell(), AURA_EFFECT_HANDLE_REAL, AuraEffect(), BASE_ATTACK, Unit::CanUseAttackType(), Unit::CastSpell(), CLASS_DRUID, 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_FIERCE_TIGER, 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_STURDY_OX, FORM_TEST_OF_STRENGTH, FORM_THARONJA_SKELETON, FORM_TRAVEL, FORM_TREE, FORM_UNDEAD, FORM_WISE_SERPENT, FORM_ZOMBIE, Unit::GetAuraEffect(), GetBase(), Unit::getClass(), Player::GetItemByPos(), GetMiscValue(), Unit::GetModelForForm(), Unit::GetPower(), Unit::getPowerType(), AuraApplication::GetRemoveMode(), AuraApplication::GetTarget(), Unit::getTransForm(), Object::GetTypeId(), HandleShapeshiftBoosts(), Unit::HasAuraType(), Player::InitDataForForm(), INVENTORY_SLOT_BAG_0, Unit::IsPolymorphed(), MAX_SHAPESHIFT_SPELLS, POWER_ENERGY, POWER_MANA, POWER_RAGE, Unit::RemoveAurasByType(), Unit::RemoveAurasDueToSpell(), Unit::RemoveMovementImpairingAuras(), Player::RemoveTemporarySpell(), Unit::RestoreDisplayId(), Unit::SetDisplayId(), Unit::SetPower(), Unit::setPowerType(), Unit::SetShapeshiftForm(), SF_LOG_ERROR, SPELL_AURA_MOD_SHAPESHIFT, sSpellShapeshiftFormStore, SpellShapeshiftFormEntry::stanceSpell, Object::ToPlayer(), and TYPEID_PLAYER.
| void AuraEffect::HandleAuraModSilence | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 947 of file SpellAuraState.cpp.
References AURA_EFFECT_HANDLE_REAL, CURRENT_MAX_SPELL, CURRENT_MELEE_SPELL, Unit::GetCurrentSpell(), AuraApplication::GetTarget(), Unit::HasAuraType(), Unit::InterruptSpell(), Object::RemoveFlag(), Object::SetFlag(), SPELL_AURA_MOD_PACIFY_SILENCE, SPELL_AURA_MOD_SILENCE, SPELL_PREVENTION_TYPE_SILENCE, UNIT_FIELD_FLAGS, and UNIT_FLAG_SILENCED.
Referenced by HandleAuraModPacifyAndSilence().
| void AuraEffect::HandleAuraModSkill | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 1157 of file SpellAuraState.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_SKILL, GetAmount(), 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 1099 of file SpellAuraState.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), AuraApplication::GetTarget(), Unit::HasAuraType(), OBJECT_FIELD_DYNAMIC_FLAGS, Object::RemoveFlag(), Object::SetFlag(), UNIT_DYNFLAG_TRACK_UNIT, and Unit::UpdateObjectVisibility().
| void AuraEffect::HandleAuraModStat | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 373 of file SpellAuraStats.cpp.
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(), MAX_STATS, SF_LOG_ERROR, STAT_STRENGTH, Object::ToCreature(), TOTAL_VALUE, TYPEID_PLAYER, and UNIT_MOD_STAT_START.
| void AuraEffect::HandleAuraModStateImmunity | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 143 of file SpellAuraStats.cpp.
References Unit::ApplySpellImmune(), AURA_EFFECT_HANDLE_REAL, GetBase(), GetId(), GetMiscValue(), GetSpellInfo(), AuraApplication::GetTarget(), IMMUNITY_STATE, Unit::RemoveAurasByType(), and SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY.
| void AuraEffect::HandleAuraModStun | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 277 of file SpellAuraControl.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), Unit::SetControlled(), and UNIT_STATE_STUNNED.
| void AuraEffect::HandleAuraModTotalThreat | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 215 of file SpellAuraControl.cpp.
References HostileRefManager::addTempThreat(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, GetAmount(), GetCaster(), Unit::getHostileRefManager(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::IsAlive(), and TYPEID_PLAYER.
| void AuraEffect::HandleAuraModUseNormalSpeed | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 545 of file SpellAuraControl.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 710 of file SpellAuraStats.cpp.
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 |
Definition at line 35 of file SpellAuraControl.cpp.
References AURA_EFFECT_HANDLE_REAL, AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, Unit::CastSpell(), ObjectMgr::ChooseDisplayId(), Unit::Dismount(), GetAmount(), GetBase(), Object::GetGUID(), GetMiscValue(), GetSpellInfo(), AuraApplication::GetTarget(), Unit::HasAura(), MAX_SPELL_EFFECTS, Unit::Mount(), Unit::RemoveAurasByType(), Unit::RemoveAurasDueToSpell(), sMountCapabilityStore, sObjectMgr, SPELL_AURA_MOD_INCREASE_MOUNTED_FLIGHT_SPEED, SPELL_AURA_MOUNTED, and SPELL_EFFECT_SUMMON.
| void AuraEffect::HandleAuraOverrideAutoattackWithSpell | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 785 of file SpellAuraMisc.cpp.
References AURA_EFFECT_HANDLE_REAL, GetEffIndex(), SpellInfo::GetMaxRange(), AuraApplication::GetTarget(), m_spellInfo, Unit::SetAutoattackOverrideRange(), Unit::SetAutoattackOverrideSpell(), and sSpellMgr.
| void AuraEffect::HandleAuraOverrideSpells | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 638 of file SpellAuraMisc.cpp.
References Player::AddTemporarySpell(), AURA_EFFECT_HANDLE_REAL, GetMiscValue(), AuraApplication::GetTarget(), Object::IsInWorld(), MAX_OVERRIDE_SPELL, Player::RemoveTemporarySpell(), sOverrideSpellDataStore, and Object::ToPlayer().
| void AuraEffect::HandleAuraRetainComboPoints | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 54 of file SpellAuraMisc.cpp.
References Player::AddComboPoints(), AURA_EFFECT_HANDLE_REAL, GetAmount(), GetBase(), Player::GetComboTarget(), AuraApplication::GetTarget(), Object::GetTypeId(), ObjectAccessor::GetUnit(), Object::ToPlayer(), and TYPEID_PLAYER.
| void AuraEffect::HandleAuraSetVehicle | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 668 of file SpellAuraMisc.cpp.
References AURA_EFFECT_HANDLE_REAL, Unit::CreateVehicleKit(), GetMiscValue(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::GetVehicleKit(), Object::IsInWorld(), Unit::RemoveVehicleKit(), Player::SendOnCancelExpectedVehicleRideAura(), Object::ToPlayer(), and TYPEID_PLAYER.
| void AuraEffect::HandleAuraTrackCreatures | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 1048 of file SpellAuraState.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetMiscValue(), AuraApplication::GetTarget(), Object::GetTypeId(), PLAYER_FIELD_TRACK_CREATURE_MASK, Object::RemoveFlag(), Object::SetFlag(), and TYPEID_PLAYER.
| void AuraEffect::HandleAuraTrackResources | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 1064 of file SpellAuraState.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetMiscValue(), AuraApplication::GetTarget(), Object::GetTypeId(), PLAYER_FIELD_TRACK_RESOURCE_MASK, Object::RemoveFlag(), Object::SetFlag(), and TYPEID_PLAYER.
| void AuraEffect::HandleAuraTrackStealthed | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 1080 of file SpellAuraState.cpp.
References Object::ApplyModFlag(), AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::HasAuraType(), PLAYER_FIELD_BYTE_TRACK_STEALTHED, PLAYER_FIELD_LIFETIME_MAX_RANK, and TYPEID_PLAYER.
| void AuraEffect::HandleAuraTransform | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 648 of file SpellAuraState.cpp.
References AURA_EFFECT_HANDLE_REAL, AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, ObjectMgr::ChooseDisplayId(), Unit::GetAuraEffectsByType(), GetCaster(), GetCasterGUID(), Skyfire::Spells::GetDragonmawIllusionAuraSpellId(), Skyfire::Spells::GetDragonmawIllusionMountDisplayId(), Unit::getGender(), Skyfire::Spells::GetGlyphOfPenguinAuraSpellId(), Skyfire::Spells::GetGlyphOfPenguinDisplayId(), GetId(), GetMiscValue(), Unit::GetModelForForm(), Unit::GetMountID(), Unit::getRace(), CreatureTemplate::GetRandomValidModelId(), Unit::GetShapeshiftForm(), GetSpellInfo(), AuraApplication::GetTarget(), Unit::getTransForm(), Skyfire::Spells::GetTransformDisplayId(), Object::GetTypeId(), Skyfire::Spells::GetUnknownTransformFallbackDisplayId(), IN_MILLISECONDS, IS_PLAYER_GUID(), Unit::IsMounted(), Unit::IsPolymorphed(), SpellInfo::IsPositive(), RACE_NONE, Unit::RemoveAurasByType(), Unit::RestoreDisplayId(), Unit::SetDisplayId(), Player::setRegenTimerCount(), Unit::setTransForm(), Object::SetUInt32Value(), SF_LOG_ERROR, sObjectMgr, SPELL_AURA_MOD_INCREASE_MOUNTED_FLIGHT_SPEED, SPELL_AURA_MOUNTED, SPELLFAMILY_MAGE, sSpellMgr, Object::ToPlayer(), Skyfire::Spells::TransformDisplayRequiresPlayerRace(), TYPEID_PLAYER, and UNIT_FIELD_MOUNT_DISPLAY_ID.
| void AuraEffect::HandleAuraUntrackable | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 1120 of file SpellAuraState.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), AuraApplication::GetTarget(), Unit::HasAuraType(), Object::RemoveByteFlag(), Object::SetByteFlag(), UNIT_FIELD_ANIM_TIER, and UNIT_STAND_FLAGS_UNTRACKABLE.
| void AuraEffect::HandleAuraWaterWalk | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 115 of file SpellAuraControl.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), AuraApplication::GetTarget(), Unit::HasAuraType(), and Unit::SetWaterWalking().
| void AuraEffect::HandleBindSight | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 433 of file SpellAuraMisc.cpp.
References AURA_EFFECT_HANDLE_REAL, GetCaster(), AuraApplication::GetTarget(), Object::GetTypeId(), Player::SetViewpoint(), Object::ToPlayer(), and TYPEID_PLAYER.
| void AuraEffect::HandleChannelDeathItem | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 388 of file SpellAuraMisc.cpp.
References AURA_EFFECT_HANDLE_REAL, AURA_REMOVE_BY_DEATH, Player::CanStoreNewItem(), EQUIP_ERR_ITEM_NOT_FOUND, EQUIP_ERR_OK, GetAmount(), GetCaster(), AuraApplication::GetRemoveMode(), GetSpellInfo(), Object::GetTypeId(), m_amount, m_effIndex, NULL_BAG, NULL_SLOT, Player::SendEquipError(), Player::SendNewItem(), Player::StoreNewItem(), Object::ToPlayer(), and TYPEID_PLAYER.
| void AuraEffect::HandleCharmConvert | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 402 of file SpellAuraControl.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 508 of file SpellAuraMisc.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), AuraApplication::GetTarget(), Unit::HasAuraType(), Object::RemoveFlag(), Object::SetFlag(), UNIT_FIELD_FLAGS2, and UNIT_FLAG2_COMPREHEND_LANG.
| void AuraEffect::HandleEffect | ( | AuraApplication * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) |
Definition at line 767 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, AuraEffectHandler, Aura::CallScriptAfterEffectApplyHandlers(), Aura::CallScriptAfterEffectRemoveHandlers(), Aura::CallScriptEffectApplyHandlers(), Aura::CallScriptEffectRemoveHandlers(), GetAuraType(), GetBase(), AuraApplication::GetRemoveMode(), and AuraApplication::GetTarget().
Referenced by AuraApplication::_HandleEffect(), ChangeAmount(), HandleEffect(), and Unit::RestoreDisplayId().
Definition at line 811 of file SpellAuraEffects.cpp.
References ASSERT, Aura::GetApplicationOfTarget(), GetBase(), Object::GetGUID(), and HandleEffect().
| void AuraEffect::HandleEnableAltPower | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 756 of file SpellAuraMisc.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 789 of file SpellAuraState.cpp.
References Unit::AddUnitState(), AURA_EFFECT_HANDLE_REAL, AURA_INTERRUPT_FLAG_IMMUNE_OR_LOST_SELECTION, Unit::ClearUnitState(), Unit::CombatStop(), CURRENT_FIRST_NON_MELEE_SPELL, CURRENT_GENERIC_SPELL, CURRENT_MAX_SPELL, HostileRefManager::deleteReferences(), Unit::FinishSpell(), GetCasterGUID(), Unit::GetCurrentSpell(), Object::GetGUID(), Unit::getHostileRefManager(), WorldObject::GetMap(), AuraApplication::GetRemoveMode(), AuraApplication::GetTarget(), Map::GetVisibilityRange(), Unit::InterruptNonMeleeSpells(), OBJECT_FIELD_DYNAMIC_FLAGS, REACT_PASSIVE, Unit::RemoveAurasWithInterruptFlags(), Object::RemoveFlag(), Object::SetFlag(), Object::ToCreature(), UNIT_DYNFLAG_DEAD, UNIT_FIELD_FLAGS, UNIT_FIELD_FLAGS2, UNIT_FLAG2_FEIGN_DEATH, UNIT_FLAG_DISABLE_POWERS, UNIT_STATE_CASTING, UNIT_STATE_DIED, and WorldObject::VisitNearbyObject().
| void AuraEffect::HandleForceMoveForward | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 182 of file SpellAuraControl.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, GetAuraType(), AuraApplication::GetTarget(), Unit::HasAuraType(), Object::RemoveFlag(), Object::SetFlag(), UNIT_FIELD_FLAGS2, and UNIT_FLAG2_FORCE_MOVEMENT.
| void AuraEffect::HandleForceReaction | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 448 of file SpellAuraMisc.cpp.
References ReputationMgr::ApplyForceReaction(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, GetMiscValue(), Player::GetReputationMgr(), Player::GetReputationRank(), AuraApplication::GetTarget(), m_amount, REP_FRIENDLY, ReputationMgr::SendForceReactions(), Unit::StopAttackFaction(), and Object::ToPlayer().
| void AuraEffect::HandleModAttackSpeed | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 847 of file SpellAuraStats.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 329 of file SpellAuraStats.cpp.
References 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_MASK_NORMAL, SPELL_SCHOOL_NORMAL, Object::ToCreature(), TOTAL_VALUE, TYPEID_PLAYER, UNIT_MOD_ARMOR, and UNIT_MOD_RESISTANCE_START.
| void AuraEffect::HandleModCastingSpeed | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 811 of file SpellAuraStats.cpp.
References Unit::ApplyCastTimePercentMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), and AuraApplication::GetTarget().
| void AuraEffect::HandleModCharm | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 387 of file SpellAuraControl.cpp.
References AURA_EFFECT_HANDLE_REAL, CHARM_TYPE_CHARM, GetCaster(), AuraApplication::GetTarget(), Unit::RemoveCharmedBy(), and Unit::SetCharmedBy().
Referenced by HandleModPossess().
| void AuraEffect::HandleModCombatSpeedPct | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 834 of file SpellAuraStats.cpp.
References Unit::ApplyAttackTimePercentMod(), Unit::ApplyCastTimePercentMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, BASE_ATTACK, GetAmount(), AuraApplication::GetTarget(), m_amount, OFF_ATTACK, and RANGED_ATTACK.
| void AuraEffect::HandleModConfuse | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 257 of file SpellAuraControl.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), Unit::SetControlled(), and UNIT_STATE_CONFUSED.
| void AuraEffect::HandleModDamageDone | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 972 of file SpellAuraStats.cpp.
References Player::_ApplyWeaponDependentAuraDamageMod(), Object::ApplyModUInt32Value(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), Unit::GetGuardianPet(), GetMiscValue(), GetSpellInfo(), AuraApplication::GetTarget(), Object::GetTypeId(), Player::GetWeaponForAttack(), Unit::HandleStatModifier(), MAX_ATTACK, MAX_SPELL_SCHOOL, PLAYER_FIELD_MOD_DAMAGE_DONE_NEG, PLAYER_FIELD_MOD_DAMAGE_DONE_POS, SPELL_SCHOOL_HOLY, SPELL_SCHOOL_MASK_MAGIC, SPELL_SCHOOL_MASK_NORMAL, Object::ToPlayer(), TOTAL_VALUE, TYPEID_PLAYER, UNIT_MOD_DAMAGE_MAINHAND, UNIT_MOD_DAMAGE_OFFHAND, and UNIT_MOD_DAMAGE_RANGED.
| void AuraEffect::HandleModDamagePercentDone | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 1058 of file SpellAuraStats.cpp.
References Player::_ApplyWeaponDependentAuraDamageMod(), Object::ApplyPercentModFloatValue(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), GetMiscValue(), GetSpellInfo(), AuraApplication::GetTarget(), Object::GetTypeId(), Player::GetWeaponForAttack(), Unit::HandleStatModifier(), MAX_ATTACK, PLAYER_FIELD_MOD_DAMAGE_DONE_PERCENT, SPELL_SCHOOL_MASK_NORMAL, Object::ToPlayer(), TOTAL_PCT, TYPEID_PLAYER, UNIT_MOD_DAMAGE_MAINHAND, UNIT_MOD_DAMAGE_OFFHAND, and UNIT_MOD_DAMAGE_RANGED.
| void AuraEffect::HandleModFear | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 267 of file SpellAuraControl.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), Unit::SetControlled(), and UNIT_STATE_FLEEING.
| void AuraEffect::HandleModHealingDone | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 453 of file SpellAuraStats.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), Object::GetTypeId(), Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateSpellDamageAndHealingBonus().
| void AuraEffect::HandleModHitChance | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 741 of file SpellAuraStats.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::m_modMeleeHitChance, Unit::m_modRangedHitChance, Object::ToPlayer(), TYPEID_PLAYER, Player::UpdateMeleeHitChances(), and Player::UpdateRangedHitChances().
| void AuraEffect::HandleModInvisibility | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 200 of file SpellAuraState.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, AURA_INTERRUPT_FLAG_IMMUNE_OR_LOST_SELECTION, FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::DelFlag(), GetAmount(), Unit::GetAuraEffectsByType(), GetMiscValue(), AuraApplication::GetTarget(), Unit::HasAuraType(), WorldObject::m_invisibility, Unit::RemoveAurasWithInterruptFlags(), SPELL_AURA_MOD_INVISIBILITY, and Unit::UpdateObjectVisibility().
| void AuraEffect::HandleModInvisibilityDetect | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 175 of file SpellAuraState.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(), GetAmount(), GetMiscValue(), AuraApplication::GetTarget(), Unit::HasAuraType(), WorldObject::m_invisibilityDetect, SPELL_AURA_MOD_INVISIBILITY_DETECT, and Unit::UpdateObjectVisibility().
| void AuraEffect::HandleModMechanicImmunity | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 92 of file SpellAuraStats.cpp.
References Unit::ApplySpellImmune(), AURA_EFFECT_HANDLE_REAL, AURA_REMOVE_BY_DEFAULT, Skyfire::Spells::GetAuraImmunityMechanicMask(), GetId(), Skyfire::Spells::GetMechanicImmunitySpellRule(), GetMiscValue(), GetSpellInfo(), AuraApplication::GetTarget(), IMMUNITY_MECHANIC, Unit::RemoveAurasWithMechanic(), and SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY.
| void AuraEffect::HandleModMeleeRangedSpeedPct | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
ToDo: Haste auras with the same handler CAN'T stack together
Definition at line 821 of file SpellAuraStats.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::HandleModMeleeSpeedPct | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
ToDo: Haste auras with the same handler CAN'T stack together
Definition at line 858 of file SpellAuraStats.cpp.
References Unit::ApplyAttackTimePercentMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, BASE_ATTACK, GetAmount(), AuraApplication::GetTarget(), and OFF_ATTACK.
| void AuraEffect::HandleModOffhandDamagePercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 1090 of file SpellAuraStats.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), AuraApplication::GetTarget(), Unit::HandleStatModifier(), TOTAL_PCT, and UNIT_MOD_DAMAGE_OFFHAND.
| void AuraEffect::HandleModPercentStat | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 399 of file SpellAuraStats.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, BASE_PCT, GetMiscValue(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::HandleStatModifier(), m_amount, MAX_STATS, SF_LOG_ERROR, STAT_STRENGTH, TYPEID_PLAYER, and UNIT_MOD_STAT_START.
| void AuraEffect::HandleModPossess | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 312 of file SpellAuraControl.cpp.
References AURA_EFFECT_HANDLE_REAL, CHARM_TYPE_POSSESS, GetCaster(), AuraApplication::GetTarget(), Object::GetTypeId(), HandleModCharm(), Unit::RemoveCharmedBy(), Unit::SetCharmedBy(), and TYPEID_UNIT.
| void AuraEffect::HandleModPossessPet | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 334 of file SpellAuraControl.cpp.
References AURA_EFFECT_HANDLE_REAL, CHARM_TYPE_POSSESS, MotionMaster::Clear(), COMMAND_STAY, GetCaster(), Unit::GetCharmInfo(), Minion::GetFollowAngle(), WorldObject::GetMap(), Unit::GetMotionMaster(), Player::GetPet(), AuraApplication::GetTarget(), Object::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(), Object::ToCreature(), Unit::ToPet(), Object::ToPlayer(), TYPEID_PLAYER, and TYPEID_UNIT.
| void AuraEffect::HandleModPowerCost | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 1132 of file SpellAuraStats.cpp.
References Object::ApplyModInt32Value(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, GetAmount(), GetMiscValue(), AuraApplication::GetTarget(), MAX_SPELL_SCHOOL, and UNIT_FIELD_POWER_COST_MODIFIER.
| void AuraEffect::HandleModPowerCostPCT | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 1119 of file SpellAuraStats.cpp.
References Object::ApplyModSignedFloatValue(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, CalculatePct(), GetAmount(), GetMiscValue(), AuraApplication::GetTarget(), MAX_SPELL_SCHOOL, and UNIT_FIELD_POWER_COST_MULTIPLIER.
| void AuraEffect::HandleModPowerRegen | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 512 of file SpellAuraStats.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetMiscValue(), GetMiscValueB(), AuraApplication::GetTarget(), Object::GetTypeId(), POWER_MANA, POWER_RUNES, Object::ToPlayer(), TYPEID_PLAYER, Player::UpdateManaRegen(), and Player::UpdateRuneRegen().
Referenced by HandleModPowerRegenPCT().
| void AuraEffect::HandleModPowerRegenPCT | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 530 of file SpellAuraStats.cpp.
References HandleModPowerRegen().
| void AuraEffect::HandleModRating | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 885 of file SpellAuraStats.cpp.
References Player::ApplyRatingMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), GetMiscValue(), AuraApplication::GetTarget(), Object::GetTypeId(), MAX_COMBAT_RATING, Object::ToPlayer(), and TYPEID_PLAYER.
| void AuraEffect::HandleModRatingFromStat | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 900 of file SpellAuraStats.cpp.
References Player::ApplyRatingMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetMiscValue(), AuraApplication::GetTarget(), Object::GetTypeId(), MAX_COMBAT_RATING, Object::ToPlayer(), and TYPEID_PLAYER.
| void AuraEffect::HandleModResistancePercent | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 308 of file SpellAuraStats.cpp.
References Unit::ApplyResistanceBuffModsPercentMod(), 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, Object::ToCreature(), TOTAL_PCT, TYPEID_PLAYER, and UNIT_MOD_RESISTANCE_START.
| void AuraEffect::HandleModSpellCritChance | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 773 of file SpellAuraStats.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::m_baseSpellCritChance, Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateAllSpellCritChances().
| void AuraEffect::HandleModSpellDamagePercentFromStat | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 423 of file SpellAuraStats.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), Object::GetTypeId(), Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateSpellDamageAndHealingBonus().
| void AuraEffect::HandleModSpellHealingPercentFromStat | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 439 of file SpellAuraStats.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), Object::GetTypeId(), Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateSpellDamageAndHealingBonus().
| void AuraEffect::HandleModSpellHitChance | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 760 of file SpellAuraStats.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::m_modSpellHitChance, Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateSpellHitChances().
| void AuraEffect::HandleModStateImmunityMask | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 63 of file SpellAuraStats.cpp.
References Unit::ApplySpellImmune(), AURA_EFFECT_HANDLE_REAL, AURA_REMOVE_BY_DEFAULT, GetAmount(), Skyfire::Spells::GetAuraStateImmunityRule(), GetId(), GetMiscValue(), GetSpellInfo(), AuraApplication::GetTarget(), IMMUNITY_STATE, Unit::RemoveAurasByType(), Unit::RemoveAurasWithMechanic(), and SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY.
| void AuraEffect::HandleModStealth | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 281 of file SpellAuraState.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, AURA_INTERRUPT_FLAG_IMMUNE_OR_LOST_SELECTION, FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::DelFlag(), GetAmount(), GetMiscValue(), AuraApplication::GetTarget(), Unit::HasAuraType(), WorldObject::m_stealth, Unit::RemoveAurasWithInterruptFlags(), Unit::RemoveStandFlags(), Unit::SetStandFlags(), SPELL_AURA_MOD_STEALTH, UNIT_STAND_FLAGS_CREEP, and Unit::UpdateObjectVisibility().
| void AuraEffect::HandleModStealthDetect | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 256 of file SpellAuraState.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(), GetAmount(), GetMiscValue(), AuraApplication::GetTarget(), Unit::HasAuraType(), WorldObject::m_stealthDetect, SPELL_AURA_MOD_STEALTH_DETECT, and Unit::UpdateObjectVisibility().
| void AuraEffect::HandleModStealthLevel | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
| void AuraEffect::HandleModTargetResistance | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 351 of file SpellAuraStats.cpp.
References Object::ApplyModInt32Value(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), GetMiscValue(), AuraApplication::GetTarget(), Object::GetTypeId(), PLAYER_FIELD_MOD_TARGET_PHYSICAL_RESISTANCE, PLAYER_FIELD_MOD_TARGET_RESISTANCE, SPELL_SCHOOL_MASK_NORMAL, SPELL_SCHOOL_MASK_SPELL, and TYPEID_PLAYER.
| void AuraEffect::HandleModTaunt | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 230 of file SpellAuraControl.cpp.
References AURA_EFFECT_HANDLE_REAL, Unit::CanHaveThreatList(), GetCaster(), AuraApplication::GetTarget(), Unit::IsAlive(), Unit::TauntApply(), and Unit::TauntFadeOut().
| void AuraEffect::HandleModThreat | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 204 of file SpellAuraControl.cpp.
References ApplyPercentModFloatVar(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, GetAmount(), GetMiscValue(), AuraApplication::GetTarget(), Unit::m_threatModifier, and MAX_SPELL_SCHOOL.
| void AuraEffect::HandleModTotalPercentStat | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 467 of file SpellAuraStats.cpp.
References Unit::ApplyStatPercentBuffMod(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, GetAmount(), Unit::GetHealthPct(), Unit::GetMaxHealth(), GetMiscValueB(), AuraApplication::GetTarget(), Object::GetTypeId(), Unit::HandleStatModifier(), Unit::IsAlive(), Unit::IsPet(), m_spellInfo, MAX_STATS, Unit::SetHealth(), SPELL_ATTR0_ABILITY, STAT_STAMINA, STAT_STRENGTH, Object::ToCreature(), TOTAL_PCT, TYPEID_PLAYER, and UNIT_MOD_STAT_START.
| void AuraEffect::HandleModUnattackable | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 859 of file SpellAuraState.cpp.
References Object::ApplyModFlag(), AURA_EFFECT_HANDLE_REAL, AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, AURA_INTERRUPT_FLAG_IMMUNE_OR_LOST_SELECTION, Unit::CombatStop(), AuraApplication::GetTarget(), Unit::HasAuraType(), Unit::RemoveAurasWithInterruptFlags(), SPELL_AURA_MOD_UNATTACKABLE, UNIT_FIELD_FLAGS, and UNIT_FLAG_NON_ATTACKABLE.
| void AuraEffect::HandleNoImmediateEffect | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 513 of file SpellAuraEffects.cpp.
References Skyfire::Spells::SPELL_DISPATCH_HANDLER_NO_IMMEDIATE_EFFECT.
| void AuraEffect::HandleNULL | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 503 of file SpellAuraEffects.cpp.
References Skyfire::Spells::SPELL_DISPATCH_HANDLER_NULL.
Definition at line 915 of file SpellAuraPeriodic.cpp.
References GetBase(), GetCasterGUID(), Object::GetGUIDLow(), Unit::getHostileRefManager(), GetId(), Unit::GetMaxPower(), GetMiscValue(), Unit::GetPower(), Unit::getPowerType(), GetSpellInfo(), Object::GetTypeId(), GUID_HIPART(), GUID_LOPART(), GuidHigh2TypeId(), Unit::HasUnitState(), Unit::IsAlive(), m_amount, Unit::ModifyPower(), POWER_ALL, Unit::SendPeriodicAuraLog(), SendTickImmune(), SF_LOG_INFO, HostileRefManager::threatAssist(), and UNIT_STATE_ISOLATED.
Referenced by PeriodicTick().
| void AuraEffect::HandleOverrideAttackPowerBySpellPower | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 805 of file SpellAuraMisc.cpp.
References Object::ApplyModSignedFloatValue(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), m_amount, PLAYER_FIELD_OVERRIDE_APBY_SPELL_POWER_PERCENT, Object::ToPlayer(), and Player::UpdateAttackPowerAndDamage().
| void AuraEffect::HandleOverrideSpellPowerByAttackPower | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 772 of file SpellAuraMisc.cpp.
References Object::ApplyModSignedFloatValue(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, AuraApplication::GetTarget(), m_amount, PLAYER_FIELD_OVERRIDE_SPELL_POWER_BY_APPERCENT, Object::ToPlayer(), and Player::UpdateSpellDamageAndHealingBonus().
Definition at line 518 of file SpellAuraPeriodic.cpp.
References Unit::ApplyResilience(), BASE_ATTACK, Unit::CalcAbsorbResist(), Unit::CalcArmorReducedDamage(), SpellEffectInfo::CalcValue(), Unit::CastSpell(), Unit::CountPctFromMaxHealth(), Unit::DealDamage(), Unit::DealDamageMods(), DOT, EFFECT_1, SpellInfo::Effects, GetAmount(), GetAuraType(), GetBase(), GetCasterGUID(), Skyfire::Spells::GetDrainSoulShardSpellId(), GetEffIndex(), Object::GetGUIDLow(), Unit::GetHealth(), GetId(), GetSpellInfo(), GetTotalTicks(), Object::GetTypeId(), GUID_HIPART(), GUID_LOPART(), GuidHigh2TypeId(), Unit::HasUnitState(), Unit::HealthBelowPct(), Unit::IsAlive(), Unit::IsDamageReducedByArmor(), Unit::IsFullHealth(), Skyfire::Spells::IsFullHealthRemovePeriodicDamageAura(), Player::isHonorOrXPTarget(), Unit::IsImmunedToDamage(), Skyfire::Spells::IsPctHealthRemovePeriodicDamageAura(), IsPeriodicTickCrit(), Skyfire::Spells::IsUnboundPlaguePeriodicDamageAura(), m_spellInfo, m_tickNumber, MELEE_HIT_NORMAL, CleanDamage::mitigated_damage, PROC_EX_CRITICAL_HIT, PROC_EX_INTERNAL_DOT, PROC_EX_NORMAL_HIT, PROC_FLAG_DONE_PERIODIC, PROC_FLAG_TAKEN_DAMAGE, PROC_FLAG_TAKEN_PERIODIC, Unit::ProcDamageAndSpell(), Unit::RemoveAurasDueToSpell(), Unit::SendPeriodicAuraLog(), SendTickImmune(), SF_LOG_INFO, SPELL_AURA_PERIODIC_DAMAGE, SPELL_EFFECT_PERSISTENT_AREA_AURA, SPELL_MISS_NONE, Unit::SpellCriticalDamageBonus(), Unit::SpellDamageBonusDone(), Unit::SpellDamageBonusTaken(), SPELLFAMILY_GENERIC, SPELLFAMILY_WARLOCK, Unit::SpellHitResult(), sScriptMgr, Object::ToPlayer(), TYPEID_PLAYER, and UNIT_STATE_ISOLATED.
Referenced by PeriodicTick().
Definition at line 36 of file SpellAuraPeriodic.cpp.
References Unit::CalculateSpellDamage(), Unit::CastCustomSpell(), Unit::CastSpell(), CLASS_DEATH_KNIGHT, Skyfire::ComputeCellCoord(), Unit::CountPctFromMaxHealth(), Unit::DealDamage(), Skyfire::Spells::PeriodicBulletControllerRule::FirstSpellId, Unit::GetAppliedAuras(), GetBase(), GetCasterGUID(), Unit::getClass(), GetId(), Skyfire::Spells::GetKillingSpreePeriodicSpellId(), WorldObject::GetMap(), Unit::GetMaxHealth(), SpellInfo::GetMaxRange(), Skyfire::Spells::GetPeriodicBulletControllerRule(), Skyfire::Spells::GetPeriodicDeathAndDecayTriggerSpellId(), Skyfire::Spells::GetPeriodicExplosiveShotTriggerSpellId(), Skyfire::Spells::GetPeriodicFrenziedRegenerationSpellId(), Skyfire::Spells::GetPeriodicFuseArmorTriggerSpellId(), Skyfire::Spells::GetPeriodicOverloadCircuitShutdownSpellId(), Position::GetPositionX(), Position::GetPositionY(), Unit::GetPower(), Unit::getPowerType(), GetSpellInfo(), Object::GetTypeId(), Unit::GetVehicleBase(), Map::IsDungeon(), Map::IsHeroic(), m_amount, m_effIndex, m_spellInfo, Skyfire::Spells::PeriodicBulletControllerRule::MaxTargetRoll, NODAMAGE, POWER_RAGE, Unit::RemoveAura(), Player::RemoveRunesByAuraEffect(), Skyfire::Spells::PeriodicBulletControllerRule::SecondSpellId, Skyfire::Containers::SelectRandomContainerElement(), Unit::SetPower(), SPELL_SCHOOL_MASK_NORMAL, SPELLFAMILY_DEATHKNIGHT, SPELLFAMILY_DRUID, SPELLFAMILY_GENERIC, SPELLFAMILY_HUNTER, SPELLFAMILY_MAGE, SPELLFAMILY_ROGUE, SPELLVALUE_BASE_POINT0, SPELLVALUE_MAX_TARGETS, Object::ToPlayer(), TYPEID_PLAYER, and Cell::Visit().
Referenced by PeriodicTick().
Definition at line 950 of file SpellAuraPeriodic.cpp.
References GetBase(), GetCasterGUID(), Object::GetGUIDLow(), Unit::getHostileRefManager(), GetId(), Unit::GetMaxPower(), GetMiscValue(), Unit::GetPower(), GetSpellInfo(), Object::GetTypeId(), GUID_HIPART(), GUID_LOPART(), GuidHigh2TypeId(), Unit::HasUnitState(), Unit::IsAlive(), m_amount, Unit::ModifyPower(), Unit::SendPeriodicAuraLog(), SendTickImmune(), SF_LOG_INFO, HostileRefManager::threatAssist(), and UNIT_STATE_ISOLATED.
Referenced by PeriodicTick().
Definition at line 757 of file SpellAuraPeriodic.cpp.
References AddPct(), AuraEffect(), BASE_ATTACK, Unit::CalcHealAbsorb(), Unit::CountPctFromMaxHealth(), Unit::DealDamage(), Unit::DealDamageMods(), Unit::DealHeal(), DOT, Unit::GetAuraEffect(), GetAuraType(), GetBase(), GetCasterGUID(), Aura::GetCastItemGUID(), Object::GetGUIDLow(), Unit::getHostileRefManager(), GetId(), Unit::GetMaxNegativeAuraModifier(), Unit::GetMaxPositiveAuraModifier(), GetSpellInfo(), Skyfire::Spells::GetTenacityAuraSpellId(), GetTickNumber(), GetTotalTicks(), Object::GetTypeId(), Skyfire::Spells::GetWildGrowthTier10AuraSpellId(), GUID_HIPART(), GUID_LOPART(), GuidHigh2TypeId(), Unit::HasUnitState(), Unit::IsAlive(), Unit::IsFullHealth(), IsPeriodicTickCrit(), m_amount, m_spellInfo, MELEE_HIT_NORMAL, NODAMAGE, PROC_EX_CRITICAL_HIT, PROC_EX_INTERNAL_HOT, PROC_EX_NORMAL_HIT, PROC_FLAG_DONE_PERIODIC, PROC_FLAG_TAKEN_PERIODIC, Unit::ProcDamageAndSpell(), Unit::SendPeriodicAuraLog(), Unit::SendSpellNonMeleeDamageLog(), SendTickImmune(), SF_LOG_INFO, SPELL_ATTR2_HEALTH_FUNNEL, SPELL_AURA_MOD_HEALING_PCT, SPELL_AURA_OBS_MOD_HEALTH, Unit::SpellCriticalHealingBonus(), SPELLFAMILY_DRUID, Unit::SpellHealingBonusDone(), Unit::SpellHealingBonusTaken(), HostileRefManager::threatAssist(), and UNIT_STATE_ISOLATED.
Referenced by PeriodicTick().
Definition at line 729 of file SpellAuraPeriodic.cpp.
References SpellEffectInfo::CalcValueMultiplier(), SpellInfo::Effects, GetAmount(), GetEffIndex(), Object::GetEntry(), Unit::GetHealth(), GetSpellInfo(), Unit::HasUnitState(), Unit::HealBySpell(), Unit::IsAlive(), Unit::ModifyHealth(), SendTickImmune(), SF_LOG_DEBUG, and UNIT_STATE_ISOLATED.
Referenced by PeriodicTick().
Definition at line 657 of file SpellAuraPeriodic.cpp.
References Unit::ApplyResilience(), BASE_ATTACK, Unit::CalcAbsorbResist(), Unit::CalcArmorReducedDamage(), SpellEffectInfo::CalcValueMultiplier(), Unit::DealDamage(), DOT, SpellInfo::Effects, GetAmount(), GetBase(), GetCasterGUID(), GetEffIndex(), Object::GetGUIDLow(), Unit::GetHealth(), Unit::getHostileRefManager(), GetId(), GetSpellInfo(), Object::GetTypeId(), GUID_HIPART(), GUID_LOPART(), GuidHigh2TypeId(), Unit::HasUnitState(), Unit::HealBySpell(), Unit::IsAlive(), Unit::IsDamageReducedByArmor(), Unit::IsImmunedToDamage(), IsPeriodicTickCrit(), m_effIndex, m_spellInfo, MELEE_HIT_NORMAL, CleanDamage::mitigated_damage, PROC_EX_CRITICAL_HIT, PROC_EX_INTERNAL_DOT, PROC_EX_NORMAL_HIT, PROC_FLAG_DONE_PERIODIC, PROC_FLAG_TAKEN_DAMAGE, PROC_FLAG_TAKEN_PERIODIC, Unit::ProcDamageAndSpell(), Unit::SendSpellNonMeleeDamageLog(), SendTickImmune(), SF_LOG_INFO, SPELL_EFFECT_PERSISTENT_AREA_AURA, SPELL_MISS_NONE, Unit::SpellCriticalDamageBonus(), Unit::SpellDamageBonusDone(), Unit::SpellDamageBonusTaken(), Unit::SpellHealingBonusDone(), Unit::SpellHealingBonusTaken(), Unit::SpellHitResult(), HostileRefManager::threatAssist(), and UNIT_STATE_ISOLATED.
Referenced by PeriodicTick().
Definition at line 861 of file SpellAuraPeriodic.cpp.
References Unit::AddThreat(), AuraEffect(), CalculatePct(), SpellEffectInfo::CalcValueMultiplier(), Unit::CastCustomSpell(), SpellInfo::Effects, GetBase(), GetCasterGUID(), GetEffIndex(), Object::GetGUIDLow(), GetId(), Skyfire::Spells::GetManaFeedTriggerSpellId(), GetMiscValue(), Unit::getPowerType(), GetSpellInfo(), Object::GetTypeId(), GUID_HIPART(), GUID_LOPART(), GuidHigh2TypeId(), Unit::HasUnitState(), Unit::IsAlive(), Unit::IsImmunedToDamage(), m_amount, m_spellInfo, Unit::ModifyPower(), Unit::SendPeriodicAuraLog(), SendTickImmune(), SF_LOG_INFO, SPELL_EFFECT_PERSISTENT_AREA_AURA, SPELL_MISS_NONE, SPELLFAMILY_WARLOCK, Unit::SpellHitResult(), and UNIT_STATE_ISOLATED.
Referenced by PeriodicTick().
Definition at line 982 of file SpellAuraPeriodic.cpp.
References SpellNonMeleeDamage::absorb, BASE_ATTACK, Unit::CalculateSpellDamageTaken(), SpellEffectInfo::CalcValueMultiplier(), createProcExtendMask(), SpellNonMeleeDamage::damage, Unit::DealDamageMods(), Unit::DealSpellDamage(), SpellInfo::Effects, GetEffIndex(), GetMiscValue(), Unit::getPowerType(), GetSpellInfo(), Unit::HasUnitState(), SpellInfo::Id, Unit::IsAlive(), Unit::IsImmunedToDamage(), m_amount, Unit::ModifyPower(), PROC_EX_INTERNAL_DOT, PROC_FLAG_DONE_PERIODIC, PROC_FLAG_TAKEN_DAMAGE, PROC_FLAG_TAKEN_PERIODIC, Unit::ProcDamageAndSpell(), SpellInfo::SchoolMask, Unit::SendSpellNonMeleeDamageLog(), SendTickImmune(), SPELL_MISS_NONE, SpellNonMeleeDamage::target, and UNIT_STATE_ISOLATED.
Referenced by PeriodicTick().
Definition at line 202 of file SpellAuraPeriodic.cpp.
References Creature::AI(), Player::AutoStoreLoot(), Unit::CastCustomSpell(), Unit::CastSpell(), Unit::CountPctFromMaxHealth(), CREATURE_TYPE_GAS_CLOUD, Creature::DespawnOrUnsummon(), SpellInfo::Effects, Unit::EnergizeBySpell(), WorldObject::FindNearestCreature(), Skyfire::Spells::GetAbsorbEyeOfGrillokCasterSpellId(), Unit::GetAura(), Unit::GetAuraEffect(), Aura::GetCaster(), Creature::GetCreatureTemplate(), GetEffIndex(), Object::GetGUID(), GetId(), Unit::GetMaxPower(), Position::GetOrientation(), Skyfire::Spells::GetPeriodicDoomTriggerSpellId(), Skyfire::Spells::GetPeriodicFrostBlastTriggerSpellId(), Skyfire::Spells::GetPeriodicRestorationEnergizeSpellId(), Skyfire::Spells::GetPeriodicTriggerOverrideSpellId(), Unit::GetPower(), Skyfire::Spells::GetSpellclothSummonCreatureEntry(), GetSpellInfo(), Skyfire::Spells::GetTotemicMasteryTriggerSpellId(), Object::GetTypeId(), Unit::HealBySpell(), SpellInfo::Id, Skyfire::Spells::IsReagentConsumingPeriodicTriggerAura(), Unit::Kill(), LootTemplates_Skinning, m_amount, m_spellInfo, Unit::m_SummonSlot, m_tickNumber, MAX_TOTEM_SLOT, Unit::ModifyPower(), SpellInfo::NeedsToBeTriggeredByCaster(), POWER_MANA, Unit::RemoveAllAuras(), Unit::RemoveAurasDueToSpell(), Unit::SendEnergizeSpellLog(), SF_LOG_DEBUG, CreatureTemplate::SkinLootId, UnitAI::sOnDummyEffect(), SPELL_AURA_PROC_TRIGGER_SPELL, SPELLFAMILY_GENERIC, SPELLFAMILY_SHAMAN, SpellInfo::SpellFamilyName, SPELLVALUE_BASE_POINT0, SPELLVALUE_MAX_TARGETS, SPELLVALUE_RADIUS_MOD, sScriptMgr, sSpellMgr, SUMMON_SLOT_TOTEM, WorldObject::SummonCreature(), TEMPSUMMON_DEAD_DESPAWN, Object::ToCreature(), Object::ToPlayer(), SpellEffectInfo::TriggerSpell, CreatureTemplate::type, TYPEID_PLAYER, and TYPEID_UNIT.
Referenced by PeriodicTick().
Definition at line 502 of file SpellAuraPeriodic.cpp.
References SpellInfo::Effects, GetAmount(), GetEffIndex(), GetId(), GetSpellInfo(), m_effIndex, m_spellInfo, SF_LOG_DEBUG, sSpellMgr, and SpellEffectInfo::TriggerSpell.
Referenced by PeriodicTick().
| void AuraEffect::HandlePhase | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 396 of file SpellAuraState.cpp.
References AURA_EFFECT_HANDLE_REAL, AURA_INTERRUPT_FLAG_IMMUNE_OR_LOST_SELECTION, GetMiscValueB(), AuraApplication::GetTarget(), Unit::IsVisible(), Unit::RemoveAurasWithInterruptFlags(), Unit::SetPhased(), Object::ToPlayer(), and Unit::UpdateObjectVisibility().
| void AuraEffect::HandlePhaseGroup | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 420 of file SpellAuraState.cpp.
References AURA_EFFECT_HANDLE_REAL, AURA_INTERRUPT_FLAG_IMMUNE_OR_LOST_SELECTION, GetMiscValueB(), GetPhasesForGroup(), AuraApplication::GetTarget(), Unit::IsVisible(), Unit::RemoveAurasWithInterruptFlags(), Unit::SetPhased(), Object::ToPlayer(), and Unit::UpdateObjectVisibility().
| void AuraEffect::HandlePlayScene | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 819 of file SpellAuraMisc.cpp.
References AURA_EFFECT_HANDLE_REAL, ByteBuffer::FlushBits(), GetMiscValue(), Position::GetOrientation(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), Player::GetSession(), AuraApplication::GetTarget(), Unit::GetTransGUID(), SceneTemplate::PlaybackFlags, SceneTemplate::SceneId, SceneTemplate::ScenePackageId, WorldSession::SendPacket(), SF_LOG_ERROR, SMSG_CANCEL_SCENE, SMSG_PLAY_SCENE, sObjectMgr, sSceneScriptPackageStore, Object::ToPlayer(), ByteBuffer::WriteBit(), ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
| void AuraEffect::HandlePreventFleeing | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 297 of file SpellAuraControl.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), Unit::HasAuraType(), Unit::SetControlled(), SPELL_AURA_MOD_FEAR, SPELL_AURA_MOD_FEAR_2, and UNIT_STATE_FLEEING.
| void AuraEffect::HandlePreventResurrection | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 695 of file SpellAuraMisc.cpp.
References AURA_EFFECT_HANDLE_REAL, WorldObject::GetBaseMap(), AuraApplication::GetTarget(), Object::GetTypeId(), Map::Instanceable(), PLAYER_FIELD_BYTE_RELEASE_TIMER, PLAYER_FIELD_LIFETIME_MAX_RANK, Object::RemoveByteFlag(), Object::SetByteFlag(), and TYPEID_PLAYER.
| void AuraEffect::HandleProc | ( | AuraApplication * | aurApp, |
| ProcEventInfo & | eventInfo ) |
Definition at line 1144 of file SpellAuraEffects.cpp.
References Aura::CallScriptAfterEffectProcHandlers(), Aura::CallScriptEffectProcHandlers(), GetAuraType(), GetBase(), HandleProcTriggerDamageAuraProc(), HandleProcTriggerSpellAuraProc(), HandleProcTriggerSpellWithValueAuraProc(), HandleRaidProcFromChargeAuraProc(), HandleRaidProcFromChargeWithValueAuraProc(), SPELL_AURA_PROC_TRIGGER_DAMAGE, SPELL_AURA_PROC_TRIGGER_SPELL, SPELL_AURA_PROC_TRIGGER_SPELL_WITH_VALUE, SPELL_AURA_RAID_PROC_FROM_CHARGE, and SPELL_AURA_RAID_PROC_FROM_CHARGE_WITH_VALUE.
Referenced by Aura::TriggerProcOnEvent().
| void AuraEffect::HandleProcTriggerDamageAuraProc | ( | AuraApplication * | aurApp, |
| ProcEventInfo & | eventInfo ) |
Definition at line 67 of file SpellAuraProc.cpp.
References SpellNonMeleeDamage::absorb, Unit::CalculateSpellDamageTaken(), SpellNonMeleeDamage::damage, Unit::DealDamageMods(), Unit::DealSpellDamage(), GetAmount(), GetId(), ProcEventInfo::GetProcTarget(), GetSpellInfo(), AuraApplication::GetTarget(), Unit::SendSpellNonMeleeDamageLog(), SF_LOG_DEBUG, SPELL_DIRECT_DAMAGE, Unit::SpellDamageBonusDone(), Unit::SpellDamageBonusTaken(), and SpellNonMeleeDamage::target.
Referenced by HandleProc(), and Unit::ProcDamageAndSpellFor().
| void AuraEffect::HandleProcTriggerSpellAuraProc | ( | AuraApplication * | aurApp, |
| ProcEventInfo & | eventInfo ) |
Definition at line 36 of file SpellAuraProc.cpp.
References Unit::CastSpell(), SpellInfo::Effects, GetEffIndex(), GetId(), ProcEventInfo::GetProcTarget(), GetSpellInfo(), AuraApplication::GetTarget(), SF_LOG_DEBUG, sSpellMgr, and SpellEffectInfo::TriggerSpell.
Referenced by HandleProc().
| void AuraEffect::HandleProcTriggerSpellWithValueAuraProc | ( | AuraApplication * | aurApp, |
| ProcEventInfo & | eventInfo ) |
Definition at line 51 of file SpellAuraProc.cpp.
References Unit::CastCustomSpell(), SpellInfo::Effects, GetAmount(), GetId(), ProcEventInfo::GetProcTarget(), GetSpellInfo(), AuraApplication::GetTarget(), m_effIndex, SF_LOG_DEBUG, sSpellMgr, and SpellEffectInfo::TriggerSpell.
Referenced by HandleProc().
| void AuraEffect::HandleRaidProcFromChargeAuraProc | ( | AuraApplication * | aurApp, |
| ProcEventInfo & | eventInfo ) |
Definition at line 81 of file SpellAuraProc.cpp.
References SpellEffectInfo::CalcRadius(), Unit::CastSpell(), SpellInfo::Effects, GetBase(), GetCaster(), GetCasterGUID(), Aura::GetCharges(), GetEffIndex(), GetId(), Unit::GetNextRandomRaidMemberOrPet(), Skyfire::Spells::GetRaidProcChargeTriggerSpellId(), GetSpellInfo(), AuraApplication::GetTarget(), Aura::SetCharges(), Aura::SetUsingCharges(), and SF_LOG_DEBUG.
Referenced by HandleProc().
| void AuraEffect::HandleRaidProcFromChargeWithValueAuraProc | ( | AuraApplication * | aurApp, |
| ProcEventInfo & | eventInfo ) |
Definition at line 119 of file SpellAuraProc.cpp.
References SpellEffectInfo::CalcRadius(), Unit::CastCustomSpell(), SpellInfo::Effects, GetAmount(), GetBase(), GetCaster(), GetCasterGUID(), Aura::GetCharges(), GetEffIndex(), GetId(), Unit::GetNextRandomRaidMemberOrPet(), GetSpellInfo(), AuraApplication::GetTarget(), Aura::SetCharges(), Aura::SetUsingCharges(), SF_LOG_DEBUG, and SPELLFAMILY_PRIEST.
Referenced by HandleProc().
| void AuraEffect::HandleShapeshiftBoosts | ( | Unit * | target, |
| bool | apply ) const |
Definition at line 36 of file SpellAuraState.cpp.
References SpellInfo::Attributes, SpellInfo::AttributesEx8, AuraEffect(), Unit::CastSpell(), EFFECT_0, FORM_CAT, FORM_STEALTH, Player::GetActiveSpec(), Unit::GetAppliedAuras(), Unit::GetAuraEffect(), Unit::GetAuraEffectsByType(), Player::GetGlyph(), Object::GetGUID(), Skyfire::Spells::GetLeaderOfThePackSpellId(), Skyfire::Spells::GetLeaderOfThePackTriggeredSpellId(), GetMiscValue(), Skyfire::Spells::GetNurturingInstinctTriggeredSpellId(), Skyfire::Spells::GetShadowFocusAuraSpellId(), Skyfire::Spells::GetShadowFocusTriggeredSpellId(), Skyfire::Spells::GetShapeshiftBoostSpellIds(), Player::GetSpellMap(), Object::GetTypeId(), Unit::HasAura(), Player::HasSpell(), Player::IsCurrentSpecMasterySpell(), MAX_GLYPH_SLOT_INDEX, Skyfire::Spells::MAX_SHAPESHIFT_BOOST_SPELLS, PLAYERSPELL_REMOVED, Unit::RemoveAura(), Unit::RemoveOwnedAura(), Player::RemoveSpellCooldown(), sGlyphPropertiesStore, SPELL_ATTR0_HIDDEN_CLIENTSIDE, SPELL_ATTR0_PASSIVE, SPELL_ATTR8_MASTERY_SPECIALIZATION, SPELL_AURA_MOD_SHAPESHIFT, SPELL_AURA_MOD_SPELL_HEALING_OF_STAT_PERCENT, SPELLFAMILY_DRUID, sSpellMgr, SpellInfo::Stances, Object::ToPlayer(), and TYPEID_PLAYER.
Referenced by HandleAuraModShapeshift().
| void AuraEffect::HandleShieldBlockValue | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 1100 of file SpellAuraStats.cpp.
References AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AURA_EFFECT_HANDLE_STAT, FLAT_MOD, GetAmount(), GetAuraType(), AuraApplication::GetTarget(), Object::GetTypeId(), Player::HandleBaseModValue(), PCT_MOD, SHIELD_BLOCK_VALUE, SPELL_AURA_MOD_SHIELD_BLOCKVALUE_PCT, Object::ToPlayer(), and TYPEID_PLAYER.
| void AuraEffect::HandleSpiritOfRedemption | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 338 of file SpellAuraState.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraApplication::GetTarget(), Object::GetTypeId(), Unit::IsAlive(), Unit::IsStandState(), JUST_DIED, Unit::setDeathState(), Unit::SetHealth(), Unit::SetStandState(), Player::StopMirrorTimers(), Object::ToPlayer(), TYPEID_PLAYER, and UNIT_STAND_STATE_STAND.
| void AuraEffect::HandleUnused | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 508 of file SpellAuraEffects.cpp.
References Skyfire::Spells::SPELL_DISPATCH_HANDLER_UNUSED.
| void AuraEffect::HandleWaterBreathing | ( | AuraApplication const * | aurApp, |
| uint8 | mode, | ||
| bool | apply ) const |
Definition at line 170 of file SpellAuraControl.cpp.
References AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, AuraApplication::GetTarget(), Object::GetTypeId(), Object::ToPlayer(), TYPEID_PLAYER, and Player::UpdateMirrorTimers().
|
inline |
Definition at line 70 of file SpellAuraEffects.h.
References m_effIndex, and m_spellInfo.
| bool AuraEffect::IsAffectingSpell | ( | SpellInfo const * | spell | ) | const |
Definition at line 1074 of file SpellAuraEffects.cpp.
References m_effIndex, m_spellInfo, SpellInfo::SpellFamilyFlags, and SpellInfo::SpellFamilyName.
|
inline |
Definition at line 67 of file SpellAuraEffects.h.
References m_isPeriodic.
Referenced by Spell::prepare().
Definition at line 1068 of file SpellAuraEffects.cpp.
References ASSERT, Unit::isSpellCrit(), and m_spellInfo.
Referenced by HandlePeriodicDamageAurasTick(), HandlePeriodicHealAurasTick(), and HandlePeriodicHealthLeechAuraTick().
| void AuraEffect::PeriodicTick | ( | AuraApplication * | aurApp, |
| Unit * | caster ) const |
Definition at line 1094 of file SpellAuraEffects.cpp.
References Aura::CallScriptEffectPeriodicHandlers(), GetAuraType(), GetBase(), AuraApplication::GetTarget(), HandleObsModPowerAuraTick(), HandlePeriodicDamageAurasTick(), HandlePeriodicDummyAuraTick(), HandlePeriodicEnergizeAuraTick(), HandlePeriodicHealAurasTick(), HandlePeriodicHealthFunnelAuraTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicManaLeechAuraTick(), HandlePeriodicPowerBurnAuraTick(), HandlePeriodicTriggerSpellAuraTick(), HandlePeriodicTriggerSpellWithValueAuraTick(), 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_WITH_VALUE, and SPELL_AURA_POWER_BURN.
Referenced by Update().
|
inline |
Definition at line 52 of file SpellAuraEffects.h.
References CalculateAmount(), CanBeRecalculated(), ChangeAmount(), and GetCaster().
Referenced by ApplySpellMod().
|
inline |
Definition at line 53 of file SpellAuraEffects.h.
References CalculateAmount(), CanBeRecalculated(), and ChangeAmount().
|
inline |
Definition at line 65 of file SpellAuraEffects.h.
References m_amplitude, m_periodicTimer, and m_tickNumber.
Referenced by Unit::HandleAuraProc().
Definition at line 1088 of file SpellAuraEffects.cpp.
References m_spellInfo, and Unit::SendSpellDamageImmune().
Referenced by HandleObsModPowerAuraTick(), HandlePeriodicDamageAurasTick(), HandlePeriodicEnergizeAuraTick(), HandlePeriodicHealAurasTick(), HandlePeriodicHealthFunnelAuraTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicManaLeechAuraTick(), and HandlePeriodicPowerBurnAuraTick().
|
inline |
Definition at line 43 of file SpellAuraEffects.h.
References m_amount, and m_canBeRecalculated.
Referenced by spell_dru_savage_defense::spell_dru_savage_defense_AuraScript::Absorb(), Unit::CalcAbsorbResist(), ChangeAmount(), Unit::HandleDummyAuraProc(), spell_gen_aura_of_anger::spell_gen_aura_of_anger_AuraScript::HandleEffectPeriodicUpdate(), spell_gen_burn_brutallus::spell_gen_burn_brutallus_AuraScript::HandleEffectPeriodicUpdate(), spell_the_lich_king_infest::spell_the_lich_king_infest_AuraScript::OnUpdate(), and Unit::ProcDamageAndSpellFor().
|
inline |
Definition at line 55 of file SpellAuraEffects.h.
References m_canBeRecalculated.
|
inline |
Definition at line 68 of file SpellAuraEffects.h.
References m_isPeriodic.
|
inline |
Definition at line 46 of file SpellAuraEffects.h.
References m_periodicTimer.
Referenced by spell_dreamwalker_decay_periodic_timer::spell_dreamwalker_decay_periodic_timer_AuraScript::DecayPeriodicTimer().
Definition at line 889 of file SpellAuraEffects.cpp.
References GetApplicationList(), GetBase(), GetEffIndex(), m_amplitude, m_isPeriodic, m_periodicTimer, m_tickNumber, PeriodicTick(), and UpdatePeriodic().
| void AuraEffect::UpdatePeriodic | ( | Unit * | caster | ) |
Definition at line 913 of file SpellAuraEffects.cpp.
References AuraEffect(), Aura::CallScriptEffectUpdatePeriodicHandlers(), ChangeAmount(), GetAmount(), GetAuraType(), GetBase(), GetId(), GetSpellInfo(), Object::GetTypeId(), Player::InArena(), m_isPeriodic, m_tickNumber, Aura::RefreshDuration(), SF_LOG_ERROR, SPELL_AURA_MOD_POWER_REGEN, SPELL_AURA_PERIODIC_DUMMY, SPELLFAMILY_DEATHKNIGHT, SPELLFAMILY_GENERIC, SPELLFAMILY_MAGE, Object::ToPlayer(), and TYPEID_PLAYER.
Referenced by Update().
|
friend |
|
friend |
|
friend |
|
private |
Definition at line 86 of file SpellAuraEffects.h.
Referenced by AuraEffect(), ChangeAmount(), GetAmount(), HandleAuraControlVehicle(), HandleAuraConvertRune(), HandleAuraLinked(), HandleChannelDeathItem(), HandleForceReaction(), HandleModCombatSpeedPct(), HandleModPercentStat(), HandleObsModPowerAuraTick(), HandleOverrideAttackPowerBySpellPower(), HandleOverrideSpellPowerByAttackPower(), HandlePeriodicDummyAuraTick(), HandlePeriodicEnergizeAuraTick(), HandlePeriodicHealAurasTick(), HandlePeriodicManaLeechAuraTick(), HandlePeriodicPowerBurnAuraTick(), HandlePeriodicTriggerSpellAuraTick(), and SetAmount().
|
private |
Definition at line 91 of file SpellAuraEffects.h.
Referenced by CalculatePeriodic(), GetAmplitude(), GetTotalTicks(), ResetPeriodic(), and Update().
|
private |
Definition at line 82 of file SpellAuraEffects.h.
Referenced by AuraEffect(), and GetBase().
|
private |
Definition at line 84 of file SpellAuraEffects.h.
Referenced by AuraEffect(), CalculateAmount(), and GetBaseAmount().
|
private |
Definition at line 95 of file SpellAuraEffects.h.
Referenced by AuraEffect(), CalculateAmount(), CanBeRecalculated(), SetAmount(), and SetCanBeRecalculated().
|
private |
Definition at line 94 of file SpellAuraEffects.h.
Referenced by AuraEffect(), CalculateAmount(), CalculatePeriodic(), GetAuraType(), GetEffIndex(), GetMiscValue(), GetMiscValueB(), HandleAuraDummy(), HandleAuraLinked(), HandleChannelDeathItem(), HandlePeriodicDummyAuraTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicTriggerSpellWithValueAuraTick(), HandleProcTriggerSpellWithValueAuraProc(), HasSpellClassMask(), and IsAffectingSpell().
|
private |
Definition at line 96 of file SpellAuraEffects.h.
Referenced by AuraEffect(), CalculatePeriodic(), IsPeriodic(), SetPeriodic(), Update(), and UpdatePeriodic().
|
private |
Definition at line 90 of file SpellAuraEffects.h.
Referenced by AuraEffect(), CalculatePeriodic(), GetPeriodicTimer(), ResetPeriodic(), SetPeriodicTimer(), and Update().
|
private |
Definition at line 83 of file SpellAuraEffects.h.
Referenced by AuraEffect(), CalculateAmount(), CalculatePeriodic(), CleanupTriggeredSpells(), GetAuraType(), GetId(), GetMiscValue(), GetMiscValueB(), GetSpellInfo(), HandleAuraDummy(), HandleAuraLinked(), HandleAuraModDispelImmunity(), HandleAuraModPacifyAndSilence(), HandleAuraOverrideAutoattackWithSpell(), HandleModTotalPercentStat(), HandlePeriodicDamageAurasTick(), HandlePeriodicDummyAuraTick(), HandlePeriodicHealAurasTick(), HandlePeriodicHealthLeechAuraTick(), HandlePeriodicManaLeechAuraTick(), HandlePeriodicTriggerSpellAuraTick(), HandlePeriodicTriggerSpellWithValueAuraTick(), HasSpellClassMask(), IsAffectingSpell(), IsPeriodicTickCrit(), and SendTickImmune().
|
private |
Definition at line 88 of file SpellAuraEffects.h.
Referenced by ApplySpellMod(), AuraEffect(), CalculateSpellMod(), GetSpellModifier(), and ~AuraEffect().
|
private |
Definition at line 92 of file SpellAuraEffects.h.
Referenced by AuraEffect(), CalculatePeriodic(), GetTickNumber(), HandlePeriodicDamageAurasTick(), HandlePeriodicTriggerSpellAuraTick(), ResetPeriodic(), Update(), and UpdatePeriodic().