mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
fix(DB/Creature): Grimbooze Thunderbrew Missing Gossip (#10501)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1643834611045156900');
|
||||
|
||||
SET @NPC_ENTRY := 239; /* Grimbooze Thunderbrew */
|
||||
SET @GOSSIP_MENU_ID := 61028;
|
||||
SET @NPC_TEXT_ID := 50034;
|
||||
|
||||
UPDATE `creature_template` SET `gossip_menu_id` = @GOSSIP_MENU_ID WHERE `entry` = @NPC_ENTRY;
|
||||
UPDATE `creature_template` SET `npcflag` = `npcflag`|1|2 WHERE `entry` = @NPC_ENTRY;
|
||||
DELETE FROM `npc_text` WHERE `ID` = @NPC_TEXT_ID;
|
||||
INSERT INTO `npc_text` (`ID`, `text0_0`, `text0_1`, `BroadcastTextID0`)
|
||||
VALUES (@NPC_TEXT_ID,
|
||||
'Adventure from lands far and near $bMeeting with folks both odd and queer $bBut if of me a question you ask $bYou must first complete a simple task!',
|
||||
'Adventure from lands far and near $bMeeting with folks both odd and queer $bBut if of me a question you ask $bYou must first complete a simple task!', 0);
|
||||
|
||||
DELETE FROM `gossip_menu` WHERE `MenuID` = @GOSSIP_MENU_ID AND `TextID` = @NPC_TEXT_ID;
|
||||
INSERT INTO `gossip_menu` (`MenuID`, `TextID`) VALUES
|
||||
(@GOSSIP_MENU_ID, @NPC_TEXT_ID);
|
||||
Reference in New Issue
Block a user