Core/Spells: Fix more spells that make damage from percent of health
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user