mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-10-10 07:06:38 +08:00
fix(Core/Spells): Base Druid T8 4P heal on an unmodified Rejuv tick (#27859)
Co-authored-by: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
4c3f90d187
commit
a32130a43a
@@ -1487,10 +1487,9 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b
|
||||
// Druid T8 Restoration 4P Bonus
|
||||
if (caster->GetAuraEffectDummy(64760))
|
||||
{
|
||||
uint32 damage = GetEffect(0)->GetAmount();
|
||||
damage = target->SpellHealingBonusTaken(caster, GetSpellInfo(), damage, DOT);
|
||||
|
||||
int32 basepoints0 = damage;
|
||||
// 50% of an unmodified tick: 64801's own heal adds spell power (0.188),
|
||||
// Empowered Rejuvenation and healing done/taken mods once
|
||||
int32 basepoints0 = CalculatePct(GetSpellInfo()->Effects[EFFECT_0].CalcValue(caster), 50);
|
||||
caster->CastCustomSpell(target, 64801, &basepoints0, nullptr, nullptr, true, nullptr, GetEffect(0));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user