ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
URepairPercent
Jump to navigation
Jump to search
| 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,
- Then the value of URepairPercent and URepairStep will be used.
- Otherwise, the value of RepairPercent and RepairStep will be used.
For the complete formula, see RepairPercent#Notes.