Skip to content

Commit

Permalink
Spell/Druid: Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Oct 7, 2023
1 parent 41993b8 commit 6bb9aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Spells/Scripts/Scripting/ClassScripts/Druid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6bb9aa3

Please sign in to comment.