Scripts/Icecrown Citadel: Fix scriptname conflict

(cherry picked from commit b63fa9c42f)
This commit is contained in:
Shauren
2020-09-04 17:50:29 +02:00
parent 2ac0960f3f
commit f3300899d8

View File

@@ -1230,9 +1230,9 @@ class spell_sindragosa_frost_beacon : public AuraScript
}
};
class spell_sindragosa_ice_tomb : public AuraScript
class spell_sindragosa_ice_tomb_trap : public AuraScript
{
PrepareAuraScript(spell_sindragosa_ice_tomb);
PrepareAuraScript(spell_sindragosa_ice_tomb_trap);
bool Validate(SpellInfo const* /*spell*/) override
{
@@ -1274,8 +1274,8 @@ class spell_sindragosa_ice_tomb : public AuraScript
void Register() override
{
OnEffectPeriodic += AuraEffectPeriodicFn(spell_sindragosa_ice_tomb::PeriodicTick, EFFECT_2, SPELL_AURA_PERIODIC_TRIGGER_SPELL);
AfterEffectRemove += AuraEffectRemoveFn(spell_sindragosa_ice_tomb::HandleRemove, EFFECT_2, SPELL_AURA_PERIODIC_TRIGGER_SPELL, AURA_EFFECT_HANDLE_REAL);
OnEffectPeriodic += AuraEffectPeriodicFn(spell_sindragosa_ice_tomb_trap::PeriodicTick, EFFECT_2, SPELL_AURA_PERIODIC_TRIGGER_SPELL);
AfterEffectRemove += AuraEffectRemoveFn(spell_sindragosa_ice_tomb_trap::HandleRemove, EFFECT_2, SPELL_AURA_PERIODIC_TRIGGER_SPELL, AURA_EFFECT_HANDLE_REAL);
}
};
@@ -1536,7 +1536,7 @@ void AddSC_boss_sindragosa()
RegisterSpellScript(spell_sindragosa_frost_breath);
RegisterSpellScript(spell_sindragosa_instability);
RegisterSpellScript(spell_sindragosa_frost_beacon);
RegisterSpellScript(spell_sindragosa_ice_tomb);
RegisterSpellScript(spell_sindragosa_ice_tomb_trap);
RegisterSpellScript(spell_sindragosa_icy_grip);
RegisterSpellScript(spell_sindragosa_mystic_buffet);
RegisterSpellScript(spell_rimefang_icy_blast);