fix(Core/Loot): properly save and load from DB loot from items (#6151)

- Closes #5472
- Closes https://github.com/chromiecraft/chromiecraft/issues/456
This commit is contained in:
UltraNix
2021-06-08 19:26:34 +02:00
committed by GitHub
parent 933335d6be
commit 6dacfc0717
7 changed files with 180 additions and 42 deletions

View File

@@ -0,0 +1,9 @@
INSERT INTO `version_db_characters` (`sql_rev`) VALUES ('1622403654219554600');
ALTER TABLE `item_loot_storage`
ADD COLUMN `follow_loot_rules` TINYINT UNSIGNED NOT NULL AFTER `randomSuffix`,
ADD COLUMN `freeforall` TINYINT UNSIGNED NOT NULL AFTER `follow_loot_rules`,
ADD COLUMN `is_blocked` TINYINT UNSIGNED NOT NULL AFTER `freeforall`,
ADD COLUMN `is_counted` TINYINT UNSIGNED NOT NULL AFTER `is_blocked`,
ADD COLUMN `is_underthreshold` TINYINT UNSIGNED NOT NULL AFTER `is_counted`,
ADD COLUMN `needs_quest` TINYINT UNSIGNED NOT NULL AFTER `is_underthreshold`;