aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellEffects.cpp
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2017-05-27 03:14:25 -0300
committerariel- <ariel-@users.noreply.github.com>2017-05-27 03:16:47 -0300
commite27c385b48fce359a168d602dabae8c55fa85563 (patch)
tree64fa661024a7c0a0412a64c609a72c4640b224da /src/server/game/Spells/SpellEffects.cpp
parent47d387d6b0d123334e4721c55426c1d236297112 (diff)
Core/Spell: fixed some problems with per caster aura states
- Update clients whenever target has more than one application of an aura that applies such aurastate - Update again when one application gets removed - Fixed Fire and Brimstone computing damage if any warlock applied the Immolate (should only count for own) Closes #19790
Diffstat (limited to 'src/server/game/Spells/SpellEffects.cpp')
-rw-r--r--src/server/game/Spells/SpellEffects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp
index c8eae841a45..f1223eb39d3 100644
--- a/src/server/game/Spells/SpellEffects.cpp
+++ b/src/server/game/Spells/SpellEffects.cpp
@@ -394,7 +394,7 @@ void Spell::EffectSchoolDMG(SpellEffIndex effIndex)
if (unitTarget->HasAuraState(AURA_STATE_CONFLAGRATE))
{
if (unitTarget->GetAuraEffect(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_WARLOCK, 0x4, 0, 0))
- damage += damage/4;
+ damage += damage / 4;
}
}
// Conflagrate - consumes Immolate or Shadowflame