BatBrain version /\/\^v^/\/\ Update!
You may have questions, such as:
- What exciting new features did you add in this update?
- What previously unsupported things are now supported in this update?
- Did you, in fact, rename one of BatBrain's data files?
- Do you greatly enjoy bulleted lists?
- Why is the version number a really crappy ASCII bat?
For all but the last, I have answers.
What's New in This Update: The Answers
Added "endscombat" flag to actions; adding "endscombat" to the special field of an action in batfactors (or in
to_event()) now causes that to be saved to the new boolean
endscombat field of the resulting advevent. BatBrain does not yet handle these actions any differently, but the upcoming SS release will definitely benefit from this change.
Added soft damage caps for all twenty-four (24) previously listed monsters with such caps. In the process, I had to handle elemental forms differently -- now if you have an elemental form, all the damage is converted to that element in
to_event() rather than
dmg_dealt(), which I believe should also save some time, as
dmg_dealt() can be called many times per round (or round simulation), whereas
to_event() basically only happens once per action per round.
Renamed
happenings_<playername>.txt to
BatMan_happenings_<player_name>.txt If you like, you can rename your old happenings file (the one without the "BatMan_" prefix) to retain that information, or simply delete it.
Action Blacklist! Action Blacklist! Users may now blacklist actions. The data file used for this is
BatMan_blacklist_<player_name>.txt, which is read (but not written) by BatBrain. This data file will be GUI-editable in the upcoming BatMan RE release, but in the meantime users need to create and edit the file directly. The format is
int[string], where the string is the action ID you wish to blacklist, such as "use 2" or "skill 7013". The integer is 0 to completely blacklist an action. For items, a nonzero means to blacklist that number of items. For skills, a nonzero is treated as the maximum casts of that skill per combat. Some actions will be blacklisted by BatBrain automatically whether you blacklist them or not:
- Tower items. BatBrain uses ZLib's tower_items() function to blacklist 1 of each tower item you may need.
- For Avatars of Jarlsberg, "attack" is auto-blacklisted.
- Richard skills are all completely blacklisted to avoid the associated KoL bug.
- Imp airs and bus passes (5 of each) are blacklisted until you complete the quest.
- A single flaregun is blacklisted until you complete the Islewar, just in case you are going for a Wossname.
- Burrowgrub and Stress Ball skills are auto-blacklisted beyond the amount you can actually cast for the day.
For all the above which are partial blacklists, completely blacklisting the action in your data file will override said partiality.
Correctly track the jiggling of chefstaves by normalizing KoL's "chefstaff" back to "jiggle". Also, don't check for "once", just check
happened().
Fix damage type for Weapon of the Pastalord.
In addition to gremlins, the following monsters also never miss:
- various Oil Peak monsters
- all reanimated skeletons
Added immunity to multi-stuns for the following monsters:
- Oil Peak monsters
- trophyfish
- Hobopolis bosses
Better filtering of certain actions, thanks to perusing Winterbay's
ok() function:
- Ignore goodfella contracts unless you have a penguin familiar and enough meat to use it.
- Ignore Boris skills that need Trusty if you don't have Trusty equipped.
- Ignore Shieldbutt skills if you don't have a shield (because then it would just be a butt skill).
- Ignore Harpoon! if unarmed. Today's modern monsters are unfazed by imaginary harpoons.
Many monster resistances added! BatBrain now knows about the following monsters' special elemental/physical resistances:
- BRICKO vacuum cleaner
- All Nemesis monsters' Volcanic Cave form (Demonform was already known)
- War frat mobile grill unit
- All Oil Peak monsters
- Crys-Rock
- Vanya's creature
- The Whole Kingdom (also knows about the 11-round combat limit and removes items)
- Don Crimbo
- Cyrus the Virus
- The Landscaper
- Ancient Ghost
- Contemplative Ghost
- Lovesick Ghost
If you had previously been getting killed when fighting these monsters, this update should help.
This update is good for several things:
- Paving the way for other scripts to update.
- Fighting Oil Peak monsters. Note that three important fixes for these monsters were added (never-miss, multistun-immunity, and resistances).
- Being a Jarlsberg. You may want to blacklist "jiggle" once you get staves with 5/day uses. Either that or remove those particular staves from your copy of batfactors.
- Facing monsters with soft damage caps. Previously, BatBrain was severely overestimating damage in excess of monster soft damage caps, because it just didn't know about them. Now it knows, and knowledge is power. Power and survival. Knowledge is power and survival... and surprise. Ah. Amongst our weaponry are such diverse elements as... I'll come again.
- Bulleted lists.