aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorSnapperRy <snapperryen@gmail.com>2016-07-19 09:02:01 +0200
committerShauren <shauren.trinity@gmail.com>2016-07-19 09:02:01 +0200
commitd4e15f1aac3159bb5e17808ee06efb847fdd4789 (patch)
tree32921e117bf7e9e2f3ad8c99811988a3494c57d5 /sql
parent2feb53ecb69d66bb6df3f48d9a5f4e6a00aec1f7 (diff)
Core/Mail: implement a way to specify NPC sender for mails when they should be different from the quest ender (#17601)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/3.3.5/9999_99_99_99_world.sql20
1 files changed, 20 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/9999_99_99_99_world.sql b/sql/updates/world/3.3.5/9999_99_99_99_world.sql
new file mode 100644
index 00000000000..ae623f25db0
--- /dev/null
+++ b/sql/updates/world/3.3.5/9999_99_99_99_world.sql
@@ -0,0 +1,20 @@
+--
+DROP TABLE IF EXISTS `quest_mail_sender`;
+CREATE TABLE `quest_mail_sender`
+(
+ `QuestId` INT(5) UNSIGNED NOT NULL DEFAULT 0,
+ `RewardMailSenderEntry` INT(5) UNSIGNED NOT NULL DEFAULT 0,
+ PRIMARY KEY (`QuestId`)
+);
+
+INSERT INTO `quest_mail_sender` (`QuestId`, `RewardMailSenderEntry`) VALUES
+(8729, 11811), -- Quest The Wrath of Neptulon sends mail from Narain Soothfancy
+(10588, 18166), -- Quest The Cipher of Damnation sends mail from Archmage Khadgar
+(12085, 5885), -- Quest A Letter for Home (Horde) sends mail from Deino
+(12067, 2708), -- Quest A Letter for Home (Alliance) sends mail from Archmage Malin
+(12422, 27102), -- Quest Tactical Clemency sends mail from Gorgonna
+(12711, 28930), -- Quest Abandoned Mail sends mail from Dansel Adams
+(22817, 10967), -- Quest Back to the Orphanage (Blood Elf) sends mail from Blood Elf Orphan
+(22818, 10966), -- Quest Back to the Orphanage (Draenei) sends mail from Draenei Orphan
+(28879, 33533), -- Quest Back To The Orphanage (Oracle) sends mail from Oracle Orphan
+(28880, 33532); -- Quest Back To The Orphanage (Wolvar) sends mail from Wolvar Orphan