aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVincent-Michael <Vincent_Michael@gmx.de>2013-07-22 16:14:10 +0200
committerVincent-Michael <Vincent_Michael@gmx.de>2013-07-22 16:15:21 +0200
commitdee93dcc5dc49be6845357fb032c0ff9aaa48f64 (patch)
tree95da06ab68bd9401f79be39f7fd0360a49c6c9a7 /src
parenta6510924892b4b2bd5411746651cdccf64f9a5a8 (diff)
Scripted/IcecrownCitadel: Remove spell script for lk play movie
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp40
1 files changed, 1 insertions, 39 deletions
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();
}