From dee93dcc5dc49be6845357fb032c0ff9aaa48f64 Mon Sep 17 00:00:00 2001 From: Vincent-Michael Date: Mon, 22 Jul 2013 16:14:10 +0200 Subject: Scripted/IcecrownCitadel: Remove spell script for lk play movie --- .../IcecrownCitadel/boss_the_lich_king.cpp | 40 +--------------------- 1 file changed, 1 insertion(+), 39 deletions(-) (limited to 'src') diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp index 6ced10e0ca1..b3f0d4131c4 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp @@ -343,9 +343,7 @@ enum MiscData SOUND_PAIN = 17360, // separate sound, not attached to any text EQUIP_ASHBRINGER_GLOWING = 50442, - EQUIP_BROKEN_FROSTMOURNE = 50840, - - MOVIE_FALL_OF_THE_LICH_KING = 16, + EQUIP_BROKEN_FROSTMOURNE = 50840 }; enum Misc @@ -3165,41 +3163,6 @@ class spell_the_lich_king_jump_remove_aura : public SpellScriptLoader } }; -class spell_the_lich_king_play_movie : public SpellScriptLoader -{ - public: - spell_the_lich_king_play_movie() : SpellScriptLoader("spell_the_lich_king_play_movie") { } - - class spell_the_lich_king_play_movie_SpellScript : public SpellScript - { - PrepareSpellScript(spell_the_lich_king_play_movie_SpellScript); - - bool Validate(SpellInfo const* /*spell*/) OVERRIDE - { - if (!sMovieStore.LookupEntry(MOVIE_FALL_OF_THE_LICH_KING)) - return false; - return true; - } - - void HandleScript(SpellEffIndex effIndex) - { - PreventHitDefaultEffect(effIndex); - if (Player* player = GetHitPlayer()) - player->SendMovieStart(MOVIE_FALL_OF_THE_LICH_KING); - } - - void Register() OVERRIDE - { - OnEffectHitTarget += SpellEffectFn(spell_the_lich_king_play_movie_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT); - } - }; - - SpellScript* GetSpellScript() const OVERRIDE - { - return new spell_the_lich_king_play_movie_SpellScript(); - } -}; - class achievement_been_waiting_long_time : public AchievementCriteriaScript { public: @@ -3270,7 +3233,6 @@ void AddSC_boss_the_lich_king() new spell_the_lich_king_jump(); new spell_the_lich_king_jump_remove_aura(); new spell_trigger_spell_from_caster("spell_the_lich_king_mass_resurrection", SPELL_MASS_RESURRECTION_REAL); - new spell_the_lich_king_play_movie(); new achievement_been_waiting_long_time(); new achievement_neck_deep_in_vile(); } -- cgit v1.2.3