From 3e28ee080a1cf3c7cd332a8d1e0808505b4ea9d4 Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 26 Aug 2024 15:02:22 +0200 Subject: Core/Loot: Implemented currency loot --- sql/updates/characters/master/2024_08_26_00_characters.sql | 3 +++ sql/updates/world/master/2024_08_26_00_world.sql | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 sql/updates/characters/master/2024_08_26_00_characters.sql create mode 100644 sql/updates/world/master/2024_08_26_00_world.sql (limited to 'sql/updates') diff --git a/sql/updates/characters/master/2024_08_26_00_characters.sql b/sql/updates/characters/master/2024_08_26_00_characters.sql new file mode 100644 index 00000000000..dedde7070ec --- /dev/null +++ b/sql/updates/characters/master/2024_08_26_00_characters.sql @@ -0,0 +1,3 @@ +ALTER TABLE `item_loot_items` ADD `item_type` tinyint NOT NULL DEFAULT 0 COMMENT 'item or currency' AFTER `container_id`; +ALTER TABLE `item_loot_items` DROP PRIMARY KEY; +ALTER TABLE `item_loot_items` ADD PRIMARY KEY (`container_id`,`item_type`,`item_id`); diff --git a/sql/updates/world/master/2024_08_26_00_world.sql b/sql/updates/world/master/2024_08_26_00_world.sql new file mode 100644 index 00000000000..1a466256697 --- /dev/null +++ b/sql/updates/world/master/2024_08_26_00_world.sql @@ -0,0 +1,3 @@ +DELETE FROM `trinity_string` WHERE `entry`=296; +INSERT INTO `trinity_string` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`) VALUES +(296,'├%.*s %dx |c%08x|Hcurrency:%d:%d|h[%s]|h|r (#%05d)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); -- cgit v1.2.3