Core/Spells: Fix DK Ghoul's damage after ad8eb434c0. I misread 'SpellScript::m_damage' for 'SpellScript::damage'.
By @joschiwald
This commit is contained in:
1 parent
efeb54139e
commit
a242662ae6
3 files changed
+14
-1
No files matched your search
@@ -703,7 +703,7 @@ class spell_dk_ghoul_explode : public SpellScriptLoader
|
||||
void HandleDamage(SpellEffIndex /*effIndex*/)
|
||||
{
|
||||
int32 value = int32(GetCaster()->CountPctFromMaxHealth(GetSpellInfo()->Effects[EFFECT_2].CalcValue(GetCaster())));
|
||||
SetHitDamage(value);
|
||||
SetEffectValue(value);
|
||||
}
|
||||
|
||||
void Suicide(SpellEffIndex /*effIndex*/)
|
||||
|
||||
Reference in new issue
Block a user