Feature - Implemented Track combat actions

ckb

Minion
Staff member
It would be useful to track a history of actions that were done in combat to help inform future combat decisions (for the same combat). That is, track items and skills used so far during a combat.
I envision a parseable list if skills and item IDs saved into a property like "_lastCombatActions"

This is useful when determining combat actions for things are cannot or should not be used together or multiple times in the same combat.
Example of combat item that can only be used once: Time-Spinner, rock band flyers, [other things I can't think of]
Skills that should not be used together: Spit on them!, Duplicate, Do an epic McTwist!
 
I have a proof-of-concept PR in work that adds some output from FightRequest.java
I am likely forgetting some edge cases, but it seems to work with my limited testing. I'll wait a day or so for feedback on this idea then submit.
 
how will the pref be formatted? We need a way to determine if something was a skill or an item.

Are there combat actions that aren't skills or items? There's chefstaff jiggling, accordion stealing, pickpocketing, regular attacks, funkslinging (pretty easy to support, but still), thumb-twiddling, and attempting to run away. Are any of these worth tracking in this?
 
My current setup has this as semicolor delimited list of actions, with skill id (sk#) and item id (it#) like this:

Code:
steal;sk7247;sk7245;it5560;it5561;it9104;sk4034;sk7293;it2;it2402;it8935;sk3008;

There is also "runaway", "jiggle", "twiddle", "attack". These all come from parsing already done in FightRequest.java
I don't differentiate between funkslung items, I just add them sequentially.
 
Back
Top