mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +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:
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9534"
|
||||
#define REVISION_NR "9535"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue