Fix Naxx 40 Consumption spell

This commit is contained in:
郑佩茹
2024-05-30 09:57:52 -06:00
parent 751941e07e
commit 2ce9936217
2 changed files with 5 additions and 5 deletions

View File

@@ -466,9 +466,9 @@ public:
}
};
class spell_four_horsemen_consumption : public SpellScript
class spell_gen_consumption : public SpellScript
{
PrepareSpellScript(spell_four_horsemen_consumption);
PrepareSpellScript(spell_gen_consumption);
void CalculateDamage(SpellEffIndex /*effIndex*/)
{
@@ -505,7 +505,7 @@ class spell_four_horsemen_consumption : public SpellScript
void Register() override
{
OnEffectLaunchTarget += SpellEffectFn(spell_four_horsemen_consumption::CalculateDamage, EFFECT_0, SPELL_EFFECT_SCHOOL_DAMAGE);
OnEffectLaunchTarget += SpellEffectFn(spell_gen_consumption::CalculateDamage, EFFECT_0, SPELL_EFFECT_SCHOOL_DAMAGE);
}
};
@@ -513,5 +513,5 @@ void AddSC_boss_four_horsemen_40()
{
new boss_four_horsemen_40();
new spell_four_horsemen_mark();
RegisterSpellScript(spell_four_horsemen_consumption);
RegisterSpellScript(spell_gen_consumption);
}