Core/Spells: Fix more spells that make damage from percent of health

This commit is contained in:
tobmaps
2011-06-10 18:15:09 +07:00
parent 3a5e3e71a4
commit dfc92ef59e
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -424,6 +424,9 @@ void Spell::SpellDamageSchoolDmg(SpellEffIndex effIndex)
damage = unitTarget->CountPctFromMaxHealth(50); damage = unitTarget->CountPctFromMaxHealth(50);
break; break;
} }
case 29142: // Eyesore Blaster
case 35139: // Throw Boom's Doom
case 55269: // Deathly Stare
case 56578: // Rapid-Fire Harpoon case 56578: // Rapid-Fire Harpoon
case 62775: // Tympanic Tantrum case 62775: // Tympanic Tantrum
{ {
+2 -2
View File
@@ -4021,7 +4021,7 @@ void SpellMgr::LoadSpellCustomAttr()
case 63024: // Gravity Bomb case 63024: // Gravity Bomb
case 64234: // Gravity Bomb (25m) case 64234: // Gravity Bomb (25m)
spellInfo->MaxAffectedTargets = 1; spellInfo->MaxAffectedTargets = 1;
count++; ++count;
break; break;
case 62834: // Boom case 62834: // Boom
// This hack is here because we suspect our implementation of spell effect execution on targets // This hack is here because we suspect our implementation of spell effect execution on targets
@@ -4251,7 +4251,7 @@ void SpellMgr::LoadEnchantCustomAttr()
if (!ench) if (!ench)
continue; continue;
mEnchantCustomAttr[enchId] = true; mEnchantCustomAttr[enchId] = true;
count++; ++count;
break; break;
} }
} }