DB/Text: Inspector Tarem

Closes #22220

(cherry picked from commit 4916d935b5)
This commit is contained in:
ZenoX92
2018-08-02 18:56:10 +02:00
committed by Shauren
parent 94e21d2814
commit ee9f8a58f1

View File

@@ -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;