From f504d001c71f6abef7c14cfeb4a13b283da41033 Mon Sep 17 00:00:00 2001 From: HikeMap User Date: Sun, 4 Jan 2026 08:45:34 -0600 Subject: [PATCH] Add class editor system with database-driven skills MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add classes table (base stats, stat growth per level) - Add class_skills table (skill assignments with unlock levels, choice groups) - Seed 4 classes: Trail Runner (enabled), Gym Bro, Yoga Master, CrossFit Crusader - Seed Trail Runner skills with level-up choices at levels 2 and 3 - Add API endpoints for class and class skill CRUD - Add Classes section to admin panel with full editor UI - Skills grouped by unlock level with choice group indicators 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- admin.html | 464 ++++++++++++++++++++++++++++++++++++++++++++++++++++ database.js | 362 +++++++++++++++++++++++++++++++++++++++- server.js | 174 ++++++++++++++++++++ 3 files changed, 999 insertions(+), 1 deletion(-) diff --git a/admin.html b/admin.html index c9ae550..5e47de7 100644 --- a/admin.html +++ b/admin.html @@ -662,6 +662,9 @@ Skills + + 🏆 Classes + 👤 Users @@ -730,6 +733,30 @@ + +
+
+

Character Classes

+ +
+ + + + + + + + + + + + + + + +
NameIDBase StatsGrowth/LevelSkillsEnabledActions
Loading...
+
+
@@ -1087,6 +1114,111 @@
+ + +