diff options
-rw-r--r-- | sql/updates/world/master/2020_07_16_00_world_2017_06_05_01_world.sql | 115 | ||||
-rw-r--r-- | src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp | 394 |
2 files changed, 160 insertions, 349 deletions
diff --git a/sql/updates/world/master/2020_07_16_00_world_2017_06_05_01_world.sql b/sql/updates/world/master/2020_07_16_00_world_2017_06_05_01_world.sql new file mode 100644 index 00000000000..266370e61ae --- /dev/null +++ b/sql/updates/world/master/2020_07_16_00_world_2017_06_05_01_world.sql @@ -0,0 +1,115 @@ +-- Death Knight quest "A Special Surprise" (quest IDs 12739 and 12742-12750) +DELETE FROM `creature_text` WHERE `CreatureID` IN (29032,29061,29065,29067,29068,29070,29071,29072,29073,29074,29053); +INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES +-- Malar Bravehorn, tauren +(29032, 0, 0, "Come to finish the job, have you?", 12, 0, 100, 0, 0, 0, 29286, 0, 'special_surprise SAY_EXEC_START'), +(29032, 1, 0, "You'll look me in the eyes when...", 12, 0, 100, 0, 0, 0, 29287, 0, 'special_surprise SAY_EXEC_PROG'), +(29032, 2, 0, "$n?", 12, 0, 100, 0, 0, 0, 29288, 0, 'special_surprise SAY_EXEC_NAME'), +(29032, 3, 0, "$n, I'd recognize those horns anywhere... What... What have they done to you, $n?", 12, 0, 100, 0, 0, 0, 29289, 0, 'special_surprise SAY_EXEC_RECOG'), +(29032, 4, 0, "You don't remember me, do you? Blasted Scourge... They've tried to drain you of everything that made you a righteous force of reckoning. Every last ounce of good... Everything that made you a tauren!", 12, 0, 100, 0, 0, 0, 29290, 0, 'special_surprise SAY_EXEC_NOREM'), +(29032, 5, 0, "Think, $n. Think back. Try and remember the rolling plains of Mulgore, where you were born. Remember the splendor of life, $g brother:sister;. You were a champion of the tauren once! This isn't you.", 12, 0, 100, 0, 0, 0, 29294, 0, 'special_surprise SAY_EXEC_THINK'), +(29032, 6, 0, "Listen to me, $n. You must fight against the Lich King's control. He is a monster that wants to see this world - our world - in ruin. Don't let him use you to accomplish his goals. You were once a hero and you can be again. Fight, damn you! Fight his control!", 12, 0, 100, 0, 0, 0, 29295, 0, 'special_surprise SAY_EXEC_LISTEN'), +(29032, 7, 0, "There... There's no more time for me. I'm done for. Finish me off, $n. Do it or they'll kill us both. $n... Remember Mulgore. This world is worth saving.", 12, 0, 100, 0, 0, 0, 29301, 0, 'special_surprise SAY_EXEC_TIME'), +(29032, 8, 0, "Do it, $n! Put me out of my misery!", 12, 0, 100, 0, 0, 0, 29302, 0, 'special_surprise SAY_EXEC_WAITING'), +(29032, 9, 0, "%s dies from his injuries.", 16, 0, 100, 0, 0, 0, 29303, 0, 'special_surprise EMOTE_DIES'), +-- Ellen Stanbridge, human +(29061, 0, 0, "Come to finish the job, have you?", 12, 0, 100, 0, 0, 0, 29310, 0, 'special_surprise SAY_EXEC_START'), +(29061, 1, 0, "I'd like to stand for...", 12, 0, 100, 0, 0, 0, 29311, 0, 'special_surprise SAY_EXEC_PROG'), +(29061, 2, 0, "$n?", 12, 0, 100, 0, 0, 0, 29312, 0, 'special_surprise SAY_EXEC_NAME'), +(29061, 3, 0, "$n, I'd recognize that face anywhere... What... What have they done to you, $n?", 12, 0, 100, 0, 0, 0, 29313, 0, 'special_surprise SAY_EXEC_RECOG'), +(29061, 4, 0, "You don't remember me, do you? Blasted Scourge... They've tried to drain you of everything that made you a righteous force of reckoning. Every last ounce of good... Everything that made you a human!", 12, 0, 100, 0, 0, 0, 29314, 0, 'special_surprise SAY_EXEC_NOREM'), +(29061, 5, 0, "Think, $n. Think back. Try and remember the hills and valleys of Elwynn, where you were born. Remember the splendor of life, $g brother:sister;. You were a champion of the Alliance once! This isn't you.", 12, 0, 100, 0, 0, 0, 29315, 0, 'special_surprise SAY_EXEC_THINK'), +(29061, 6, 0, "Listen to me, $n. You must fight against the Lich King's control. He is a monster that wants to see this world - our world - in ruin. Don't let him use you to accomplish his goals. You were once a hero and you can be again. Fight, damn you! Fight his control!", 12, 0, 100, 0, 0, 0, 29316, 0, 'special_surprise SAY_EXEC_LISTEN'), +(29061, 7, 0, "There... There's no more time for me. I'm done for. Finish me off, $n. Do it or they'll kill us both. $n... Remember Elwynn. This world is worth saving.", 12, 0, 100, 0, 0, 0, 29317, 0, 'special_surprise SAY_EXEC_TIME'), +(29061, 8, 0, "Do it, $n! Put me out of my misery!", 12, 0, 100, 0, 0, 0, 29318, 0, 'special_surprise SAY_EXEC_WAITING'), +(29061, 9, 0, "%s dies from her injuries.", 16, 0, 100, 0, 0, 0, 29319, 0, 'special_surprise EMOTE_DIES'), +-- Yazmina Oakenthorn, night elf +(29065, 0, 0, "Come to finish the job, have you?", 12, 0, 100, 0, 0, 0, 29322, 0, 'special_surprise SAY_EXEC_START'), +(29065, 1, 0, "I'd like to stand for...", 12, 0, 100, 0, 0, 0, 29323, 0, 'special_surprise SAY_EXEC_PROG'), +(29065, 2, 0, "$n?", 12, 0, 100, 0, 0, 0, 29324, 0, 'special_surprise SAY_EXEC_NAME'), +(29065, 3, 0, "$n, I'd recognize that face anywhere... What... What have they done to you, $n?", 12, 0, 100, 0, 0, 0, 29325, 0, 'special_surprise SAY_EXEC_RECOG'), +(29065, 4, 0, "You don't remember me? When you were a child your mother would leave you in my care while she served at the Temple of the Moon. I held you in my arms and fed you honey and sheep's milk to calm you until she would return. You were my little angel. Blasted Scourge... What have they done to you, $n?", 12, 0, 100, 0, 0, 0, 29326, 0, 'special_surprise SAY_EXEC_NOREM'), +(29065, 5, 0, "You must remember the splendor of life, $g brother:sister;. You were a champion of the kaldorei once! This isn't you!", 12, 0, 100, 0, 0, 0, 29328, 0, 'special_surprise SAY_EXEC_THINK'), +(29065, 6, 0, "Listen to me, $n. You must fight against the Lich King's control. He is a monster that wants to see this world - our world - in ruin. Don't let him use you to accomplish his goals. You were once a hero and you can be again. Fight, damn you! Fight his control!", 12, 0, 100, 0, 0, 0, 29389, 0, 'special_surprise SAY_EXEC_LISTEN'), +(29065, 7, 0, "There... There's no more time for me. I'm done for. Finish me off, $n. Do it or they'll kill us both. $n... Remember Teldrassil, our beloved home. This world is worth saving.", 12, 0, 100, 0, 0, 0, 29330, 0, 'special_surprise SAY_EXEC_TIME'), +(29065, 8, 0, "Do it, $n! Put me out of my misery!", 12, 0, 100, 0, 0, 0, 29331, 0, 'special_surprise SAY_EXEC_WAITING'), +(29065, 9, 0, "%s dies from her injuries.", 16, 0, 100, 0, 0, 0, 29333, 0, 'special_surprise EMOTE_DIES'), +-- Donovan Pulfrost, dwarf +(29067, 0, 0, "Come to finish the job, have ye?", 12, 0, 100, 0, 0, 0, 29335, 0, 'special_surprise SAY_EXEC_START'), +(29067, 1, 0, "Well this son o' Ironforge would like...", 12, 0, 100, 0, 0, 0, 29336, 0, 'special_surprise SAY_EXEC_PROG'), +(29067, 2, 0, "$n?", 12, 0, 100, 0, 0, 0, 29337, 0, 'special_surprise SAY_EXEC_NAME'), +(29067, 3, 0, "$n, I'd recognize that face anywhere... What... What have they done to ye, $g lad:lass;?", 12, 0, 100, 0, 0, 0, 29338, 0, 'special_surprise SAY_EXEC_RECOG'), +(29067, 4, 0, "Ye don't remember me, do ye? Blasted Scourge... They've tried to drain ye o' everything that made ye a righteous force o' reckoning. Every last ounce o' good... Everything that made ye a $g son:daughter; o' Ironforge!", 12, 0, 100, 0, 0, 0, 29339, 0, 'special_surprise SAY_EXEC_NOREM'), +(29067, 5, 0, "Think, $n. Think back. Try and remember the snow capped mountains o' Dun Morogh! Ye were born there, $g lad:lass;. Remember the splendor o' life, $n! Ye were a champion o' the dwarves once! This isn't ye!", 12, 0, 100, 0, 0, 0, 29340, 0, 'special_surprise SAY_EXEC_THINK'), +(29067, 6, 0, "Listen to me, $n. Ye must fight against the Lich King's control. He's a monster that wants to see this world - our world - in ruin. Don't let him use ye to accomplish his goals. Ye were once a hero and ye can be again. Fight, damn ye! Fight his control!", 12, 0, 100, 0, 0, 0, 29341, 0, 'special_surprise SAY_EXEC_LISTEN'), +(29067, 7, 0, "There... There's no more time for me. I'm done for. Finish me off, $n. Do it or they'll kill us both. $n... For KHAAAAAAAAZZZ MODAAAAAANNNNNN!!!", 12, 0, 100, 0, 0, 0, 29342, 0, 'special_surprise SAY_EXEC_TIME'), +(29067, 8, 0, "Do it, $n! Put me out of my misery!", 12, 0, 100, 0, 0, 0, 29343, 0, 'special_surprise SAY_EXEC_WAITING'), +(29067, 9, 0, "%s dies from his injuries.", 16, 0, 100, 0, 0, 0, 29344, 0, 'special_surprise EMOTE_DIES'), +-- Goby Blastenheimer, gnome +(29068, 0, 0, "Come to finish the job, have you?", 12, 0, 100, 0, 0, 0, 29347, 0, 'special_surprise SAY_EXEC_START'), +(29068, 1, 0, "If you'd allow me just one...", 12, 0, 100, 0, 0, 0, 29348, 0, 'special_surprise SAY_EXEC_PROG'), +(29068, 2, 0, "$n?", 12, 0, 100, 0, 0, 0, 29349, 0, 'special_surprise SAY_EXEC_NAME'), +(29068, 3, 0, "$n, I'd recognize that face anywhere... What... What have they done to you, $n?", 12, 0, 100, 0, 0, 0, 29350, 0, 'special_surprise SAY_EXEC_RECOG'), +(29068, 4, 0, "You don't remember me, do you? Blasted Scourge... They've tried to drain you of everything that made you a pint-sized force of reckoning. Every last ounce of good... Everything that made you a gnome!", 12, 0, 100, 0, 0, 0, 29351, 0, 'special_surprise SAY_EXEC_NOREM'), +(29068, 5, 0, "Think, $n. Think back. Try and remember Gnomeregan before those damned troggs! Remember the feel of an arclight spanner, $g brother:sister;. You were a champion of gnome-kind once! This isn't you.", 12, 0, 100, 0, 0, 0, 29352, 0, 'special_surprise SAY_EXEC_THINK'), +(29068, 6, 0, "Listen to me, $n. You must fight against the Lich King's control. He is a monster that wants to see this world - our world - in ruin. Don't let him use you to accomplish his goals. You were once a hero and you can be again. Fight, damn you! Fight his control!", 12, 0, 100, 0, 0, 0, 29353, 0, 'special_surprise SAY_EXEC_LISTEN'), +(29068, 7, 0, "There... There's no more time for me. I'm done for. Finish me off, $n. Do it or they'll kill us both. $n... Remember Gnomeregan! This world is worth saving.", 12, 0, 100, 0, 0, 0, 29354, 0, 'special_surprise SAY_EXEC_TIME'), +(29068, 8, 0, "Do it, $n! Put me out of my misery!", 12, 0, 100, 0, 0, 0, 29355, 0, 'special_surprise SAY_EXEC_WAITING'), +(29068, 9, 0, "%s dies from his injuries.", 16, 0, 100, 0, 0, 0, 29356, 0, 'special_surprise EMOTE_DIES'), +-- Valok the Righteous, draenei +(29070, 0, 0, "Come to finish the job, have you?", 12, 0, 100, 0, 0, 0, 29357, 0, 'special_surprise SAY_EXEC_START'), +(29070, 1, 0, "You'll look me in the eyes when...", 12, 0, 100, 0, 0, 0, 29358, 0, 'special_surprise SAY_EXEC_PROG'), +(29070, 2, 0, "$n?", 12, 0, 100, 0, 0, 0, 29359, 0, 'special_surprise SAY_EXEC_NAME'), +(29070, 3, 0, "$n, I'd recognize those face tentacles anywhere... What... What have they done to you, $n?", 12, 0, 100, 0, 0, 0, 29360, 0, 'special_surprise SAY_EXEC_RECOG'), +(29070, 4, 0, "You don't remember me, do you? Blasted Scourge... They've tried to drain you of everything that made you a righteous force of reckoning. Every last ounce of good... Everything that made you a draenei!", 12, 0, 100, 0, 0, 0, 29361, 0, 'special_surprise SAY_EXEC_NOREM'), +(29070, 5, 0, "Think, $n. Think back. Try and remember the proud mountains of Argus, where you were born. Remember the splendor of life, $g brother:sister;. You were a champion of the draenei once! This isn't you.", 12, 0, 100, 0, 0, 0, 29362, 0, 'special_surprise SAY_EXEC_THINK'), +(29070, 6, 0, "Listen to me, $n. You must fight against the Lich King's control. He is a monster that wants to see this world - our world - in ruin. Don't let him use you to accomplish his goals. You were once a hero and you can be again. Fight, damn you! Fight his control!", 12, 0, 100, 0, 0, 0, 29363, 0, 'special_surprise SAY_EXEC_LISTEN'), +(29070, 7, 0, "There... There's no more time for me. I'm done for. Finish me off, $n. Do it or they'll kill us both. $n... Remember Argus. Don't let that happen to this world.", 12, 0, 100, 0, 0, 0, 29364, 0, 'special_surprise SAY_EXEC_TIME'), +(29070, 8, 0, "Do it, $n! Put me out of my misery!", 12, 0, 100, 0, 0, 0, 29365, 0, 'special_surprise SAY_EXEC_WAITING'), +(29070, 9, 0, "%s dies from his injuries.", 16, 0, 100, 0, 0, 0, 29366, 0, 'special_surprise EMOTE_DIES'), +-- Antoine Brack, undead +(29071, 0, 0, "Come to finish the job, have you?", 12, 0, 100, 0, 0, 0, 29393, 0, 'special_surprise SAY_EXEC_START'), +(29071, 1, 0, "Ironic, isn't it? To be killed...", 12, 0, 100, 0, 0, 0, 29394, 0, 'special_surprise SAY_EXEC_PROG'), +(29071, 2, 0, "$n?", 12, 0, 100, 0, 0, 0, 29395, 0, 'special_surprise SAY_EXEC_NAME'), +(29071, 3, 0, "$n, I'd recognize that decay anywhere... What... What have they done to you, $n?", 12, 0, 100, 0, 0, 0, 29396, 0, 'special_surprise SAY_EXEC_RECOG'), +(29071, 4, 0, "You don't remember me? We were humans once - long, long ago - until Lordaeron fell to the Scourge. Your transformation to a Scourge zombie came shortly after my own. Not long after that, our minds were freed by the Dark Lady.", 12, 0, 100, 0, 0, 0, 29397, 0, 'special_surprise SAY_EXEC_NOREM'), +(29071, 5, 0, "A pact was made, $g brother:sister;! We vowed vengeance against the Lich King! For what he had done to us! We battled the Scourge as Forsaken, pushing them back into the Plaguelands and freeing Tirisifal! You and I were champions of the Forsaken!", 12, 0, 100, 0, 0, 0, 29398, 0, 'special_surprise SAY_EXEC_THINK'), +(29071, 6, 0, "Listen to me, $n. You must fight against the Lich King's control. He is a monster that wants to see this world - our world - in ruin. Don't let him use you to accomplish his goals - AGAIN. You were once a hero and you can be again. Fight, damn you! Fight his control!", 12, 0, 100, 0, 0, 0, 29399, 0, 'special_surprise SAY_EXEC_LISTEN'), +(29071, 7, 0, "There... There's no more time for me. I'm done for. Finish me off, $n. Do it or they'll kill us both. $n... Remember Tirisfal! This world is worth saving!", 12, 0, 100, 0, 0, 0, 29400, 0, 'special_surprise SAY_EXEC_TIME'), +(29071, 8, 0, "Do it, $n! Put me out of my misery!", 12, 0, 100, 0, 0, 0, 29401, 0, 'special_surprise SAY_EXEC_WAITING'), +(29071, 9, 0, "%s dies from his injuries.", 16, 0, 100, 0, 0, 0, 29402, 0, 'special_surprise EMOTE_DIES'), +-- Kug Ironjaw, orc +(29072, 0, 0, "Come to finish the job, have you?", 12, 0, 100, 0, 0, 0, 29383, 0, 'special_surprise SAY_EXEC_START'), +(29072, 1, 0, "I want to die like an orc...", 12, 0, 100, 0, 0, 0, 29384, 0, 'special_surprise SAY_EXEC_PROG'), +(29072, 2, 0, "$n?", 12, 0, 100, 0, 0, 0, 29385, 0, 'special_surprise SAY_EXEC_NAME'), +(29072, 3, 0, "$n, I'd recognize that face anywhere... What... What have they done to you, $n?", 12, 0, 100, 0, 0, 0, 29386, 0, 'special_surprise SAY_EXEC_RECOG'), +(29072, 4, 0, "You don't remember me, do you? Blasted Scourge... They've tried to drain you of everything that made you a righteous force of reckoning. Every last ounce of good... Everything that made you an orc!", 12, 0, 100, 0, 0, 0, 29387, 0, 'special_surprise SAY_EXEC_NOREM'), +(29072, 5, 0, "Think, $n. Think back. Try and remember Durotar, $g brother:sister;! Remember the sacrifices our heroes made so that we could be free of the blood curse. Harken back to the Valley of Trials, where we were reborn into a world without demonic influence. We found the splendor of life, $n. Together! This isn't you. You were a champion of the Horde once!", 12, 0, 100, 0, 0, 0, 29388, 0, 'special_surprise SAY_EXEC_THINK'), +(29072, 6, 0, "Listen to me, $n. You must fight against the Lich King's control. He is a monster that wants to see this world - our world - in ruin. Don't let him use you to accomplish his goals. You were once a hero and you can be again. Fight, damn you! Fight his control!", 12, 0, 100, 0, 0, 0, 29389, 0, 'special_surprise SAY_EXEC_LISTEN'), +(29072, 7, 0, "There... There's no more time for me. I'm done for. Finish me off, $n. Do it or they'll kill us both. $n... For the Horde! This world is worth saving.", 12, 0, 100, 0, 0, 0, 29390, 0, 'special_surprise SAY_EXEC_TIME'), +(29072, 8, 0, "Do it, $n! Put me out of my misery!", 12, 0, 100, 0, 0, 0, 29391, 0, 'special_surprise SAY_EXEC_WAITING'), +(29072, 9, 0, "%s dies from his injuries.", 16, 0, 100, 0, 0, 0, 29392, 0, 'special_surprise EMOTE_DIES'), +-- Iggy Darktusk, troll +(29073, 0, 0, "Come ta finish da job, mon?", 12, 0, 100, 0, 0, 0, 29403, 0, 'special_surprise SAY_EXEC_START'), +(29073, 1, 0, "Dis troll gonna stand for da...", 12, 0, 100, 0, 0, 0, 29404, 0, 'special_surprise SAY_EXEC_PROG'), +(29073, 2, 0, "$n? Mon?", 12, 0, 100, 0, 0, 0, 29405, 0, 'special_surprise SAY_EXEC_NAME'), +(29073, 3, 0, "$n, I'd recognize dem tusks anywhere... What... What have dey done ta you, mon?", 12, 0, 100, 0, 0, 0, 29406, 0, 'special_surprise SAY_EXEC_RECOG'), +(29073, 4, 0, "You don't remember me, mon? Damn da Scourge! Dey gone ta drain you of everytin' dat made ya a mojo masta. Every last ounce a good... Everytin' dat made ya a troll hero, mon!", 12, 0, 100, 0, 0, 0, 29407, 0, 'special_surprise SAY_EXEC_NOREM'), +(29073, 5, 0, "TINK, $n. Tink back, mon! We be Darkspear, mon! Bruddas and sistas! Remember when we fought da Zalazane and done took he head and freed da Echo Isles? MON! TINK! You was a champion of da Darkspear trolls!", 12, 0, 100, 0, 0, 0, 29408, 0, 'special_surprise SAY_EXEC_THINK'), +(29073, 6, 0, "Listen ta me, $g brudda:sista;. You must fight against da Lich King's control. He be a monster dat want ta see dis world - our world - be ruined. Don't let he use you ta accomplish he goals. You be a hero once and you be a hero again! Fight it, mon! Fight he control!", 12, 0, 100, 0, 0, 0, 29409, 0, 'special_surprise SAY_EXEC_LISTEN'), +(29073, 7, 0, "Der... Der's no more time for me. I be done for. Finish me off, $n. Do it or dey'll kill us both. $n... Remember Sen'jin Village, mon! Dis world be worth saving!", 12, 0, 100, 0, 0, 0, 29410, 0, 'special_surprise SAY_EXEC_TIME'), +(29073, 8, 0, "Do it, $n! Put me out a me misery!", 12, 0, 100, 0, 0, 0, 29411, 0, 'special_surprise SAY_EXEC_WAITING'), +(29073, 9, 0, "%s dies from his injuries.", 16, 0, 100, 0, 0, 0, 29412, 0, 'special_surprise EMOTE_DIES'), +-- Lady Eonys, blood elf +(29074, 0, 0, "Come to finish the job, have you?", 12, 0, 100, 0, 0, 0, 29368, 0, 'special_surprise SAY_EXEC_START'), +(29074, 1, 0, "You'll look me in the eyes when...", 12, 0, 100, 0, 0, 0, 29369, 0, 'special_surprise SAY_EXEC_PROG'), +(29074, 2, 0, "$n?", 12, 0, 100, 0, 0, 0, 29372, 0, 'special_surprise SAY_EXEC_NAME'), +(29074, 3, 0, "$n, I'd recognize that face anywhere... What... What have they done to you, $n?", 12, 0, 100, 0, 0, 0, 29370, 0, 'special_surprise SAY_EXEC_RECOG'), +(29074, 4, 0, "You don't remember me, do you? Blasted Scourge... They've tried to drain you of everything that made you a righteous force of reckoning. Every last ounce of good... Everything that made you a blood elf!", 12, 0, 100, 0, 0, 0, 29373, 0, 'special_surprise SAY_EXEC_NOREM'), +(29074, 5, 0, "Think, $n. Think back. Try and remember the majestic halls of Silvermoon City, where you were born. Remember the splendor of life, $g brother:sister;. You were a champion of the sin'dorei once! This isn't you.", 12, 0, 100, 0, 0, 0, 29374, 0, 'special_surprise SAY_EXEC_THINK'), +(29074, 6, 0, "Listen to me, $n. You must fight against the Lich King's control. He is a monster that wants to see this world - our world - in ruin. Don't let him use you to accomplish his goals. You were once a hero and you can be again. Fight, damn you! Fight his control!", 12, 0, 100, 0, 0, 0, 29375, 0, 'special_surprise SAY_EXEC_LISTEN'), +(29074, 7, 0, "There... There's no more time for me. I'm done for. Finish me off, $n. Do it or they'll kill us both. $n... Remember Silvermoon. This world is worth saving.", 12, 0, 100, 0, 0, 0, 29376, 0, 'special_surprise SAY_EXEC_TIME'), +(29074, 8, 0, "Do it, $n! Put me out of my misery!", 12, 0, 100, 0, 0, 0, 29377, 0, 'special_surprise SAY_EXEC_WAITING'), +(29074, 9, 0, "%s dies from her injuries.", 16, 0, 100, 0, 0, 0, 29378, 0, 'special_surprise EMOTE_DIES'), +-- Knight Commander Plaguefist +(29053, 0, 0, "What's going on in there? What's taking so long, $n?", 14, 0, 100, 0, 0, 0, 29382, 0, 'special_surprise SAY_PLAGUEFIST'); diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp index ba35f642194..95d9b3bd9dd 100644 --- a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp +++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp @@ -562,62 +562,19 @@ public: //used by 29032, 29061, 29065, 29067, 29068, 29070, 29074, 29072, 29073, 29071 but signed for 29032 enum SpecialSurprise { - SAY_EXEC_START_1 = 0, // speech for all - SAY_EXEC_START_2 = 1, - SAY_EXEC_START_3 = 2, - SAY_EXEC_PROG_1 = 3, - SAY_EXEC_PROG_2 = 4, - SAY_EXEC_PROG_3 = 5, - SAY_EXEC_PROG_4 = 6, - SAY_EXEC_PROG_5 = 7, - SAY_EXEC_PROG_6 = 8, - SAY_EXEC_PROG_7 = 9, - SAY_EXEC_NAME_1 = 10, - SAY_EXEC_NAME_2 = 11, - SAY_EXEC_RECOG_1 = 12, - SAY_EXEC_RECOG_2 = 13, - SAY_EXEC_RECOG_3 = 14, - SAY_EXEC_RECOG_4 = 15, - SAY_EXEC_RECOG_5 = 16, - SAY_EXEC_RECOG_6 = 17, - SAY_EXEC_NOREM_1 = 18, - SAY_EXEC_NOREM_2 = 19, - SAY_EXEC_NOREM_3 = 20, - SAY_EXEC_NOREM_4 = 21, - SAY_EXEC_NOREM_5 = 22, - SAY_EXEC_NOREM_6 = 23, - SAY_EXEC_NOREM_7 = 24, - SAY_EXEC_NOREM_8 = 25, - SAY_EXEC_NOREM_9 = 26, - SAY_EXEC_THINK_1 = 27, - SAY_EXEC_THINK_2 = 28, - SAY_EXEC_THINK_3 = 29, - SAY_EXEC_THINK_4 = 30, - SAY_EXEC_THINK_5 = 31, - SAY_EXEC_THINK_6 = 32, - SAY_EXEC_THINK_7 = 33, - SAY_EXEC_THINK_8 = 34, - SAY_EXEC_THINK_9 = 35, - SAY_EXEC_THINK_10 = 36, - SAY_EXEC_LISTEN_1 = 37, - SAY_EXEC_LISTEN_2 = 38, - SAY_EXEC_LISTEN_3 = 39, - SAY_EXEC_LISTEN_4 = 40, - SAY_PLAGUEFIST = 41, - SAY_EXEC_TIME_1 = 42, - SAY_EXEC_TIME_2 = 43, - SAY_EXEC_TIME_3 = 44, - SAY_EXEC_TIME_4 = 45, - SAY_EXEC_TIME_5 = 46, - SAY_EXEC_TIME_6 = 47, - SAY_EXEC_TIME_7 = 48, - SAY_EXEC_TIME_8 = 49, - SAY_EXEC_TIME_9 = 50, - SAY_EXEC_TIME_10 = 51, - SAY_EXEC_WAITING = 52, - EMOTE_DIES = 53, - - NPC_PLAGUEFIST = 29053 + SAY_EXEC_START = 0, + SAY_EXEC_PROG = 1, + SAY_EXEC_NAME = 2, + SAY_EXEC_RECOG = 3, + SAY_EXEC_NOREM = 4, + SAY_EXEC_THINK = 5, + SAY_EXEC_LISTEN = 6, + SAY_EXEC_TIME = 7, + SAY_EXEC_WAITING = 8, + EMOTE_DIES = 9, + + SAY_PLAGUEFIST = 0, + NPC_PLAGUEFIST = 29053 }; class npc_a_special_surprise : public CreatureScript @@ -728,310 +685,49 @@ public: return; } - /// @todo simplify text's selection - - switch (player->getRace()) + switch (ExecuteSpeech_Counter) { - case RACE_HUMAN: - switch (ExecuteSpeech_Counter) - { - case 0: Talk(SAY_EXEC_START_1, player); break; - case 1: me->SetStandState(UNIT_STAND_STATE_STAND); break; - case 2: Talk(SAY_EXEC_PROG_5, player); break; - case 3: Talk(SAY_EXEC_NAME_1, player); break; - case 4: Talk(SAY_EXEC_RECOG_1, player); break; - case 5: Talk(SAY_EXEC_NOREM_5, player); break; - case 6: Talk(SAY_EXEC_THINK_7, player); break; - case 7: Talk(SAY_EXEC_LISTEN_1, player); break; - case 8: - if (Creature* Plaguefist = GetClosestCreatureWithEntry(me, NPC_PLAGUEFIST, 85.0f)) - Plaguefist->AI()->Talk(SAY_PLAGUEFIST, player); - break; - case 9: - Talk(SAY_EXEC_TIME_6, player); - me->SetStandState(UNIT_STAND_STATE_KNEEL); - me->RemoveUnitFlag(UNIT_FLAG_IMMUNE_TO_PC); - break; - case 10: - Talk(SAY_EXEC_WAITING, player); - break; - case 11: - Talk(EMOTE_DIES); - me->setDeathState(JUST_DIED); - me->SetHealth(0); - return; - } + case 0: + Talk(SAY_EXEC_START, player); break; - case RACE_ORC: - switch (ExecuteSpeech_Counter) - { - case 0: Talk(SAY_EXEC_START_1, player); break; - case 1: me->SetStandState(UNIT_STAND_STATE_STAND); break; - case 2: Talk(SAY_EXEC_PROG_6, player); break; - case 3: Talk(SAY_EXEC_NAME_1, player); break; - case 4: Talk(SAY_EXEC_RECOG_1, player); break; - case 5: Talk(SAY_EXEC_NOREM_7, player); break; - case 6: Talk(SAY_EXEC_THINK_8, player); break; - case 7: Talk(SAY_EXEC_LISTEN_1, player); break; - case 8: - if (Creature* Plaguefist = GetClosestCreatureWithEntry(me, NPC_PLAGUEFIST, 85.0f)) - Plaguefist->AI()->Talk(SAY_PLAGUEFIST, player); - break; - case 9: - Talk(SAY_EXEC_TIME_8, player); - me->SetStandState(UNIT_STAND_STATE_KNEEL); - me->RemoveUnitFlag(UNIT_FLAG_IMMUNE_TO_PC); - break; - case 10: - Talk(SAY_EXEC_WAITING, player); - break; - case 11: - Talk(EMOTE_DIES); - me->setDeathState(JUST_DIED); - me->SetHealth(0); - return; - } + case 1: + me->SetStandState(UNIT_STAND_STATE_STAND); break; - case RACE_DWARF: - switch (ExecuteSpeech_Counter) - { - case 0: Talk(SAY_EXEC_START_2, player); break; - case 1: me->SetStandState(UNIT_STAND_STATE_STAND); break; - case 2: Talk(SAY_EXEC_PROG_2, player); break; - case 3: Talk(SAY_EXEC_NAME_1, player); break; - case 4: Talk(SAY_EXEC_RECOG_3, player); break; - case 5: Talk(SAY_EXEC_NOREM_2, player); break; - case 6: Talk(SAY_EXEC_THINK_5, player); break; - case 7: Talk(SAY_EXEC_LISTEN_2, player); break; - case 8: - if (Creature* Plaguefist = GetClosestCreatureWithEntry(me, NPC_PLAGUEFIST, 85.0f)) - Plaguefist->AI()->Talk(SAY_PLAGUEFIST, player); - break; - case 9: - Talk(SAY_EXEC_TIME_3, player); - me->SetStandState(UNIT_STAND_STATE_KNEEL); - me->RemoveUnitFlag(UNIT_FLAG_IMMUNE_TO_PC); - break; - case 10: - Talk(SAY_EXEC_WAITING, player); - break; - case 11: - Talk(EMOTE_DIES); - me->setDeathState(JUST_DIED); - me->SetHealth(0); - return; - } + case 2: + Talk(SAY_EXEC_PROG, player); break; - case RACE_NIGHTELF: - switch (ExecuteSpeech_Counter) - { - case 0: Talk(SAY_EXEC_START_1, player); break; - case 1: me->SetStandState(UNIT_STAND_STATE_STAND); break; - case 2: Talk(SAY_EXEC_PROG_5, player); break; - case 3: Talk(SAY_EXEC_NAME_1, player); break; - case 4: Talk(SAY_EXEC_RECOG_1, player); break; - case 5: Talk(SAY_EXEC_NOREM_6, player); break; - case 6: Talk(SAY_EXEC_THINK_2, player); break; - case 7: Talk(SAY_EXEC_LISTEN_1, player); break; - case 8: - if (Creature* Plaguefist = GetClosestCreatureWithEntry(me, NPC_PLAGUEFIST, 85.0f)) - Plaguefist->AI()->Talk(SAY_PLAGUEFIST, player); - break; - case 9: - Talk(SAY_EXEC_TIME_7, player); - me->SetStandState(UNIT_STAND_STATE_KNEEL); - me->RemoveUnitFlag(UNIT_FLAG_IMMUNE_TO_PC); - break; - case 10: - Talk(SAY_EXEC_WAITING, player); - break; - case 11: - Talk(EMOTE_DIES); - me->setDeathState(JUST_DIED); - me->SetHealth(0); - return; - } + case 3: + Talk(SAY_EXEC_NAME, player); break; - case RACE_UNDEAD_PLAYER: - switch (ExecuteSpeech_Counter) - { - case 0: Talk(SAY_EXEC_START_1, player); break; - case 1: me->SetStandState(UNIT_STAND_STATE_STAND); break; - case 2: Talk(SAY_EXEC_PROG_3, player); break; - case 3: Talk(SAY_EXEC_NAME_1, player); break; - case 4: Talk(SAY_EXEC_RECOG_4, player); break; - case 5: Talk(SAY_EXEC_NOREM_3, player); break; - case 6: Talk(SAY_EXEC_THINK_1, player); break; - case 7: Talk(SAY_EXEC_LISTEN_3, player); break; - case 8: - if (Creature* Plaguefist = GetClosestCreatureWithEntry(me, NPC_PLAGUEFIST, 85.0f)) - Plaguefist->AI()->Talk(SAY_PLAGUEFIST, player); - break; - case 9: - Talk(SAY_EXEC_TIME_4, player); - me->SetStandState(UNIT_STAND_STATE_KNEEL); - me->RemoveUnitFlag(UNIT_FLAG_IMMUNE_TO_PC); - break; - case 10: - Talk(SAY_EXEC_WAITING, player); - break; - case 11: - Talk(EMOTE_DIES); - me->setDeathState(JUST_DIED); - me->SetHealth(0); - return; - } + case 4: + Talk(SAY_EXEC_RECOG, player); break; - case RACE_TAUREN: - switch (ExecuteSpeech_Counter) - { - case 0: Talk(SAY_EXEC_START_1, player); break; - case 1: me->SetStandState(UNIT_STAND_STATE_STAND); break; - case 2: Talk(SAY_EXEC_PROG_1, player); break; - case 3: Talk(SAY_EXEC_NAME_1, player); break; - case 4: Talk(SAY_EXEC_RECOG_5, player); break; - case 5: Talk(SAY_EXEC_NOREM_8, player); break; - case 6: Talk(SAY_EXEC_THINK_9, player); break; - case 7: Talk(SAY_EXEC_LISTEN_1, player); break; - case 8: - if (Creature* Plaguefist = GetClosestCreatureWithEntry(me, NPC_PLAGUEFIST, 85.0f)) - Plaguefist->AI()->Talk(SAY_PLAGUEFIST, player); - break; - case 9: - Talk(SAY_EXEC_TIME_9, player); - me->SetStandState(UNIT_STAND_STATE_KNEEL); - me->RemoveUnitFlag(UNIT_FLAG_IMMUNE_TO_PC); - break; - case 10: - Talk(SAY_EXEC_WAITING, player); - break; - case 11: - Talk(EMOTE_DIES); - me->setDeathState(JUST_DIED); - me->SetHealth(0); - return; - } + case 5: + Talk(SAY_EXEC_NOREM, player); break; - case RACE_GNOME: - switch (ExecuteSpeech_Counter) - { - case 0: Talk(SAY_EXEC_START_1, player); break; - case 1: me->SetStandState(UNIT_STAND_STATE_STAND); break; - case 2: Talk(SAY_EXEC_PROG_4, player); break; - case 3: Talk(SAY_EXEC_NAME_1, player); break; - case 4: Talk(SAY_EXEC_RECOG_1, player); break; - case 5: Talk(SAY_EXEC_NOREM_4, player); break; - case 6: Talk(SAY_EXEC_THINK_6, player); break; - case 7: Talk(SAY_EXEC_LISTEN_1, player); break; - case 8: - if (Creature* Plaguefist = GetClosestCreatureWithEntry(me, NPC_PLAGUEFIST, 85.0f)) - Plaguefist->AI()->Talk(SAY_PLAGUEFIST, player); - break; - case 9: - Talk(SAY_EXEC_TIME_5, player); - me->SetStandState(UNIT_STAND_STATE_KNEEL); - me->RemoveUnitFlag(UNIT_FLAG_IMMUNE_TO_PC); - break; - case 10: - Talk(SAY_EXEC_WAITING, player); - break; - case 11: - Talk(EMOTE_DIES); - me->setDeathState(JUST_DIED); - me->SetHealth(0); - return; - } + case 6: + Talk(SAY_EXEC_THINK, player); break; - case RACE_TROLL: - switch (ExecuteSpeech_Counter) - { - case 0: Talk(SAY_EXEC_START_3, player); break; - case 1: me->SetStandState(UNIT_STAND_STATE_STAND); break; - case 2: Talk(SAY_EXEC_PROG_7, player); break; - case 3: Talk(SAY_EXEC_NAME_2, player); break; - case 4: Talk(SAY_EXEC_RECOG_6, player); break; - case 5: Talk(SAY_EXEC_NOREM_9, player); break; - case 6: Talk(SAY_EXEC_THINK_10, player); break; - case 7: Talk(SAY_EXEC_LISTEN_4, player); break; - case 8: - if (Creature* Plaguefist = GetClosestCreatureWithEntry(me, NPC_PLAGUEFIST, 85.0f)) - Plaguefist->AI()->Talk(SAY_PLAGUEFIST, player); - break; - case 9: - Talk(SAY_EXEC_TIME_10, player); - me->SetStandState(UNIT_STAND_STATE_KNEEL); - me->RemoveUnitFlag(UNIT_FLAG_IMMUNE_TO_PC); - break; - case 10: - Talk(SAY_EXEC_WAITING, player); - break; - case 11: - Talk(EMOTE_DIES); - me->setDeathState(JUST_DIED); - me->SetHealth(0); - return; - } + case 7: + Talk(SAY_EXEC_LISTEN, player); break; - case RACE_BLOODELF: - switch (ExecuteSpeech_Counter) - { - case 0: Talk(SAY_EXEC_START_1, player); break; - case 1: me->SetStandState(UNIT_STAND_STATE_STAND); break; - case 2: Talk(SAY_EXEC_PROG_1, player); break; - case 3: Talk(SAY_EXEC_NAME_1, player); break; - case 4: Talk(SAY_EXEC_RECOG_1, player); break; - //case 5: //unknown - case 6: Talk(SAY_EXEC_THINK_3, player); break; - case 7: Talk(SAY_EXEC_LISTEN_1, player); break; - case 8: - if (Creature* Plaguefist = GetClosestCreatureWithEntry(me, NPC_PLAGUEFIST, 85.0f)) - Plaguefist->AI()->Talk(SAY_PLAGUEFIST, player); - break; - case 9: - Talk(SAY_EXEC_TIME_1, player); - me->SetStandState(UNIT_STAND_STATE_KNEEL); - me->RemoveUnitFlag(UNIT_FLAG_IMMUNE_TO_PC); - break; - case 10: - Talk(SAY_EXEC_WAITING, player); - break; - case 11: - Talk(EMOTE_DIES); - me->setDeathState(JUST_DIED); - me->SetHealth(0); - return; - } + case 8: + if (Creature* Plaguefist = GetClosestCreatureWithEntry(me, NPC_PLAGUEFIST, 85.0f)) + Plaguefist->AI()->Talk(SAY_PLAGUEFIST, player); break; - case RACE_DRAENEI: - switch (ExecuteSpeech_Counter) - { - case 0: Talk(SAY_EXEC_START_1, player); break; - case 1: me->SetStandState(UNIT_STAND_STATE_STAND); break; - case 2: Talk(SAY_EXEC_PROG_1, player); break; - case 3: Talk(SAY_EXEC_NAME_1, player); break; - case 4: Talk(SAY_EXEC_RECOG_2, player); break; - case 5: Talk(SAY_EXEC_NOREM_1, player); break; - case 6: Talk(SAY_EXEC_THINK_4, player); break; - case 7: Talk(SAY_EXEC_LISTEN_1, player); break; - case 8: - if (Creature* Plaguefist = GetClosestCreatureWithEntry(me, NPC_PLAGUEFIST, 85.0f)) - Plaguefist->AI()->Talk(SAY_PLAGUEFIST, player); - break; - case 9: - Talk(SAY_EXEC_TIME_2, player); - me->SetStandState(UNIT_STAND_STATE_KNEEL); - me->RemoveUnitFlag(UNIT_FLAG_IMMUNE_TO_PC); - break; - case 10: - Talk(SAY_EXEC_WAITING, player); - break; - case 11: - Talk(EMOTE_DIES); - me->setDeathState(JUST_DIED); - me->SetHealth(0); - return; - } + case 9: + Talk(SAY_EXEC_TIME, player); + me->SetStandState(UNIT_STAND_STATE_KNEEL); + me->RemoveUnitFlag(UNIT_FLAG_IMMUNE_TO_PC); + break; + case 10: + Talk(SAY_EXEC_WAITING, player); break; + case 11: + Talk(EMOTE_DIES); + me->setDeathState(JUST_DIED); + me->SetHealth(0); + return; } if (ExecuteSpeech_Counter >= 9) |