From d3a9bfe9fc2fe46a49d1d4491ef15b1ff27b4f96 Mon Sep 17 00:00:00 2001 From: benjymansy123 Date: Wed, 11 Jan 2023 23:30:42 -0500 Subject: [PATCH] Add \n, add creature_texts for DK quests. --- data/sql/db-world/worgoblin.sql | 2 +- data/sql/supplementary/dk-quests.sql | 25 ++++++++++++++++++++++++- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/data/sql/db-world/worgoblin.sql b/data/sql/db-world/worgoblin.sql index 89087f2..88e9097 100644 --- a/data/sql/db-world/worgoblin.sql +++ b/data/sql/db-world/worgoblin.sql @@ -232,4 +232,4 @@ INSERT INTO `achievement_criteria_data` (`criteria_id`, `type`, `value1`, `value UPDATE quest_template SET AllowableRaces = AllowableRaces|256 WHERE AllowableRaces & 2 AND AllowableRaces != -1 AND AllowableRaces != 2147483647 AND AllowableRaces != 2047 AND AllowableRaces != 4095 AND AllowableRaces != 8191 AND AllowableRaces != 16383 AND AllowableRaces != 32767 AND AllowableRaces != 65535 AND AllowableRaces != 131071 AND AllowableRaces != 262143 AND AllowableRaces != 524287 AND AllowableRaces != 1048575 AND AllowableRaces != 2097151; UPDATE quest_template SET AllowableRaces = AllowableRaces|2048 WHERE AllowableRaces & 1 AND AllowableRaces != -1 AND AllowableRaces != 2147483647 AND AllowableRaces != 2047 AND AllowableRaces != 4095 AND AllowableRaces != 8191 AND AllowableRaces != 16383 AND AllowableRaces != 32767 AND AllowableRaces != 65535 AND AllowableRaces != 131071 AND AllowableRaces != 262143 AND AllowableRaces != 524287 AND AllowableRaces != 1048575 AND AllowableRaces != 2097151; UPDATE quest_template SET AllowableRaces = 1 WHERE ID = 12742; -UPDATE quest_template SET AllowableRaces = 2 WHERE ID = 12748; \ No newline at end of file +UPDATE quest_template SET AllowableRaces = 2 WHERE ID = 12748; diff --git a/data/sql/supplementary/dk-quests.sql b/data/sql/supplementary/dk-quests.sql index 068a541..9e14300 100644 --- a/data/sql/supplementary/dk-quests.sql +++ b/data/sql/supplementary/dk-quests.sql @@ -6,4 +6,27 @@ INSERT INTO `quest_template` (`ID`, `QuestType`, `QuestLevel`, `MinLevel`, `Ques DELETE FROM `creature_template` WHERE `entry` IN (49355, 49356); INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `speed_swim`, `speed_flight`, `detection_range`, `scale`, `rank`, `dmgschool`, `DamageModifier`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `spell_school_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES (49355, 0, 0, 0, 0, 0, 36445, 0, 0, 0, 'Lord Harford', '', '', 0, 53, 54, 0, 7, 0, 1, 1.14286, 1, 1, 18, 1, 0, 0, 1, 2000, 2000, 1, 1, 1, 0, 2048, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 1, 0.004, 1, 1, 1, 0, 0, 1, 0, 0, 8192, '', 15595), -(49356, 0, 0, 0, 0, 0, 36446, 0, 0, 0, 'Gally Lumpstain', '', '', 0, 53, 54, 0, 7, 0, 1, 1.14286, 1, 1, 18, 1, 0, 0, 1, 2000, 2000, 1, 1, 1, 0, 2048, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 1, 0.004, 1, 1, 1, 0, 0, 1, 0, 0, 8192, '', 15595); \ No newline at end of file +(49356, 0, 0, 0, 0, 0, 36446, 0, 0, 0, 'Gally Lumpstain', '', '', 0, 53, 54, 0, 7, 0, 1, 1.14286, 1, 1, 18, 1, 0, 0, 1, 2000, 2000, 1, 1, 1, 0, 2048, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 1, 0.004, 1, 1, 1, 0, 0, 1, 0, 0, 8192, '', 15595); + +DELETE FROM `creature_text` WHERE `CreatureID` IN (49355, 49356); +INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES +(49355, 0, 0, "He's sent one of his cowards in to kill me, has he?", 12, 0, 100, 0, 0, 0, 49368, 0, 'Lord Harford - SAY_EXEC_START'), +(49355, 1, 0, "Do it while I'm standing...", 12, 0, 100, 0, 0, 0, 49369, 0, 'Lord Harford - SAY_EXEC_PROG'), +(49355, 2, 0, "$n?", 12, 0, 100, 0, 0, 0, 49370, 0, 'Lord Harford - SAY_EXEC_NAME'), +(49355, 3, 0, "$n, I'd recognize that face anywhere... What... What have they done to you, $n?", 12, 0, 100, 0, 0, 0, 49371, 0, 'Lord Harford - SAY_EXEC_RECOG'), +(49355, 4, 0, "You don't remember me? We were both servants of Arugal back in Silverpine Forest. We put up with his merciless torture for ages. It was you who saved me on that fateful night when we escaped Shadowfang Keep. Without you I would have died. YOU! The most noble worgen I ever knew. What have they done to you, $n? How could this have happened?", 12, 0, 100, 0, 0, 0, 49372, 0, 'Lord Harford - SAY_EXEC_NOREM'), +(49355, 5, 0, "Remember the worgen that you once were, $g brother:sister;! You were our savior! Fight this!", 12, 0, 100, 0, 0, 0, 49374, 0, 'Lord Harford - SAY_EXEC_THINK'), +(49355, 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, 49375, 0, 'Lord Harford - SAY_EXEC_LISTEN'), +(49355, 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 Gilneas, our beloved home. This world is worth saving.", 12, 0, 100, 0, 0, 0, 49376, 0, 'Lord Harford - SAY_EXEC_TIME'), +(49355, 8, 0, "Do it, $n! Put me out of my misery!", 12, 0, 100, 0, 0, 0, 49377, 0, 'Lord Harford - SAY_EXEC_WAITING'), +(49355, 9, 0, "%s dies from his injuries.", 16, 0, 100, 0, 0, 0, 49378, 0, 'Lord Harford - EMOTE_DIES'), +(49356, 0, 0, "C... can't we work this out somehow?", 12, 0, 100, 0, 0, 0, 49380, 0, 'Gally Lumpstain - SAY_EXEC_START'), +(49356, 1, 0, "Alright, j... just let me... let me st... stand up.", 12, 0, 100, 0, 0, 0, 49381, 0, 'Gally Lumpstain - SAY_EXEC_PROG'), +(49356, 2, 0, "$n?", 12, 0, 100, 0, 0, 0, 49382, 0, 'Gally Lumpstain - SAY_EXEC_NAME'), +(49356, 3, 0, "$n, I'd recognize that face anywhere... What... What have they done to you, $n?", 12, 0, 100, 0, 0, 0, 49383, 0, 'Gally Lumpstain - SAY_EXEC_RECOG'), +(49356, 4, 0, "You don't remember me, $n? I lost count of the number of jobs you and I ran back in the day on Kezan. Then I picked up a real bad Kaja'Cola habit and you saved me! It was you who took me to Kalimdor to join the Steamwheedle Cartel. You were the only good goblin I knew. That's how I ended up in the Argent Dawn, because I knew it was what you woulda done. How could this have happened to you?", 12, 0, 100, 0, 0, 0, 49384, 0, 'Gally Lumpstain - SAY_EXEC_NOREM'), +(49356, 5, 0, "Remember the goblin that you once were, $g brother:sister;! You were my best friend! Fight this!", 12, 0, 100, 0, 0, 0, 49385, 0, 'Gally Lumpstain - SAY_EXEC_THINK'), +(49356, 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, 49386, 0, 'Gally Lumpstain - SAY_EXEC_LISTEN'), +(49356, 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 Kezan, our beloved home. This world is worth saving.", 12, 0, 100, 0, 0, 0, 49387, 0, 'Gally Lumpstain - SAY_EXEC_TIME'), +(49356, 8, 0, "Do it, $n! Put me out of my misery!", 12, 0, 100, 0, 0, 0, 49388, 0, 'Gally Lumpstain - SAY_EXEC_WAITING'), +(49356, 9, 0, "%s dies from his injuries.", 16, 0, 100, 0, 0, 0, 49389, 0, 'Gally Lumpstain - EMOTE_DIES');