aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAokromes <Aokromes@users.noreply.github.com>2014-07-16 08:37:35 +0200
committerAokromes <Aokromes@users.noreply.github.com>2014-07-16 08:37:35 +0200
commita61cea1e5455126fad9933698a5380df1fcd77bb (patch)
tree7058e73727340630c4d8a859210329703e55f502
parente373f75ceb0651f1a17316369d3be6710eb6431c (diff)
DB/Misc: Fix Gossip on Kor'kron overseer
By dr-j, closes #12514
-rw-r--r--sql/updates/world/2014_07_16_02_world_misc.sql14
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/updates/world/2014_07_16_02_world_misc.sql b/sql/updates/world/2014_07_16_02_world_misc.sql
new file mode 100644
index 00000000000..ecef34a3964
--- /dev/null
+++ b/sql/updates/world/2014_07_16_02_world_misc.sql
@@ -0,0 +1,14 @@
+-- gossip npc text 15321 - all before wrathgate event
+DELETE FROM `gossip_menu` WHERE `entry`=10769 AND `text_id` IN(14931,14933);
+
+INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES
+(10769, 14931), -- After Wrathgate event except undead
+(10769, 14933); -- After Wrathgate event undead
+
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=10769;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(14, 10769, 15321, 0, 0, 8, 0, 12500, 0, 0, 1, 0, 0, '', 'Gossip text requires Return to Angrathar not completed'),
+(14, 10769, 14931, 0, 0, 8, 0, 12500, 0, 0, 0, 0, 0, '', 'Gossip text requires Return to Angrathar completed'),
+(14, 10769, 14931, 0, 0, 16, 0, 16, 0, 0, 1, 0, 0, '', 'Gossip text requires not undead player'),
+(14, 10769, 14933, 0, 0, 8, 0, 12500, 0, 0, 0, 0, 0, '', 'Gossip text requires Return to Angrathar completed'),
+(14, 10769, 14933, 0, 0, 16, 0, 16, 0, 0, 0, 0, 0, '', 'Gossip text requires undead player');