What Is This?
I wrote a simple script to automate casting the so-called trivial skills an arbitrary number of times. These skills are the starting buffs for each class, 1 MP for 5 adventures of a weak buff. I HC-permed all of these skills to claim the trophy. They're not awesome, but they are cheap to use, and I like trophies.But then... TPTB gave us the April Shower Thoughts shield (hereafter abbreviated ASTS)! Suddenly, these baby buffs became serious business with some serious benefits. So why not make it easy to use them? And why not automate using the ASTS? Therefore, I wrote this script to streamline my play. If you want to use it too, you're welcome to do so.
Usage
Type "trivialskills NUM" into the KoLmafia gCLI, where NUM is the number of times you want to cast each trivial skill. So "trivialskills 10" will cast each trivial skill ten (10) times. That's it. Simple, right?Okay, there's a bit more to it. The script will check how many of the trivial skills you can use. If you have none, it'll abort with an error message. It'll confirm you have enough MP to cast each trivial skill as many times as you've chosen. If you don't have enough MP, the script will abort with an error message. It'll also check if you have an ASTS and whether you're currently holding it.
- If you have an ASTS and it is equipped, or if you don't have an ASTS, then the script will carry on with buffing you.
- If you have an ASTS and it is notequipped, then the script will:
- Unequip your current weapon if it requires more than one hand,
- Equip the ASTS,
- Cast the trivial skills as many times as you requested, and
- Re-equip your previous off-hand item and (if it was changed) weapon.
Installation
Type the following into Mafia's gCLI:git checkout jimdigriz211/trivialskills
Thoughts, Comments, and Suggestions
It's my first ASH script. I'm sure it could be better, so please point out anything I missed. Along those lines: Credit goes to MCroft, heeheehee, and ckb for their excellent suggestions.Most of all, thank you for taking the time to check out a new script that has "trivial" right there in the name.

Last edited: