diff options
| author | Wyreth <Wyreth@users.noreply.github.com> | 2017-11-08 23:41:35 +0100 |
|---|---|---|
| committer | Killyana <morphone1@gmail.com> | 2017-11-08 23:41:35 +0100 |
| commit | 30c2a96f16ef748643adea0e85622df4e44afeb3 (patch) | |
| tree | 4ce170ca1d4a9b95afa2f7b7c671ececf28ab9d7 | |
| parent | 0f0c91c3277034c3f978f8d242137ac7fc5c98d3 (diff) | |
DB/Gossip: implement Troll-only gossip for NPC Paelarin
Closes #20826
| -rw-r--r-- | sql/updates/world/3.3.5/2017_11_08_28_world.sql | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2017_11_08_28_world.sql b/sql/updates/world/3.3.5/2017_11_08_28_world.sql new file mode 100644 index 00000000000..2b92ea2966a --- /dev/null +++ b/sql/updates/world/3.3.5/2017_11_08_28_world.sql @@ -0,0 +1,12 @@ +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14, 15) AND `SourceGroup`=7311; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14, 7311, 8679, 0, 0, 16, 0, 128, 0, 0, 0, 0, 0, "", "Show gossip text 19894 if player is a Troll"), +(15, 7311, 0, 0, 0, 16, 0, 128, 0, 0, 1, 0, 0, "", "Show gossip option 0 if player is NOT a Troll"); + +DELETE FROM `npc_text` WHERE `ID`=8679; +INSERT INTO `npc_text` (`ID`, `text0_0`, `BroadcastTextID0`) VALUES +(8679, "Be gone filthy creature! Why anyone would tolerate your filth is beyond me.", 12789); +DELETE FROM `gossip_menu` WHERE `MenuID`=7311 AND `TextID`=8679; +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(7311, 8679, 0); |
