bugfix: China Artillery shells can no longer destroy each other#140
Open
Stubbjax wants to merge 1 commit into
Open
bugfix: China Artillery shells can no longer destroy each other#140Stubbjax wants to merge 1 commit into
Stubbjax wants to merge 1 commit into
Conversation
Stubbjax
force-pushed
the
fix-artillery-shells-damaging-each-other
branch
from
July 14, 2026 14:10
98ade06 to
6269d0a
Compare
xezon
approved these changes
Jul 14, 2026
|
INI doc would have been nice. |
Contributor
Author
I have added substantial doc to the PR description. |
|
Is substantial indeed. Percentage loss does not properly correlate with the damage value ranges. |
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.
Summary
This change prevents the shells fired by China's Artillery Barrage special power from destroying each other, which would lead to variable damage yields and unpredictable outcomes.
Damage is now always identical (and up to 20% higher) as a result, with only the individual locations of each shell impact being random. This fix reduces the likelihood of scenarios where 1 or 2 Oil Derricks survive a level 3 Artillery Barrage.
Details
Shell impact distribution is random (as defined by the
WeaponErrorRadiusfield in the barrage OCLs) and does not follow any predefinedScatterTargetcoordinates like the SCUD Storm or Rocket Pods weapons. This means that it is possible for the strike to do significantly less damage depending on how many shells simultaneously strike the same location.The average shell loss varies with each level, and increases as more shells are fired. Damage output was measured 15 times at each level before the fix and 3 times at each level after the fix. Actual damage always equals max damage after the fix. This is represented in the table below.
Rationale
Ideally the better player wins a match through superior strategy and execution. Uncontrolled random elements prevent players from reliably calculating risk and reward, and can arbitrarily reward mistakes or punish optimal play, making outcomes feel unearned.
A player's Oil Derricks randomly surviving on Defcon 6 can be the difference between winning and losing. It is unsatisfying if match outcomes hinge on luck.
Testing
Before
Oil Derricks often survive from a level 3 Artillery Barrage on Defcon 6
BEFORE.mp4
After
Oil Derricks are less likely to survive a level 3 Artillery Barrage on Defcon 6
AFTER.mp4