AffectsAllies: Difference between revisions
Appearance
en>DCoder Correcting as per executable (If you actually tested this in game and my changes are wrong, feel free to correct them) |
Rain-Islet (talk | contribs) m [bot] Batch update {{Bugs}} templates. |
||
| (15 intermediate revisions by 6 users not shown) | |||
| Line 5: | Line 5: | ||
|values={{values|Booleans}} | |values={{values|Booleans}} | ||
|yr=yes | |yr=yes | ||
}} | }} | ||
This controls whether this [[Warheads|warhead]] can apply 'damage' to friendly units. If set to 'no', then any friendly units within the warhead's [[CellSpread]] will not be affected by the actual damage-dealing part of the warhead, but side-effects such as {{f|DamageReducesReadiness|yes|link}} or {{f|Sonic|yes|link}} will affect them still. | |||
==Notes== | |||
If <tt>AffectsAllies=yes</tt>, a weapon with {{f|MindControl|yes|link}} and {{f|Psychedelic|yes|link}} affects only enemies. (Needs verification) | |||
If the weapon does negative [[Damage]], such as a repairing/healing type weapon, it will be able to heal all allies. | |||
=={{bugs}}== | |||
Doesn't work with {{f|Temporal|yes|link}} weapons or {{f|IsLocomotor|yes|link}} objects. | |||
A [[Particle]] won't function if <tt>AffectsAllies=no</tt> is used on its [[warhead]]. | |||
==See Also== | |||
[[Spawner]] | |||
[[Particles]] | |||
[[ParticleSystems]] | |||
Latest revision as of 17:07, 2 July 2025
|
|
|
|
|
|
| Flag: | AffectsAllies |
| File(s): | rules(md).ini |
| Values: | Boolean values: yes or no, true or false, 1 or 0 |
| Applicable to: | Warheads |
This controls whether this warhead can apply 'damage' to friendly units. If set to 'no', then any friendly units within the warhead's CellSpread will not be affected by the actual damage-dealing part of the warhead, but side-effects such as DamageReducesReadiness=yes or Sonic=yes will affect them still.
Notes
If AffectsAllies=yes, a weapon with MindControl=yes and Psychedelic=yes affects only enemies. (Needs verification)
If the weapon does negative Damage, such as a repairing/healing type weapon, it will be able to heal all allies.
Bugs/Side-Effects/Unexpected Limitations
Doesn't work with Temporal=yes weapons or IsLocomotor=yes objects.
A Particle won't function if AffectsAllies=no is used on its warhead.





