Skip to content

Conversation

@TaranDahl
Copy link
Contributor

Toggle per-target warhead effects apply timing

  • Now you can set the following flag to false to apply the Phobos warhead effects that take effect on each target when taking damage, rather than when the projectiles detonate.
    • This will allow such effects to be applied through damage without projectiles, including but not limited to damage from particles, vanilla radiation, and Ares' GenericWarhead superweapon.
    • This will also cause all effects that can completely prevent damage to also prevent these warhead effects, including but not limited to DamageSelf, DamageAirThreshold, AffectsAllies, AffectsAir.
    • If you use a warhead with CellSpread to damage a building multiple times, then these effects will be applied multiple times. If you don't want this to happen, use MergeBuildingDamage.
    • The affected effects include:

In rulesmd.ini:

[CombatDamage]                        ; WarheadType
ApplyPerTargetEffectsOnDetonate=true  ; boolean

[SOMEWARHEAD]                         ; WarheadType
ApplyPerTargetEffectsOnDetonate=      ; boolean, default to [CombatDamage] -> ApplyPerTargetEffectsOnDetonate

@TaranDahl TaranDahl requested a review from Starkku December 22, 2025 11:13
@TaranDahl TaranDahl added ⚙️T2 T2 maintainer review is sufficient ❓Unhardcoding / Customization Make something more tweakable labels Dec 22, 2025
@TaranDahl TaranDahl changed the title Apply per target warhead effects on ReceiveDamage Apply per-target warhead effects on ReceiveDamage Dec 22, 2025
@github-actions
Copy link

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

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

Labels

⚙️T2 T2 maintainer review is sufficient ❓Unhardcoding / Customization Make something more tweakable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant