forked from MagicBane/Server
Remove the dead mobbase base-skill path
static_npc_mobbase_stats.baseSkills never matches a static_skill_skillsbase token on dev (2007496699 on 2208 rows is no known skill hash and is absent from the client), so applyMobbaseSkill never added a skill and only cost a skillsbase query per mob spawn. No value changes. Nothing reads the baseSkills/skillAmount columns now; the table goes in 3.6. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
06a421de0f
commit
12fa84d379
3 files changed
-24
No files matched your search
@@ -455,12 +455,6 @@ public enum NPCManager {
|
||||
}
|
||||
}
|
||||
|
||||
public static void applyMobbaseSkill(Mob mob) {
|
||||
SkillsBase baseSkill = DbManager.SkillsBaseQueries.GET_BASE_BY_TOKEN(mob.mobBase.getMobBaseStats().getBaseSkill());
|
||||
if (baseSkill != null)
|
||||
mob.getSkills().put(baseSkill.getName(), new CharacterSkill(baseSkill, mob, mob.mobBase.getMobBaseStats().getBaseSkillAmount()));
|
||||
}
|
||||
|
||||
public static void applyRuneSkills(Mob mob, int runeID) {
|
||||
//load mob skill adjustments from mobbase rune
|
||||
if (PowersManager._allRuneSkillAdjusts.containsKey(runeID))
|
||||
|
||||
Reference in new issue
Block a user