diff options
| author | Shauren <shauren.trinity@gmail.com> | 2011-05-21 18:35:55 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2011-05-21 18:35:55 +0200 |
| commit | 9368ef8a5c00063de772f24287752ee1646e7c06 (patch) | |
| tree | 096e5ae01aadaf9ee00b4c4677da613b09e139c4 | |
| parent | 84ab669119e3c235ad61f16697624f23b7a09422 (diff) | |
Scripts/Icecrown Citadel: Added text and sound for Deathbound Wards
| -rw-r--r-- | sql/updates/world/2011_05_21_03_world_creature_text.sql | 5 | ||||
| -rw-r--r-- | src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/world/2011_05_21_03_world_creature_text.sql b/sql/updates/world/2011_05_21_03_world_creature_text.sql new file mode 100644 index 00000000000..5bc4efe975b --- /dev/null +++ b/sql/updates/world/2011_05_21_03_world_creature_text.sql @@ -0,0 +1,5 @@ +DELETE FROM `creature_text` WHERE `entry`=37007; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(37007,0,0, 'The master''s sanctum has been disturbed!',1,0,0,0,0,16865, 'Deathbound Ward - SAY_TRAP_ACTIVATE'), +(37007,0,1, 'I... awaken!',1,0,0,0,0,16866, 'Deathbound Ward - SAY_TRAP_ACTIVATE'), +(37007,0,2, 'Who... goes there...?',1,0,0,0,0,16867, 'Deathbound Ward - SAY_TRAP_ACTIVATE'); diff --git a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp index 40146115fc5..6ffe61454df 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp @@ -65,6 +65,9 @@ enum Texts SAY_MURADIN_INTRO_2 = 14, SAY_MURADIN_INTRO_3 = 15, + // Deathbound Ward + SAY_TRAP_ACTIVATE = 0, + // Rotting Frost Giant EMOTE_DEATH_PLAGUE_WARNING = 0, @@ -1742,6 +1745,7 @@ class spell_icc_sprit_alarm : public SpellScriptLoader { if ((*itr)->isAlive() && (*itr)->HasAura(SPELL_STONEFORM)) { + (*itr)->AI()->Talk(SAY_TRAP_ACTIVATE); (*itr)->RemoveAurasDueToSpell(SPELL_STONEFORM); if (Unit* target = (*itr)->SelectNearestTarget(150.0f)) (*itr)->AI()->AttackStart(target); |
