diff options
| author | QAston <none@none> | 2009-04-15 20:34:52 +0200 |
|---|---|---|
| committer | QAston <none@none> | 2009-04-15 20:34:52 +0200 |
| commit | 441d042d5c5317e25193769c766b60e9cae6ced4 (patch) | |
| tree | 7931669574f1a920de1e991d85fcf2bdd9250f87 /src/game/SpellAuras.cpp | |
| parent | 80892196951a0bd6559341d03dde764c88c4d296 (diff) | |
*Set correct healing bonus for spells using coefficient.
*Always reapply aura mods as 'real' when adding aura to stack.
*Make blood frenzy expire when duration ends.
*Correct procflag for T.N.T once again.
--HG--
branch : trunk
rename : sql/updates/2685_world.sql => sql/updates/2702_world_spell_proc_event.sql
Diffstat (limited to 'src/game/SpellAuras.cpp')
| -rw-r--r-- | src/game/SpellAuras.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 08ce7a59844..b9f440188d2 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -1207,11 +1207,10 @@ void Aura::SetStackAmount(uint8 stackAmount) // Reapply if amount change if (amount!=part->GetAmount()) { - bool Real = bool (part->m_spellmod); // Auras which are applying spellmod should have removed spellmods for real - part->ApplyModifier(false,Real); + part->ApplyModifier(false,true); part->SetAmount(amount); - part->ApplyModifier(true, Real); + part->ApplyModifier(true,true); } } } |
