From 6bb9aa37e6168c9beeee3d2ebf51a1d16af29d86 Mon Sep 17 00:00:00 2001 From: killerwife Date: Sat, 7 Oct 2023 19:56:03 +0200 Subject: [PATCH] Spell/Druid: Fix compilation --- src/game/Spells/Scripts/Scripting/ClassScripts/Druid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Spells/Scripts/Scripting/ClassScripts/Druid.cpp b/src/game/Spells/Scripts/Scripting/ClassScripts/Druid.cpp index 2afddaf4a06..d225a30169b 100644 --- a/src/game/Spells/Scripts/Scripting/ClassScripts/Druid.cpp +++ b/src/game/Spells/Scripts/Scripting/ClassScripts/Druid.cpp @@ -321,7 +321,7 @@ struct GlyphOfStarfire : public AuraScript int32 increaseAmount = aura->GetAmount(); int32 maxIncreaseAmount = aura->GetTarget()->CalculateSpellEffectValue(procData.victim, aura->GetSpellProto(), EFFECT_INDEX_1); if (moonfire->GetScriptValue() >= maxIncreaseAmount) - return; + return SPELL_AURA_PROC_OK; SpellAuraHolder* holder = moonfire->GetHolder(); holder->SetAuraMaxDuration(holder->GetAuraMaxDuration() + increaseAmount); holder->SetAuraDuration(holder->GetAuraDuration() + increaseAmount);