Atheist Nutter
New member
The repro scenario is simple but once-per-ascension:
In GenericRequest.java, near L1002 in r8305, all that we are doing is running a UseItemRequest on the drum machine. In UseItemRequest.java, near L1097, because we think that using a drum machine takes a turn, we run RecoveryManager.runBetweenBattleChecks, which I assume includes executing the mood. The number of adventures taken to use the item is determined in getAdventuresUsedByItem, defined on L3730. Drum machines are defined as taking one turn. I attach a speculative fix, but I'm unfamiliar with the code and I am not in a position to test this right now.
- "Run moods during manual adventuring" is turned off.
- You have a mood defined with effects that will be refreshed as soon as you auto-adventure, e.g. because you don't currently have the effect.
- Get the worm-riding hooks, which will have a "[wormride]" decorator link.
- Click the link.
In GenericRequest.java, near L1002 in r8305, all that we are doing is running a UseItemRequest on the drum machine. In UseItemRequest.java, near L1097, because we think that using a drum machine takes a turn, we run RecoveryManager.runBetweenBattleChecks, which I assume includes executing the mood. The number of adventures taken to use the item is determined in getAdventuresUsedByItem, defined on L3730. Drum machines are defined as taking one turn. I attach a speculative fix, but I'm unfamiliar with the code and I am not in a position to test this right now.
Attachments
Last edited: