Kasekopf / loopsmol

Apache License 2.0
2 stars 9 forks source link

Improper Cranny Boss Tracking #31

Open Alium58 opened 4 months ago

Alium58 commented 4 months ago

Had a crash at the bonderdagon. Turns out the cranny boss hadn't been killed yet. Believe it is due to the following sequence:

  1. cyrptCrannyEvilness = 14 from prior adventuring. Just one above threshold of 13 for boss to appear
  2. encountered the death rattlin' NC which decreased cyrptCrannyEvilness to 0. Line 70764 of log
  3. Cranny Boss task is marked as finished when cyrptCrannyEvilness is 0. Not recorded in log, assumed.
  4. bonerdagon fight is attempted but task fails since boss isn't up yet. Line 90562 of log.

Seems like tracking would need to be improved in Mafia to totally prevent this issue, if I'm understanding it correctly. Perhaps a workaround is to not maximize ML when close to threshold. Prevent going all the way to 0.

I'm happy to write a mafia feature request if you agree it would be helpful. Please ping me in discord if you would like me to do that, don't check github that often. -Alium

alium_20240521.txt