ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
CanRetaliate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
One more down. |
||
Line 1: | Line 1: | ||
{{ | {{Flag | ||
|name={{PAGENAME}} | |||
|files={{Categ|Rules(md).ini}} | |||
|values={{Values|boolean}} | |||
|default=yes | |||
|types={{Categ|TechnoTypes}} | |||
|ra2=yes | |||
|yr=yes | |||
|rp=yes | |||
}} | |||
Specifies if this object may retaliate when hit by enemy fire. The object may NOT retaliate when: | |||
* The damage came from friendly troops. | |||
* The damage came from a special weapon. | |||
* The damage does no harm to the object, or the damage is less than 1 after calculations. | |||
* The retaliating object is paralyzed. | |||
* The retaliating object is currently being hit by a weapon whose warhead has {{f|Temporal|yes|link}}. | |||
* The retaliating object is destroyed | |||
* The target is Iron Curtain-ed. | |||
* The target is [[Immune]]. | |||
* The target has set {{f|LegalTarget|no|link}}. | |||
* The target is cloaked. | |||
* The target is already destroyed. | |||
* The target is out of range, or the weapon used by the retaliating object's [[Range]] is less than the range from the object to the target. | |||
If the object has {{f|CanPassiveAquire|yes|link}} set, then it may attack the target before the target attacks it if the target has a [[ThreatPosed]] greater than 0 set, then the object will attack even if as above stated the damage is less than 1 after calculations, but remember that the object is not actually retaliating! | |||
== See Also == | |||
* [[CanPassiveAquire]] |
Revision as of 21:50, 4 January 2010
Flag: | CanRetaliate |
File(s): | Rules(md).ini |
Values: | Boolean values: yes or no, true or false, 1 or 0 |
Default: | yes |
Applicable to: | TechnoTypes |
Specifies if this object may retaliate when hit by enemy fire. The object may NOT retaliate when:
- The damage came from friendly troops.
- The damage came from a special weapon.
- The damage does no harm to the object, or the damage is less than 1 after calculations.
- The retaliating object is paralyzed.
- The retaliating object is currently being hit by a weapon whose warhead has Temporal=yes.
- The retaliating object is destroyed
- The target is Iron Curtain-ed.
- The target is Immune.
- The target has set LegalTarget=no.
- The target is cloaked.
- The target is already destroyed.
- The target is out of range, or the weapon used by the retaliating object's Range is less than the range from the object to the target.
If the object has CanPassiveAquire=yes set, then it may attack the target before the target attacks it if the target has a ThreatPosed greater than 0 set, then the object will attack even if as above stated the damage is less than 1 after calculations, but remember that the object is not actually retaliating!