Build SkillsBase from Skills.cfg

SkillsBase name, description, token (SBStringHash of the name) and
attribute weights now come from SkillTemplate._skills. The skill ids
stay in static_skill_skillsbase (ID, name), which dyn_character_skill
and SkillReq use; the loader joins each row's name to the cfg skill and
logs an error for a name with no cfg entry. Both servers load all 63 at
boot after Skills.cfg; GET_BASE/GET_BASE_BY_NAME/GET_BASE_BY_TOKEN read
the boot caches only. The other 31 cfg skills stay in SkillTemplate.

Parity (scripts/p43.py, dev DB): 63/63 names, 63/63 tokens, 63/63
weights. Only value change: description was empty for all 63 in the DB
and is now the cfg text (no server reader).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
MagicBotandClaude Opus 5.5 committed 2026-10-25 11:14:19 -04:00
1 parent 9af6dd30ea
commit ff52d1d7e5
4 files changed
+58 -48

No files matched your search

+3
View File
@@ -349,6 +349,9 @@ public class WorldServer {
exit(1);
}
Logger.info("Loading SkillsBase");
SkillsBase.LoadAllSkillsBase();
Logger.info("Loading Starting Kits");
StartingKitTemplate._kits = StartingKitParser.parseStartingKitFile();