Queens now calculate which types and how much certain filling task chain requires, then drop the exceeded and pick up other required
old code: dump all -> calc sum
new code: calc sum -> calc needed (in one iteration with not too much cost)
old task chain: drop all (if needed) -> pick all -> transfer
new task chain: drop some -> pick others -> transfer
Removed:
None
Fixed:
When at low RCL, some spawns uses up nearly all energy and triggers spawn to recover energy - then the spawn-filling task becomes invalid because of the exceeded energy assigned, causing one extra filling task.
What I did is to change the certain amount to undefined to avoid over-filling failures
energy left will be used in the next filling chain, no extra dropping, max efficiency
Testing checklist:
[x] Changes are backward-compatible OR version migration code is included (no memory change)
[x] Codebase compiles with current tsconfig configuration (no config changes)
[x] Tested changes on PUBLIC server (still running)
Pull request summary
Description:
alters the logic of queen_bunker overlord
Added:
Changed:
dump all
->calc sum
calc sum
->calc needed (in one iteration with not too much cost)
drop all (if needed)
->pick all
->transfer
drop some
->pick others
->transfer
Removed:
Fixed:
undefined
to avoid over-filling failuresTesting checklist:
tsconfig
configuration (no config changes)