aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortobmaps <spambot42@yandex.ru>2011-06-10 18:15:09 +0700
committertobmaps <spambot42@yandex.ru>2011-06-10 18:15:09 +0700
commitdfc92ef59e83352e988cb69f3c0c89afa80ec436 (patch)
treeb983bcc3f645d187c5c50887e7e67650be7e2357 /src
parent3a5e3e71a4d10ddbe225abe1404e0c88654f59dc (diff)
Core/Spells: Fix more spells that make damage from percent of health
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/Spells/SpellEffects.cpp3
-rwxr-xr-xsrc/server/game/Spells/SpellMgr.cpp4
2 files changed, 5 insertions, 2 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp
index 0412ed49a40..10c4fd7b059 100755
--- a/src/server/game/Spells/SpellEffects.cpp
+++ b/src/server/game/Spells/SpellEffects.cpp
@@ -424,6 +424,9 @@ void Spell::SpellDamageSchoolDmg(SpellEffIndex effIndex)
damage = unitTarget->CountPctFromMaxHealth(50);
break;
}
+ case 29142: // Eyesore Blaster
+ case 35139: // Throw Boom's Doom
+ case 55269: // Deathly Stare
case 56578: // Rapid-Fire Harpoon
case 62775: // Tympanic Tantrum
{
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp
index 1eb1f419f85..f84271778b7 100755
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -4021,7 +4021,7 @@ void SpellMgr::LoadSpellCustomAttr()
case 63024: // Gravity Bomb
case 64234: // Gravity Bomb (25m)
spellInfo->MaxAffectedTargets = 1;
- count++;
+ ++count;
break;
case 62834: // Boom
// This hack is here because we suspect our implementation of spell effect execution on targets
@@ -4251,7 +4251,7 @@ void SpellMgr::LoadEnchantCustomAttr()
if (!ench)
continue;
mEnchantCustomAttr[enchId] = true;
- count++;
+ ++count;
break;
}
}