ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

AffectsAllies: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
 
Testid123 (talk | contribs)
mNo edit summary
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Can be set to 'yes' or 'no' and is special case subset logic for a warhead that also has PsychicDamage=yes set. If that is the case, this can be used as an override so that friendly units will not be affected, although the 'psychic damage' will still be applied to enemy units if they do not have ImmuneToPsionicWeapons=yes set.<br />
|name={{PAGENAME}}
(Yuri's Revenge Only)
|files={{Categ|ini=rules}}
|types={{Categ|Warheads}}
|values={{values|Booleans}}
|yr=yes
|rp=yes
}}
This flag controls whether this warhead can damage friendly units. If set to 'no', then any friendly units within the warhead radius will not be affected by the actual damage-dealing part of the warhead, but most side-effects such as {{f|DamageReducesReadiness|yes|link}} or {{f|Sonic|yes|link}} will affect them still. <!-- do we need an actual list of which will and which won't? -->
<h1>Case study</h1>
*{{f|MindControl|yes|link}}and{{f|Psychedelic|yes|link}} Affects the opposing party only.
*Healing type weapon(negative damage from any weapon) will affect your side.
==Nots==
If <b>AffectsAllies=no</b> is used against a [[warhead]] In the section [[Particle]] it will not work.
Doesn't work with [[Temporal]] tag.
Doesn't work with [[IsLocomotor]] tag.

Latest revision as of 01:56, 5 October 2024

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: AffectsAllies
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Applicable to: Warheads


This flag controls whether this warhead can damage friendly units. If set to 'no', then any friendly units within the warhead radius will not be affected by the actual damage-dealing part of the warhead, but most side-effects such as DamageReducesReadiness=yes or Sonic=yes will affect them still.

Case study

Nots

If AffectsAllies=no is used against a warhead In the section Particle it will not work. Doesn't work with Temporal tag. Doesn't work with IsLocomotor tag.