Fix: ECM Tank Cannot Disable Heroic (Vet 3) Quad Cannons #442
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.
600 comes from the health x 2 formula used by every other unit in the game. It was 440, because Quad Cannon health used to be 220.
This fix does not include the single player only GC Quads, because those have no logic at all for ECM (will probably fix that later when those factions are to be done).
I could not find any reason to set it to 450 as suggested. They wake up in the proper order for me (vet 3 first, no vet last etc.). Following the formula makes it consistent and we avoid possible similar bugs when health bonuses vs easy/hard AI, or Hold The Line are applied on the Quad.