From d62c6e36d852126af3e8984742cbb5635600888d Mon Sep 17 00:00:00 2001 From: EricksOliveira Date: Wed, 8 Jan 2025 13:49:01 +0000 Subject: [PATCH] fix(Scripts/SunwellPlateau): Muru - Changed the amount of Tick Negative Energy Periodic (#21102) --- src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp index 430ff20ee..7638efe9a 100644 --- a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp +++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp @@ -342,7 +342,7 @@ class spell_entropius_negative_energy_periodic : public AuraScript void PeriodicTick(AuraEffect const* aurEff) { PreventDefaultAction(); - uint32 targetCount = aurEff->GetTickNumber() > 12 ? 1 : aurEff->GetTickNumber() / 12; + uint32 targetCount = (aurEff->GetTickNumber() + 11) / 12; GetTarget()->CastCustomSpell(aurEff->GetSpellInfo()->Effects[EFFECT_0].TriggerSpell, SPELLVALUE_MAX_TARGETS, targetCount); }