mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[9535] Some percent target max health spells.
Thanks to timmit for research.
This commit is contained in:
parent
e49fac9ef2
commit
0fae59bd50
2 changed files with 9 additions and 1 deletions
|
|
@ -354,6 +354,14 @@ void Spell::EffectSchoolDMG(SpellEffectIndex effect_idx)
|
|||
damage+= uint32(m_caster->GetTotalAttackPowerValue(BASE_ATTACK) * 0.12f);
|
||||
break;
|
||||
}
|
||||
// percent max target health
|
||||
case 29142: // Eyesore Blaster
|
||||
case 35139: // Throw Boom's Doom
|
||||
case 49882: // Leviroth Self-Impale
|
||||
{
|
||||
damage = damage * unitTarget->GetMaxHealth() / 100;
|
||||
break;
|
||||
}
|
||||
// Cataclysmic Bolt
|
||||
case 38441:
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue