From c2e8e5b9357da9bc4e6187048343c6fc0e52cc78 Mon Sep 17 00:00:00 2001 From: General Date: Sat, 18 Jan 2025 17:19:09 -0700 Subject: [PATCH] Update capAllSkills to incorporate handbell --- src/map/lua/lua_baseentity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/lua/lua_baseentity.cpp b/src/map/lua/lua_baseentity.cpp index 77403dd3f15..d41d5d2d8ae 100644 --- a/src/map/lua/lua_baseentity.cpp +++ b/src/map/lua/lua_baseentity.cpp @@ -10032,7 +10032,7 @@ void CLuaBaseEntity::capAllSkills() auto* PChar = static_cast(m_PBaseEntity); - for (uint8 i = 1; i < 45; ++i) + for (uint8 i = SKILL_HAND_TO_HAND; i <= SKILL_HANDBELL; ++i) // For SKILL_HAND_TO_HAND (1) - SKILL_HANDBELL (46) { const char* Query = "INSERT INTO char_skills " "SET "