mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 01:59:09 +00:00
fix(DB/Conditions): Grub should sell its items only to players who co… (#13803)
...mpleted "Dig Rat Stew" quest.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
--
|
||||
UPDATE `creature_template` SET `npcflag`=130, `type_flags`=`type_flags`|0x08000000, `flags_extra`=`flags_extra`|0x01000000 WHERE `entry`=3443;
|
||||
|
||||
DELETE FROM `gossip_menu_option` WHERE `MenuId`=10311;
|
||||
INSERT INTO `gossip_menu_option` VALUES
|
||||
(10311,0,1,'I want to browse your goods',3370,3,128,0,0,0,0,'',0,0);
|
||||
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=10311;
|
||||
INSERT INTO `conditions` VALUES
|
||||
(15,10311,0,0,0,7,0,185,15,0,0,0,0,'','Show vendor flag if player has cooking'),
|
||||
(15,10311,0,0,0,8,0,862,0,0,0,0,0,'','Show vendor flag if player player has quest Dig Rat Stew rewarded');
|
||||
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=23 AND `SourceGroup`=3443;
|
||||
INSERT INTO `conditions` VALUES
|
||||
(23,3443,0,0,0,7,0,185,15,0,0,0,0,'','Show vendor flag if player has cooking'),
|
||||
(23,3443,0,0,0,8,0,862,0,0,0,0,0,'','Show vendor flag if player player has quest Dig Rat Stew rewarded');
|
||||
|
||||
UPDATE `quest_template_addon` SET `RequiredSkillPoints`=15 WHERE `id`=862;
|
||||
Reference in New Issue
Block a user