mirror of
https://github.com/ZhengPeiRu21/mod-individual-progression
synced 2025-11-29 23:44:51 +08:00
Update professions.sql
Added Brumman
This commit is contained in:
@@ -1048,3 +1048,66 @@ INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `Exte
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (@Barim, 0, 10290, 0, 0, 0, 0);
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (@Barim, 0, 14341, 0, 0, 0, 0);
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (@Barim, 0, 38426, 0, 0, 0, 0);
|
||||
|
||||
|
||||
/* Brumman shouldn't train certain leatherworking recipes until progression tier 10 */
|
||||
/* to solve this a copy of him is created that only sells recipes that were available before progression tier 10 */
|
||||
/* the original Brumman will replace his copy at progression tier 10 */
|
||||
SET @Brumman := 118771;
|
||||
|
||||
/* Add copy of Brumman to creature_template with script npc_ipp_tbc_pre_t4 */
|
||||
DELETE FROM `creature_template` WHERE `entry` = @Brumman;
|
||||
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 (@Brumman, 0, 0, 0, 0, 0, 'Brumman', 'Master Leatherworking Trainer', NULL, 0, 60, 60, 0, 1737, 209, 1, 1.14286, 1, 1, 20, 1, 0, 0, 1, 2000, 2000, 1, 1, 1, 512, 2048, 0, 0, 2, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, '', 1, 1, 1.02, 1, 1, 1, 0, 0, 1, 0, 0, 2, 'npc_ipp_tbc_pre_t4', 12340);
|
||||
|
||||
/* Add copy of Brumman to creature_template_addon */
|
||||
DELETE FROM `creature_template_addon` WHERE `entry` = @Brumman;
|
||||
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES (@Brumman, 0, 0, 1, 1, 0, 0, NULL);
|
||||
|
||||
/* Add copy of Brumman to creature_template_locale */
|
||||
DELETE FROM `creature_template_locale` WHERE `entry` = @Brumman;
|
||||
INSERT INTO `creature_template_locale` (`entry`, `locale`, `Name`, `Title`, `VerifiedBuild`) VALUES (@Brumman, 'deDE', 'Brumman', 'Lederverarbeitungslehrer', 18019);
|
||||
INSERT INTO `creature_template_locale` (`entry`, `locale`, `Name`, `Title`, `VerifiedBuild`) VALUES (@Brumman, 'esES', 'Brumman', 'Instructor de peletería', 18019);
|
||||
INSERT INTO `creature_template_locale` (`entry`, `locale`, `Name`, `Title`, `VerifiedBuild`) VALUES (@Brumman, 'esMX', 'Brumman', 'Instructor de peletería', 18019);
|
||||
INSERT INTO `creature_template_locale` (`entry`, `locale`, `Name`, `Title`, `VerifiedBuild`) VALUES (@Brumman, 'frFR', 'Brumman', 'Maître des travailleurs du cuir', 18019);
|
||||
INSERT INTO `creature_template_locale` (`entry`, `locale`, `Name`, `Title`, `VerifiedBuild`) VALUES (@Brumman, 'koKR', '브룸만', '전문 가죽세공인', 18019);
|
||||
INSERT INTO `creature_template_locale` (`entry`, `locale`, `Name`, `Title`, `VerifiedBuild`) VALUES (@Brumman, 'ruRU', 'Брумман', 'Учитель кожевничества', 18019);
|
||||
INSERT INTO `creature_template_locale` (`entry`, `locale`, `Name`, `Title`, `VerifiedBuild`) VALUES (@Brumman, 'zhCN', '布鲁曼', '制皮训练师', 18019);
|
||||
INSERT INTO `creature_template_locale` (`entry`, `locale`, `Name`, `Title`, `VerifiedBuild`) VALUES (@Brumman, 'zhTW', '布魯曼恩', '製皮訓練師', 18019);
|
||||
|
||||
/* Add copy of Brumman to creature_template_model */
|
||||
DELETE FROM `creature_template_model` WHERE `CreatureID` = @Brumman;
|
||||
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (@Brumman, 0, 18177, 1, 1, 12340);
|
||||
|
||||
/* Add copy of Brumman to creature */
|
||||
DELETE FROM `creature` WHERE `id1` = @Brumman;
|
||||
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 (321006, @Brumman, 0, 0, 530, 0, 0, 1, 1, 1, -721.657, 2745.26, 94.0548, 3.45575, 300, 0, 0, 3113, 0, 0, 0, 0, 0, '', 0, 0, NULL);
|
||||
|
||||
/* Add copy of Brumman to creature_equip_template */
|
||||
DELETE FROM `creature_equip_template` WHERE `CreatureID` = @Brumman;
|
||||
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`, `ItemID3`, `VerifiedBuild`) VALUES (@Brumman, 1, 10616, 0, 0, 18019);
|
||||
|
||||
/* Add correct leatherworking recipes to copy of Brumman */
|
||||
DELETE FROM `npc_trainer` WHERE `ID` = @Brumman;
|
||||
INSERT INTO `npc_trainer` (`ID`, `SpellID`, `MoneyCost`, `ReqSkillLine`, `ReqSkillRank`, `ReqLevel`, `ReqSpell`) VALUES (@Brumman, -201050, 0, 0, 0, 0, 0);
|
||||
|
||||
/* Add vendor items to copy of Brumman */
|
||||
DELETE FROM `npc_vendor` WHERE `entry` = @Brumman;
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (@Brumman, 0, 2320, 0, 0, 0, 0);
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (@Brumman, 0, 2321, 0, 0, 0, 0);
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (@Brumman, 0, 2325, 0, 0, 0, 0);
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (@Brumman, 0, 2604, 0, 0, 0, 0);
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (@Brumman, 0, 2605, 0, 0, 0, 0);
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (@Brumman, 0, 4289, 0, 0, 0, 0);
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (@Brumman, 0, 4291, 0, 0, 0, 0);
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (@Brumman, 0, 4340, 0, 0, 0, 0);
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (@Brumman, 0, 4341, 0, 0, 0, 0);
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (@Brumman, 0, 4342, 0, 0, 0, 0);
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (@Brumman, 0, 6260, 0, 0, 0, 0);
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (@Brumman, 0, 6261, 0, 0, 0, 0);
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (@Brumman, 0, 7005, 0, 0, 0, 0);
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (@Brumman, 0, 8343, 0, 0, 0, 0);
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (@Brumman, 0, 10290, 0, 0, 0, 0);
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (@Brumman, 0, 14341, 0, 0, 0, 0);
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (@Brumman, 0, 38426, 0, 0, 0, 0);
|
||||
|
||||
Reference in New Issue
Block a user