aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZenoX92 <ZenoX92@users.noreply.github.com>2018-08-02 18:56:10 +0200
committerShauren <shauren.trinity@gmail.com>2021-10-17 20:08:15 +0200
commitee9f8a58f16f6b2fe9a44a3de269370979fd058d (patch)
tree1c34a15c9201f0721a0fdd4f7760659e6a5daf63
parent94e21d2814bbae0dc015abcfb49a11374d8fbd0d (diff)
DB/Text: Inspector Tarem
Closes #22220 (cherry picked from commit 4916d935b51cbcf686291fb2964ab2774e82b497)
-rw-r--r--sql/updates/world/master/2021_10_17_15_world_2018_08_02_04_world_335.sql15
1 files changed, 15 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_10_17_15_world_2018_08_02_04_world_335.sql b/sql/updates/world/master/2021_10_17_15_world_2018_08_02_04_world_335.sql
new file mode 100644
index 00000000000..35734fb4676
--- /dev/null
+++ b/sql/updates/world/master/2021_10_17_15_world_2018_08_02_04_world_335.sql
@@ -0,0 +1,15 @@
+-- Inspector Tarem
+DELETE FROM `gossip_menu` WHERE `MenuID`=8761 AND `TextID`=11127;
+INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
+(8761,11127,0);
+
+DELETE FROM `npc_text` WHERE `ID`=11127;
+INSERT INTO `npc_text` (`ID`, `BroadcastTextID0`, `Probability0`) VALUES
+(11127,22040,1);
+
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=8761;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(14,8761,11127,0,0,6,0,67,0,0,0,0,0,"","Show text 11127 if Player is Horde"),
+(14,8761,11126,0,0,6,0,469,0,0,0,0,0,"","Show text 11126 if Player is Alliance");
+
+UPDATE `smart_scripts` SET `target_type`=1, `target_param1`=0, `target_param2`=0 WHERE `entryorguid`=23567 AND `source_type`=0 AND `id`=2;