Core/Items: use ITEM_FIELD_CREATE_PLAYED_TIME properly to determine an item's age and send the correct value in order to fix the refund info texts

This commit is contained in:
Ovahlord committed 2019-08-20 00:57:20 +02:00
1 parent 1ee046721b
commit 5251c6abb9
6 files changed
+31 -46

No files matched your search

@@ -0,0 +1,6 @@
ALTER TABLE `item_instance`
MODIFY COLUMN `flags` int(10) UNSIGNED NOT NULL DEFAULT 0 AFTER `charges`;
ALTER TABLE `item_instance`
CHANGE COLUMN `playedTime` `creationTime` int(10) UNSIGNED NOT NULL DEFAULT 0 AFTER `durability`;
UPDATE `item_instance` SET `creationTime`= 0;