Feature - Implemented Updating sniffs based on spading

That patch looks good. And after thinking about it some, I think a counter for those seems reasonable.

Since Latte tracking ends at rollover, the counter should also be cleared at the first login of the day. Without checking, I believe that would be in KoLmafia.java or KoLCharacter.java.
 
Quite a lot of other handling needed I'm afraid. Need to handle it in AreaCombatData, ValhallaManager, defaults.txt, and Latte one would need to use startCountingTemporary, as it only lasts til rollover.
 
I'll sort those out. Looking at the code, it looks like lostcalpolydude's issue would be covered by using startCountingTemporary?
 
Last edited:
Nearly there, looking good.

AreaCombatData will need to only add to monsters whilst the relevant counter exists, similar to how Olfaction does.
 
It looks like startCountingTemporary was added by me, and it's actually for counters that don't start until the next "normal" encounter (for a weird definition) rather than being related at all to clearing them at rollover.
 
Ok I solved that by stopping counting it in the same place we stop counting wanderers.

I also noticed that part of the spading was the chatterboxing banish expires at rollover, so updated that too.
 

Attachments

Back
Top