mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 19:35:42 +00:00
fix (DB): Blacksmithing Plans Loot and Conditions (#10391)
* fix (DB): Blacksmithing Plans Loot and Conditions Per discussed no valid udb or sniff exist for loot and item. Common sense approach to fill the item until further based on wowhead as research for both conditions and loot %. Conditional is items will only be available if player possess blacksmithing at a skill of 285 minimal. 4 loot items with % were provided by wowhead based on time stamps of comments. * Updated based on further feedback * Update rev_1643309943188748904.sql * Update rev_1643309943188748904.sql * Update rev_1643309943188748904.sql * corrections * Update rev_1643309943188748904.sql * Update rev_1643309943188748904.sql * make formate prettiester
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1643309943188748904');
|
||||
|
||||
-- update current loot to 100% per wowhead
|
||||
UPDATE `gameobject_loot_template` SET `Chance`=100 WHERE `Entry`=11524 AND `Item`=11614;
|
||||
UPDATE `gameobject_loot_template` SET `Chance`=100 WHERE `Entry`=11525 AND `Item`=11615;
|
||||
UPDATE `gameobject_loot_template` SET `Chance`=100 WHERE `Entry`=13721 AND `Item`=12827;
|
||||
UPDATE `gameobject_loot_template` SET `Chance`=100 WHERE `Entry`=13722 AND `Item`=12830;
|
||||
|
||||
-- delete and insert for rerun locking the loot to skill id requirement for loot
|
||||
-- none currently exist in acdb
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=4 AND `SourceGroup`IN ( 11524, 11525, 13721, 13722);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(4, 13722, 12830, 0, 0, 7, 0, 164, 285, 0, 0, 0, 0, '', 'Blacksmithing Plans - Plans Coruption while having Black Smith skill 285'),
|
||||
(4, 13721, 12827, 0, 0, 7, 0, 164, 285, 0, 0, 0, 0, '', 'Blacksmithing Plans - Plans Serenity while having Black Smith skill 285'),
|
||||
(4, 11524, 11614, 0, 0, 7, 0, 164, 285, 0, 0, 0, 0, '', 'Blacksmithing Plans - Plans Dark Iron Mail while having Black Smith skill 285'),
|
||||
(4, 11525, 11615, 0, 0, 7, 0, 164, 285, 0, 0, 0, 0, '', 'Blacksmithing Plans - Plans Dark Iron Shoulder while having Black Smith skill 285');
|
||||
Reference in New Issue
Block a user