This PR does this:
- The "gooseDronesRemaining" property tracks how many drones are currently active.
It looks like there's a tracking issue for when more than one drone is created in a fight and at least one gets used immediately in the fight. Maybe only when Emit Drones is used in the middle of a combat macro?
[2877] Your Witchess Set
Encounter: Play against the Witchess Pieces
Encounter: left-handed, huge, lazy, askew, wet Witchess Knight
Round 2: the erosionseeker casts EMIT MATTER DUPLICATING DRONES!
Round 3: 9 bits of goo emerge from Honkai Impact Thucydides and begin hovering about, moving probingly around various objects.
Round 13: the erosionseeker wins the fight!
You acquire an item: jumping horseradish
After Battle: One of the matter duplicating drones seems to coalesce around the jumping horseradish and then transforms into an exact replica. 8 more drones are still circling around.
You acquire an item: jumping horseradish
Mafia reported 9 drones remaining at the end of this fight.
At the end of the next fight, the pref adjusted to the game-stated value correctly. Doesn't occur if you already had drones active.
Additionally, it seems like sometimes drone tracking completely stops working, here's what it looks like normally:
After Battle: Honkai Impact Thucydides does a weird dance-like movement.
You acquire an item: jumping horseradish
After Battle: One of the matter duplicating drones seems to coalesce around the jumping horseradish and then transforms into an exact replica. 4 more drones are still circling around.
You acquire an item: jumping horseradish
When it stops tracking:
After Battle: You hear a loud schlurrrrrk! noise, and turn to see Salty Spittoonia sucking the liquid out of a bottle of Lushmills he found somewhere. (37% full)
You acquire an item: jumping horseradish
You acquire an item: jumping horseradish
When this happens, gooseDronesRemaining stops decrementing even when KoL displays "...transforms into an exact replica. That was the last drone."
Tested with multiple different duplicated items and had the same issue. Might be an issue with Melodramedary only? Drones decremented correctly with Pocket Professor active instead.