From c69df293450b66edccf10aa47414f9fd6760db20 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Wed, 24 May 2017 22:15:54 -0400 Subject: [PATCH] Fixed some idiot's mistake --- zone/effects.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zone/effects.cpp b/zone/effects.cpp index a389a1336..135eb3f95 100644 --- a/zone/effects.cpp +++ b/zone/effects.cpp @@ -361,7 +361,8 @@ int32 Client::GetActSpellCost(uint16 spell_id, int32 cost) if (spec) PercentManaReduction = 1 + spec / 20; // there seems to be some non-obvious rounding here, let's truncate for now. - PercentManaReduction += GetFocusEffect(focusManaCost, spell_id); + int16 focus_redux = GetFocusEffect(focusManaCost, spell_id); + PercentManaReduction += focus_redux; cost -= (cost * (PercentManaReduction / 100));