fix(Core/ObjectMgr): update npc_vendor.maxcount to u32 from u8 (#24685)

This commit is contained in:
sogladev
2026-02-13 12:17:21 +01:00
committed by GitHub
parent 0e50b3dede
commit 36a1f31c29
3 changed files with 14 additions and 6 deletions

View File

@@ -0,0 +1,8 @@
--
-- uint8 to uint32 conversion for maxcount in npc_vendor
-- game_event_npc_vendor does not need to be updated
ALTER TABLE `npc_vendor` MODIFY COLUMN `maxcount` int unsigned DEFAULT 0 NOT NULL;
DELETE FROM `npc_vendor` WHERE (`entry` = 29561) AND (`item` IN (21177));
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES
(29561, 0, 21177, 300, 600, 0, 0);