From 4b1464dc4166cf657c992d19c8de8430925f6ce0 Mon Sep 17 00:00:00 2001 From: tobmaps Date: Sun, 22 May 2011 06:12:25 +0700 Subject: Core/Spells: Fix problem with stackable spells after last commit --- src/server/game/Spells/Spell.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 1e76c2712b6..fd36a1653f3 100755 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -1484,7 +1484,8 @@ SpellMissInfo Spell::DoSpellHitOnUnit(Unit *unit, const uint32 effectMask, bool if (m_spellAura) { // Set aura stack amount to desired value - m_spellAura->SetStackAmount(m_spellValue->AuraStackAmount); + if (m_spellValue->AuraStackAmount > 1) + m_spellAura->SetStackAmount(m_spellValue->AuraStackAmount); // Now Reduce spell duration using data received at spell hit int32 duration = m_spellAura->GetMaxDuration(); -- cgit v1.2.3