Make shield assist start repairing the shield instantly #6464
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
Compared to other construction/unit repair projects, shields can take a very long time to repair when assisted, varying between 7-11 ticks from the shield's
OnDamage
untilOnStartBuild
is called. Repairing takes 1 tick to start.The behavior was brought up to attention in a Discord balance suggestion.
Description of the proposed changes
Testing done on the proposed changes
Spawn a shield/paragon/sniper bot/engineer presets and log the time difference using the debug setup commit.
Balance implications
This makes shield assistance significantly more powerful against fast bursts of high damage such as Aeon T3 Arty (6k damage --1 second-> 6k damage), synchronized T3 artillery (especially Aeon artillery), or the Mavor (16k every 4.8 seconds). Outside of defending against strategic artillery, I don't think there are similar situations where shield assist is commonly used.
Buffing shield assistance in this way is fair because it already drains a massive amount of resources to let the player focus on other tasks than microing shields against artillery (which I reckon is not the gameplay that most are interested in). Keeping a consistently achievable shield assistance outcome, unaffected by random assist reaction time vs burst damage, would fulfill this goal of letting the player do other tasks.
It could make shield assist too powerful in which case I would reduce the efficiency of shield repair by adjusting the
RegenAssistMult
(determines much regen is given for an amount of buildpower) or changing the repair cost of shields directly.Checklist