fix(DB/loot_template): Drop rate of Atal'ai items (#7910)
This commit is contained in:
parent
7c6797370c
commit
c45416736e
1 changed files with 36 additions and 0 deletions
|
|
@ -0,0 +1,36 @@
|
|||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1631773465270858700');
|
||||
|
||||
SET @Entry = 35010;
|
||||
|
||||
UPDATE
|
||||
`creature_loot_template`
|
||||
SET
|
||||
`Chance` = 36
|
||||
WHERE
|
||||
`Entry` IN (5712, 5713, 5714, 5715, 5716, 5717)
|
||||
AND
|
||||
`Item` = @Entry;
|
||||
|
||||
UPDATE
|
||||
`reference_loot_template`
|
||||
SET
|
||||
`Chance` =
|
||||
(
|
||||
CASE WHEN
|
||||
`Item` = 10783 THEN 11.11
|
||||
WHEN
|
||||
`Item` = 10784 THEN 8.33
|
||||
WHEN
|
||||
`Item` = 10785 THEN 13.9
|
||||
WHEN
|
||||
`Item` = 10786 THEN 22.22
|
||||
WHEN
|
||||
`Item` = 10787 THEN 19.44
|
||||
WHEN
|
||||
`Item` = 10788 THEN 25
|
||||
END
|
||||
)
|
||||
WHERE
|
||||
`Entry` = @Entry
|
||||
AND
|
||||
`Item` IN (10783, 10784, 10785, 10786, 10787, 10788);
|
||||
Loading…
Add table
Add a link
Reference in a new issue