aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZenoX92 <ZenoX92@users.noreply.github.com>2018-08-02 18:56:10 +0200
committerKillyana <morphone1@gmail.com>2018-08-02 18:56:10 +0200
commit4916d935b51cbcf686291fb2964ab2774e82b497 (patch)
tree3327950c8767449cf730de9550adcdc323b38852
parent1020a29b4d23babe35f2dbf4db0811502be2c76d (diff)
DB/Text: Inspector Tarem
Closes #22220
-rw-r--r--sql/updates/world/3.3.5/2018_08_02_04_world_335.sql15
1 files changed, 15 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2018_08_02_04_world_335.sql b/sql/updates/world/3.3.5/2018_08_02_04_world_335.sql
new file mode 100644
index 00000000000..61f458e9417
--- /dev/null
+++ b/sql/updates/world/3.3.5/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`, `text0_0`, `text0_1`, `BroadcastTextID0`, `lang0`, `Probability0`) VALUES
+(11127,"What are you doing here? Do you wish to defile the ashes of this slain family further? Leave this place. You are not welcome.","",22040,0,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;