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

SelfHealInfantryAmount: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Number of Strength= points to restore every SelfHealInfantryFrames= when the player owns a structure with a InfantryGainSelfHeal= specified. This is an amendment to the Hospital=yes logic that was attached to structures in standard Red Alert 2.<br />
|files={{Categ|ini=rules}}
(Yuri's Revenge Only)
|values={{Values|Unsigned integers}}
|default=20
|types={{Categ|General}} (see respective notes below)
|yr=yes
}}
 
If a BuildingType's {{f|InfantryGainSelfHeal|link}} is set to a value greater than zero, all InfantryTypes on the map belonging to the BuildingType's owner receive {{f|InfantryGainSelfHeal|link}} * {{f|SelfHealInfantryAmount}} points to their {{f|Strength|link}} each {{f|SelfHealInfantryFrames|link}} number of frames, until {{f|Strength}} reaches the InfantryType's maximum value (it does not overflow).

Revision as of 23:14, 29 October 2012

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: SelfHealInfantryAmount
File(s): rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Default: 20
Applicable to: General (see respective notes below)


If a BuildingType's InfantryGainSelfHeal is set to a value greater than zero, all InfantryTypes on the map belonging to the BuildingType's owner receive InfantryGainSelfHeal * SelfHealInfantryAmount points to their Strength each SelfHealInfantryFrames number of frames, until Strength reaches the InfantryType's maximum value (it does not overflow).