Jump to content

SelfHealInfantryAmount: Difference between revisions

From ModEnc²
en>Amitakartok
No edit summary
en>Testid123
mNo edit summary
Line 6: Line 6:
|yr=yes
|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).
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 11:29, 8 October 2024

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).