From 0bd8bdb3f864efe9fab858361927bef58b0919da Mon Sep 17 00:00:00 2001 From: luis Date: Sat, 14 Nov 2026 17:33:43 -0300 Subject: [PATCH] typo --- src/server/game/Entities/Unit/Unit.cpp | 8 +------- .../SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index b85ca809..441c6aa9 100644 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -8289,12 +8289,6 @@ int32 Unit::MeleeDamageBonusDone(Unit* pVictim, int32 damage, WeaponAttackType a // Done total percent damage auras float DoneTotalMod = 1.0f; - // Pet damage multiplier - DoneTotalMod *= GetTotalAuraMultiplier(SPELL_AURA_PET_DAMAGE_MULTI); - if (IsPet()) - if (Unit* owner = GetOwner()) - DoneTotalMod *= owner->GetTotalAuraMultiplier(SPELL_AURA_PET_DAMAGE_MULTI); - SpellSchoolMask schoolMask = spellProto ? spellProto->GetSchoolMask() : damageSchoolMask; if (!(schoolMask & SPELL_SCHOOL_MASK_NORMAL)) @@ -8328,7 +8322,7 @@ int32 Unit::MeleeDamageBonusDone(Unit* pVictim, int32 damage, WeaponAttackType a { if (Unit* owner = GetOwner()) { - Unit::AuraEffectList const& modSummonDamageAuras = owner->GetAuraEffectsByType(SPELL_AURA_MOD_SUMMON_DAMAGE_PCT_DONE); + Unit::AuraEffectList const& modSummonDamageAuras = owner->GetAuraEffectsByType(SPELL_AURA_MOD_DAMAGE_PCT_DONE_SUMMON); for (AuraEffect const* aurEff : modSummonDamageAuras) AddPct(DoneTotalMod, aurEff->GetAmount()); } diff --git a/src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp b/src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp index 22fb92d6..6b44a8c4 100644 --- a/src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp +++ b/src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp @@ -3072,7 +3072,7 @@ class spell_anduin_wrynn_force_of_will : public AuraScript { OnEffectApply += AuraEffectApplyFn(spell_anduin_wrynn_force_of_will::OnApply, EFFECT_0, SPELL_AURA_MOD_DAMAGE_PERCENT_DONE, AURA_EFFECT_HANDLE_REAL); DoEffectCalcAmount += AuraEffectCalcAmountFn(spell_anduin_wrynn_force_of_will::RecalculateHook, EFFECT_0, SPELL_AURA_MOD_DAMAGE_PERCENT_DONE); - DoEffectCalcAmount += AuraEffectCalcAmountFn(spell_anduin_wrynn_force_of_will::RecalculateHook, EFFECT_1, SPELL_AURA_MOD_SUMMON_DAMAGE_PCT_DONE); + DoEffectCalcAmount += AuraEffectCalcAmountFn(spell_anduin_wrynn_force_of_will::RecalculateHook, EFFECT_1, SPELL_AURA_MOD_DAMAGE_PCT_DONE_PET); DoEffectCalcAmount += AuraEffectCalcAmountFn(spell_anduin_wrynn_force_of_will::RecalculateHookDamageTaken, EFFECT_2, SPELL_AURA_MOD_DAMAGE_PERCENT_TAKEN); } };