diff options
author | Subv <s.v.h21@hotmail.com> | 2012-10-19 16:16:30 -0500 |
---|---|---|
committer | Subv <s.v.h21@hotmail.com> | 2012-10-19 16:16:30 -0500 |
commit | 77a8d6f127b0fd082c2b7072bd512822a6732362 (patch) | |
tree | 548cfaef0ea086e32d733232e4f9239c1ecaf2f3 /src | |
parent | 2e55abcde43c7e0aef3dda5cf896165491551031 (diff) |
Scripts/Spells: Corrected the spirit value used in the Mana Tide Totem script.
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Spells/spell_shaman.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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() |