bugfix: Heroic Quad Cannons are no longer immune to ECM Tanks - #168
Open
Stubbjax wants to merge 1 commit into
Open
bugfix: Heroic Quad Cannons are no longer immune to ECM Tanks#168Stubbjax wants to merge 1 commit into
Stubbjax wants to merge 1 commit into
Conversation
xezon
approved these changes
Aug 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This change fixes an issue where ECM Tanks could not disable heroic Quad Cannons.
This issue originally occurred because a heroic Quad Cannon has 450 health (300 × 1.5), which is greater than its
SubdualDamageCapof 440. A unit can only become subdued when its subdual damage passes itsMaxHealth.The new
SubdualDamageCapof 600 comes from the [MaxHealth× 2] pattern applied across other units in the game. It was previously 440 because the Quad Cannon used to have 220 health as seen in Generals and the GC variants.Note
This fix does not include the single-player-only GC Quad Cannon variants, because those have no subdual damage data.
Before
The heroic Quad Cannon is immune to the ECM Tank
BEFORE.mp4
After
The heroic Quad Cannon can be disabled like all other units
AFTER.mp4