Update si.sql

removing clones
now hiding gossip menu until player completes AQ phase.
This commit is contained in:
Grimfeather
2025-07-10 21:24:45 +02:00
committed by GitHub
parent 829826e45a
commit fee0d26031

View File

@@ -29,6 +29,7 @@ INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `Exte
(15006, 0, 23161, 0, 0, 0, 0);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 23 AND `SourceGroup` IN (2482, 3044, 4165, 5173, 5698, 11038, 14450, 15006, 16543);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 15 AND `SourceGroup` IN (4533, 4566, 4821, 6470, 8730);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`,
`ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
--
@@ -39,15 +40,19 @@ INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry
--
(23, 3044, 23160, 0, 0, 8, 0, 9300, 0, 0, 0, 0, 0, '', 'Miles Welsh will not sell Friendship Bread until the player has completed \'Page from the Front\''),
(23, 3044, 23161, 0, 0, 8, 0, 9300, 0, 0, 0, 0, 0, '', 'Miles Welsh will not sell Freshly-Squeezed Lemonade until the player has completed \'Page from the Front\''),
(15, 4533, 3, 0, 0, 8, 0, 66006, 0, 0, 0, 0, 0, '', 'Miles Welsh will not show vendor gossip option until the player has completed PROGRESSION_AQ'),
--
(23, 4165, 23160, 0, 0, 8, 0, 9300, 0, 0, 0, 0, 0, '', 'Elissa Dumas will not sell Friendship Bread until the player has completed \'Page from the Front\''),
(23, 4165, 23161, 0, 0, 8, 0, 9300, 0, 0, 0, 0, 0, '', 'Elissa Dumas will not sell Freshly-Squeezed Lemonade until the player has completed \'Page from the Front\''),
(15, 4821, 1, 0, 0, 8, 0, 66006, 0, 0, 0, 0, 0, '', 'Elissa Dumas will not show vendor gossip option until the player has completed PROGRESSION_AQ'),
--
(23, 5173, 23160, 0, 0, 8, 0, 9299, 0, 0, 0, 0, 0, '', 'Alexander Calder will not sell Friendship Bread until the player has completed \'Note from the Front\''),
(23, 5173, 23161, 0, 0, 8, 0, 9299, 0, 0, 0, 0, 0, '', 'Alexander Calder will not sell Freshly-Squeezed Lemonade until the player has completed \'Note from the Front\''),
(15, 4566, 3, 0, 0, 8, 0, 66006, 0, 0, 0, 0, 0, '', 'Alexander Calder will not show vendor gossip option until the player has completed PROGRESSION_AQ'),
--
(23, 5698, 23160, 0, 0, 8, 0, 9295, 0, 0, 0, 0, 0, '', 'Joanna Whitehall will not sell Friendship Bread until the player has completed \'Letter from the Front\''),
(23, 5698, 23161, 0, 0, 8, 0, 9295, 0, 0, 0, 0, 0, '', 'Joanna Whitehall will not sell Freshly-Squeezed Lemonade until the player has completed \'Letter from the Front\''),
(15, 8730, 0, 0, 0, 8, 0, 66006, 0, 0, 0, 0, 0, '', 'Joanna Whitehall will not show vendor gossip option until the player has completed PROGRESSION_AQ'),
--
(23, 11038, 23160, 0, 0, 8, 0, 66006, 0, 0, 0, 0, 0, '', 'Caretaker Alen will not sell Friendship Bread until the player has completed PROGRESSION_AQ'),
(23, 11038, 23160, 0, 0, 8, 0, 9304, 0, 0, 0, 0, 0, '', 'Caretaker Alen will not sell Friendship Bread until the player has completed \'Document from the Front\''),
@@ -61,6 +66,7 @@ INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry
--
(23, 15006, 23160, 0, 0, 8, 0, 9299, 0, 0, 0, 0, 0, '', 'Deze Snowbane will not sell Friendship Bread until the player has completed \'Note from the Front\''),
(23, 15006, 23161, 0, 0, 8, 0, 9299, 0, 0, 0, 0, 0, '', 'Deze Snowbane will not sell Freshly-Squeezed Lemonade until the player has completed \'Note from the Front\''),
(15, 6470, 1, 0, 0, 8, 0, 66006, 0, 0, 0, 0, 0, '', 'Deze Snowbane will not show vendor gossip option until the player has completed PROGRESSION_AQ'),
--
(23, 16543, 23160, 0, 0, 8, 0, 66006, 0, 0, 0, 0, 0, '', 'Garon Hutchins will not sell Friendship Bread until the player has completed PROGRESSION_AQ'),
(23, 16543, 23160, 0, 0, 8, 0, 9302, 0, 0, 0, 0, 0, '', 'Garon Hutchins will not sell Friendship Bread until the player has completed \'Missive from the Front\''),
@@ -74,114 +80,18 @@ UPDATE `creature` SET `npcflag` = 129 WHERE `guid` = 38112;
UPDATE `creature` SET `npcflag` = 689 WHERE `guid` = 46320;
UPDATE `creature` SET `npcflag` = 1048705 WHERE `guid` = 208240;
UPDATE `creature_template` SET `ScriptName` = 'npc_ipp_naxx40' WHERE `entry` IN (3044, 4165, 5173, 5698, 15006);
SET @Miles := 103044;
SET @Elissa := 104165;
SET @Alexander := 105173;
SET @Joanna := 105698;
SET @Deze := 115006;
-- Create copies with script npc_ipp_pre_naxx40
DELETE FROM `creature_template` WHERE `entry` IN (@Miles, @Elissa, @Alexander, @Joanna, @Deze);
INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `speed_swim`, `speed_flight`,
`detection_range`, `scale`, `rank`, `dmgschool`, `DamageModifier`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`,
`lootid`, `pickpocketloot`, `skinloot`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `spell_school_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES
(@Miles, 0, 0, 0, 0, 0, 'Miles Welsh', 'Priest Trainer', NULL, 4533, 40, 40, 0, 68, 51, 1, 1.14286, 1, 1, 18, 1, 0, 0, 1.1, 2000, 2000, 1, 1, 1, 33280, 2048, 0, 0, 0, 0, 5, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 1, 1.15, 1, 1, 1, 0, 0, 1, 0, 0, 2, 'npc_ipp_pre_naxx40', 12340),
(@Elissa, 0, 0, 0, 0, 0, 'Elissa Dumas', 'Portal Trainer', NULL, 4821, 35, 35, 0, 80, 49, 1, 1.14286, 1, 1, 18, 1, 0, 0, 1.45, 2000, 2000, 1, 1, 8, 512, 2048, 0, 0, 0, 0, 8, 0, 7, 134217728, 0, 0, 0, 0, 0, 0, 0, '', 0, 1, 1.1, 1, 1.6, 1, 0, 0, 1, 0, 0, 2, 'npc_ipp_pre_naxx40', 12340),
(@Alexander, 0, 0, 0, 0, 0, 'Alexander Calder', 'Warlock Trainer', NULL, 4566, 60, 60, 0, 55, 51, 1, 1.14286, 1, 1, 18, 1, 0, 0, 1.05, 2000, 2000, 1, 1, 1, 512, 2048, 0, 0, 0, 0, 9, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 1, 1.35, 1, 2.4, 1, 0, 0, 1, 0, 0, 2, 'npc_ipp_pre_naxx40', 12340),
(@Joanna, 0, 0, 0, 0, 0, 'Joanna Whitehall', NULL, NULL, 8730, 40, 40, 0, 68, 1, 1, 1.14286, 1, 1, 18, 1, 0, 0, 1.1, 2000, 2000, 1, 1, 1, 37376, 2048, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 1, 1.15, 1, 1, 1, 0, 0, 1, 0, 0, 2, 'npc_ipp_pre_naxx40', 12340),
(@Deze, 0, 0, 0, 0, 0, 'Deze Snowbane', 'Arathi Basin Battlemaster', NULL, 6470, 61, 61, 0, 412, 1048577, 1, 1.14286, 1, 1, 20, 1, 1, 0, 5.1, 2000, 2000, 1, 1, 1, 832, 2048, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 1, 50, 1, 1.15, 1, 0, 0, 1, 0, 0, 2, 'npc_ipp_pre_naxx40', 12340);
DELETE FROM `creature_template_addon` WHERE `entry` IN (@Elissa, @Alexander);
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
(@Elissa, 0, 0, 0, 1, 0, 0, NULL),
(@Alexander, 0, 0, 0, 1, 0, 0, NULL);
DELETE FROM `creature_template_locale` WHERE `entry` IN (@Miles, @Elissa, @Alexander, @Joanna, @Deze);
INSERT INTO `creature_template_locale` (`entry`, `locale`, `Name`, `Title`, `VerifiedBuild`) VALUES
(@Miles, 'deDE', 'Miles Welsch', 'Priesterlehrer', 18019),
(@Miles, 'esES', 'Miles Welsh', 'Instructor de sacerdotes', 18019),
(@Miles, 'esMX', 'Miles Welsh', 'Instructor de sacerdotes', 18019),
(@Miles, 'frFR', 'Miles Welsh', 'MaŒtre des prˆtres', 18019),
(@Miles, 'koKR', '마일스 웰시', '상급 사제', 18019),
(@Miles, 'ruRU', 'Майлз Уэльш', 'Наставник жрецов', 18019),
(@Miles, 'zhCN', '麦尔斯·威尔什', '牧师训练师', 18019),
(@Miles, 'zhTW', '麥爾斯·威爾許', '牧師訓練師', 18019),
(@Elissa, 'deDE', 'Elissa Dumas', 'Portallehrerin', 18019),
(@Elissa, 'esES', 'Elissa Dumas', 'Instructora de portal', 18019),
(@Elissa, 'esMX', 'Elissa Dumas', 'Instructora de portal', 18019),
(@Elissa, 'frFR', 'Elissa Dumas', 'MaŒtre des portails', 18019),
(@Elissa, 'koKR', '엘리사 뒤마', '순간이동 전문 마법사', 18019),
(@Elissa, 'ruRU', 'Элисса Дюма', 'Изучение порталов', 18019),
(@Elissa, 'zhCN', '埃莉萨·杜马斯', '传送门训练师', 18019),
(@Elissa, 'zhTW', '埃麗莎·仲馬', '傳送門訓練師', 18019),
(@Alexander, 'deDE', 'Alexander Calder', 'Hexenmeisterlehrer', 18019),
(@Alexander, 'esES', 'Alexander Calder', 'Instructor de brujos', 18019),
(@Alexander, 'esMX', 'Alexander Calder', 'Instructor de brujos', 18019),
(@Alexander, 'frFR', 'Alexander Calder', 'MaŒtre des dmonistes', 18019),
(@Alexander, 'koKR', '알렉산더 칼더', '상급 흑마법사', 18019),
(@Alexander, 'ruRU', 'Александр Кальдер', 'Наставник чернокнижников', 18019),
(@Alexander, 'zhCN', '亚历山大·考德尔', '术士训练师', 18019),
(@Alexander, 'zhTW', '亞歷山大·考德爾', '術士訓練師', 18019),
(@Joanna, 'deDE', 'Joanna Weiáhall', '', 18019),
(@Joanna, 'esES', 'Joanna Whitehall', '', 18019),
(@Joanna, 'esMX', 'Joanna Whitehall', '', 18019),
(@Joanna, 'frFR', 'Joanna Blancmanoir', '', 18019),
(@Joanna, 'koKR', '조안나 화이트홀', '', 18019),
(@Joanna, 'ruRU', 'Джоанна Вайтхолл', '', 18019),
(@Joanna, 'zhCN', '乔安娜·怀特豪尔', '', 18019),
(@Joanna, 'zhTW', '瓊安娜·懷特豪爾', '', 18019),
(@Deze, 'deDE', 'Deze Schneefluch', 'Kampfmeisterin des Arathibeckens', 18019),
(@Deze, 'esES', 'Deze Delirion¡veo', 'Maestra de batalla de la Cuenca de Arathi', 18019),
(@Deze, 'esMX', 'Deze Delirion¡veo', 'Maestra de batalla de la Cuenca de Arathi', 18019),
(@Deze, 'frFR', 'Deze Plaie-des-neiges', 'MaŒtre de guerre du bassin Arathi', 18019),
(@Deze, 'koKR', '데제 스노우베인', '아라시 분지 전투모병관', 18019),
(@Deze, 'ruRU', 'Дези Холодная', 'Военачальник Низины Арати', 18019),
(@Deze, 'zhCN', '迪兹·斯诺班', '阿拉希盆地军官', 18019),
(@Deze, 'zhTW', '迪茲·斯諾班', '阿拉希盆地戰場軍官', 18019);
DELETE FROM `creature_template_model` WHERE `CreatureID` IN (@Miles, @Elissa, @Alexander, @Joanna, @Deze);
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(@Miles, 0, 2139, 1, 1, 12340),
(@Elissa, 0, 7669, 1, 1, 12340),
(@Alexander, 0, 3122, 1, 1, 12340),
(@Joanna, 0, 4052, 1, 1, 12340),
(@Deze, 0, 15112, 1, 1, 12340);
DELETE FROM `creature` WHERE `id1` IN (@Miles, @Elissa, @Alexander, @Joanna, @Deze);
INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`,
`spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES
(603044, @Miles, 0, 0, 1, 0, 0, 1, 1, 1, -956.24, 252.418, 97.8755, 4.2237, 250, 0, 0, 1753, 0, 0, 0, 0, 0, '', 0, 0, NULL),
(604165, @Elissa, 0, 0, 1, 0, 0, 1, 1, 1, 9658.69, 2508.7, 1331.7, 2.25148, 300, 0, 0, 992, 2680, 0, 0, 0, 0, '', 0, 0, NULL),
(605173, @Alexander, 0, 0, 0, 0, 0, 1, 1, 1, -4608.55, -1109.55, 511.691, 1.69297, 490, 0, 0, 4120, 0, 0, 0, 0, 0, '', 0, 0, NULL),
(605698, @Joanna, 0, 0, 0, 0, 0, 1, 1, 1, 1653.56, 365.232, -60.6772, 0.977384, 300, 0, 0, 1753, 0, 0, 0, 0, 0, '', 0, 0, NULL),
(615006, @Deze, 0, 0, 1, 0, 0, 1, 1, 0, 2002.26, -4796.74, 56.8471, 3.00197, 600, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0, NULL);
DELETE FROM `creature_equip_template` WHERE `CreatureID` IN (@Miles, @Elissa, @Alexander, @Joanna, @Deze);
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`, `ItemID3`, `VerifiedBuild`) VALUES
(@Miles, 1, 12786, 0, 0, 18019),
(@Elissa, 1, 2177, 0, 0, 18019),
(@Alexander, 1, 2559, 0, 0, 18019),
(@Joanna, 1, 2809, 0, 0, 18019),
(@Deze, 1, 10616, 19053, 0, 18019);
DELETE FROM `npc_trainer` WHERE `ID` = @Elissa;
INSERT INTO `npc_trainer` (`ID`, `SpellID`, `MoneyCost`, `ReqSkillLine`, `ReqSkillRank`, `ReqLevel`, `ReqSpell`) VALUES
(@Elissa, 3565, 8000, 0, 0, 20, 0),
(@Elissa, 11419, 32000, 0, 0, 50, 0);
DELETE FROM `gossip_menu_option` WHERE `MenuID` = 4533 AND `OptionID` = 3;
DELETE FROM `gossip_menu_option` WHERE `MenuID` = 4566 AND `OptionID` = 3;
DELETE FROM `gossip_menu_option` WHERE `MenuID` = 4821 AND `OptionID` = 1;
DELETE FROM `gossip_menu_option` WHERE `MenuID` IN (6470, 8730);
INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`,
`ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
(4533, 3, 1, 'Show me what you have for sale.', 29959, 3, 128, 0, 0, 0, 0, '', 0, 0),
(4566, 3, 1, 'Show me what you have for sale.', 29959, 3, 128, 0, 0, 0, 0, '', 0, 0),
(4821, 1, 1, 'Show me what you have for sale.', 29959, 3, 128, 0, 0, 0, 0, '', 0, 0);
DELETE FROM `battlemaster_entry` WHERE `entry` = @Deze;
INSERT INTO `battlemaster_entry` (`entry`, `bg_template`) VALUES (@Deze, 3);
(4821, 1, 1, 'Show me what you have for sale.', 29959, 3, 128, 0, 0, 0, 0, '', 0, 0),
(6470, 0, 9, 'I would like to go to the battleground.', 10355, 12, 1048576, 0, 0, 0, 0, '', 0, 0),
(6470, 1, 1, 'Show me what you have for sale.', 29959, 3, 128, 0, 0, 0, 0, '', 0, 0),
(8730, 0, 1, 'Show me what you have for sale.', 29959, 3, 128, 0, 0, 0, 0, '', 0, 0);
/*-- Smart AI --*/