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

UnitsGainSelfHeal: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Testid123 (talk | contribs)
mNo edit summary
Testid123 (talk | contribs)
mNo edit summary
 
Line 13: Line 13:
==Notes==
==Notes==
*The effects of this flag stack for every additional building a player has with this flag set. This means that for example, even in vanilla Yuri's Revenge, it is beneficial to capture several Tech Machine Shops, as the vehicle healing effect becomes greater with each additional Machine Shop.
*The effects of this flag stack for every additional building a player has with this flag set. This means that for example, even in vanilla Yuri's Revenge, it is beneficial to capture several Tech Machine Shops, as the vehicle healing effect becomes greater with each additional Machine Shop.
*Any negative value, such as <b>-1</b>, will disable the tag. <b>UnitsGainSelfHeal</b> 1 time<br>This means that if you have 10 Tech Machine Shop, you will receive the effect. <b>UnitsGainSelfHeal</b> only 9 times.
*Any negative value, such as <b>-1</b>, will disable the tag. <b>UnitsGainSelfHeal</b> 1 time<br>This means that if you have 10 Tech Machine Shop, you will receive the effect. <b>UnitsGainSelfHeal</b> from Tech Machine Shop 9 of only.


==See also==
==See also==

Latest revision as of 03:29, 29 September 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: UnitsGainSelfHeal
File(s): rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Special Values: -1 to -2147483648
Default: 0
Applicable to: BuildingTypes


If set to a value greater than zero, the BuildingType periodically heals all of the owner's UnitTypes on the map after each SelfHealUnitFrames by SelfHealUnitAmount multiplied by this flag's value. Additionally, all of the player's UnitTypes receive a wrench pip next to their health bar which blinks every time the UnitType is healed by this logic. The effect is constant for as long as the BuildingType is intact and owned by the player.
If set to zero, it completely disables the flag (the health bar pip doesn't even appear) as opposed to simply not healing.

Notes

  • The effects of this flag stack for every additional building a player has with this flag set. This means that for example, even in vanilla Yuri's Revenge, it is beneficial to capture several Tech Machine Shops, as the vehicle healing effect becomes greater with each additional Machine Shop.
  • Any negative value, such as -1, will disable the tag. UnitsGainSelfHeal 1 time
    This means that if you have 10 Tech Machine Shop, you will receive the effect. UnitsGainSelfHeal from Tech Machine Shop 9 of only.

See also