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

URepairPercent

From ModEnc
Jump to navigation Jump to search
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: URepairPercent
File(s): rules(md).ini
Values: Percentages: Either a direct percentage (e.g. "50%"), or a floating point value (e.g. "0.5").
Default: 25%
Applicable to: General


In Red Alert, when calculating the repair cost, it first determines the type of the object being repaired.

If it belongs to any of INFANTRYTYPE, UNITTYPE, VESSELTYPE, or AIRCRAFTTYPE,

For the complete formula, see RepairPercent#Notes.