Skip to content

Patch Anomalies Expected#4637

Open
DarkByteZero wants to merge 6 commits into
CombatExtended-Continued:Developmentfrom
DarkByteZero:patch/anomalies-expected-ce
Open

Patch Anomalies Expected#4637
DarkByteZero wants to merge 6 commits into
CombatExtended-Continued:Developmentfrom
DarkByteZero:patch/anomalies-expected-ce

Conversation

@DarkByteZero

@DarkByteZero DarkByteZero commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Additions

  • CE compatibility for Anomalies Expected
  • AP and armor category on all custom damage defs
  • CE projectile, weapon, and tool conversions for the snow army content and the petrification boss
  • ToolCE on entity melee

Changes

none

References

none

Reasoning

  • mod ships custom damage defs with no AP and verbs that bypass CE

Alternatives

  • n/a

Testing

Check tests you have performed:

  • Compiles without warnings
  • Game runs without errors
  • (For compatibility patches) ...with and without patched mod loaded
  • Playtested a colony (specify how long)

- DamageDefs: Convert silent-fail PatchOperationReplace -> Add for AENitrogen / AENitrogenPlayer armorCategory (source defs do not declare the element). AEFreezing keeps Replace (source declares Blunt locally).
- Races_Entities: Convert ArmorRating_Sharp/Blunt (and Heat for BrokenStatue) Add -> per-stat Replace for all 6 entities (SnowMan, SnowGolem, SnowSpider, IceMantis, IceMan, BrokenStatue). Source defs already declare these stats, so Add was creating duplicates and producing warnings.
- Races_Entities: Remove canParry/maxParry from AE_SnowGolem RacePropertiesExtensionCE. CE convention restricts parry to Humanoid bipeds with weapon-arms; SnowGolem is Quadruped.
- Weapons_Ranged: Petrification Gun recoilAmount 2.80 -> 3 (CE convention for burst weapons).
- All 5 patch files wrapped in PatchOperationFindMod -> PatchOperationSequence to gate execution on Anomalies Expected being loaded.
@DarkByteZero DarkByteZero requested review from a team as code owners June 25, 2026 00:47
@github-actions

Copy link
Copy Markdown

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-28139309910.zip

@github-actions github-actions Bot added the Download in Comments This PR has a zipfile download available. label Jun 25, 2026
AE_Bullet_Shell_SnowBlockAbility inherits Gun_AESnowBlock_Thrown but its own
projectile element needs the CE class attribute set explicitly, otherwise the
inherited armorPenetrationBlunt and dangerFactor fields fail XML parse.

Balance pass anchored against centipede (Sharp 20 Blunt 45 Durability 3660) and
scyther (4 / 6) instead of Metalhorror (HP 0.6 parasite). BrokenStatue moves
into centipede tier, SnowGolem above pikeman, IceMantis to scyther-light.
SnowSpider drops slightly to match its CP 40 swarmer role.
@github-actions

Copy link
Copy Markdown

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-28140580723.zip

Source def has no <comps> element. The Add op silently failed and dropped the
ArmorDurability comp. Use PatchOperationConditional to create <comps /> on
nomatch so the subsequent Add resolves.
@github-actions

Copy link
Copy Markdown

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-28140941061.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Download in Comments This PR has a zipfile download available.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant