fix(DB/Gameobject): Secret Safe loot (#2738)
- Fix wrong groupid and loot chances - refactor: Use more logical ID Co-authored-by: Barbz <BarbzYHOOL@users.noreply.github.com>
This commit is contained in:
parent
f1e21f2ca5
commit
4cf3a792f7
1 changed files with 13 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1583690478008671900');
|
||||
|
||||
-- Set logic ID number
|
||||
UPDATE `gameobject_template` SET `Data1` = '161495' WHERE `entry` = '161495';
|
||||
|
||||
-- Delete old entry and add new one with correct ID
|
||||
DELETE FROM `gameobject_loot_template` WHERE `entry` IN (11104,161495); -- Secret Safe
|
||||
INSERT INTO `gameobject_loot_template` (`entry`, `item`, `chance`, `questrequired`, `groupid`, `mincount`, `maxcount`) VALUES
|
||||
(161495, 22205, 0, 0, 1, 1, 1),
|
||||
(161495, 22255, 0, 0, 1, 1, 1),
|
||||
(161495, 22256, 0, 0, 1, 1, 1),
|
||||
(161495, 22254, 0, 0, 1, 1, 1),
|
||||
(161495, 11309, 100, 1, 0, 1, 1);
|
||||
Loading…
Add table
Add a link
Reference in a new issue