Feature Add skill levels (ranks) to Avatar of Sneaky Pete skills

philmasterplus

Active member
Avatar of Boris, Zombie Slayer, and Avatar of Sneaky Pete offer 3-column skill trees that follow a strict rank system. To learn a skill of a higher rank, you must learn all skills before it in the same tree. Perhaps because of this, all AoB/ZS/Plumber skills have their ranks stored in the level proxy record field...yet AoSP skills did not. I assume this is an oversight?

I wrote a quick patch that updates classskills.txt to fix this. Tested on r20535 with the following JS script:
JavaScript:
const { print } = require("kolmafia");
const regularClass = new Set(Class.get([
  'Seal Clubber', 'Turtle Tamer', 'Sauceror', 'Pastamancer', 'Disco Bandit', 'Accordion Thief'
]));
Skill.all()
  .filter(s => !regularClass.has(Class.get(String(s.class))) && s.level !== -1)
  .forEach(s => print(s + " => " + s.class + " (" + s.level + ")"));

This script lists all skills that aren't regular guild skills and have level !== -1. Before the patch, this script only lists AoB/Zombie Slayer/Plumber skills. After the patch, it also lists AoSP skills.
 

Attachments

  • kolmafia-philmasterplus-aosp-skill-levels.patch
    2.8 KB · Views: 1
Top