Jump to content

SelfHealInfantryAmount: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
en>Amitakartok
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 01:14, 30 October 2012

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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).