From 77a8d6f127b0fd082c2b7072bd512822a6732362 Mon Sep 17 00:00:00 2001 From: Subv Date: Fri, 19 Oct 2012 16:16:30 -0500 Subject: Scripts/Spells: Corrected the spirit value used in the Mana Tide Totem script. --- src/server/scripts/Spells/spell_shaman.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/server/scripts') diff --git a/src/server/scripts/Spells/spell_shaman.cpp b/src/server/scripts/Spells/spell_shaman.cpp index e776fc87a5e..5ddfe1f4dc5 100644 --- a/src/server/scripts/Spells/spell_shaman.cpp +++ b/src/server/scripts/Spells/spell_shaman.cpp @@ -103,9 +103,10 @@ class spell_sha_mana_tide : public SpellScriptLoader void CalculateAmount(AuraEffect const* aurEff, int32& amount, bool& /*canBeRecalculated*/) { + ///@TODO: Exclude the "short term" buffs from the stat value if (Unit* caster = GetCaster()) if (Unit* owner = caster->GetOwner()) - amount = CalculatePct(owner->GetCreateStat(STAT_SPIRIT), aurEff->GetAmount()); + amount = CalculatePct(owner->GetStat(STAT_SPIRIT), aurEff->GetAmount()); } void Register() -- cgit v1.2.3