ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
MaxDamage
Jump to navigation
Jump to search
| Flag: | MaxDamage |
| File(s): | rules(md).ini |
| Values: | Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767. |
| Default: | 1000 |
| Applicable to: | CombatDamage |
This is used to set the maximum value of a single instance of damage caused by conventional methods.
Notes
If the original value exceeds the value specified here, it will be capped to this value.
- Even if a negative value is used here.
This only changes the damage value that ultimately applies to other objects, so it does not affect functions that read the Damage value but do not check the actual effect.
- For example, MaxDamage=0 will not prevent the playback of the animation specified in the warhead's AnimList= like directly setting Damage=0 would, nor will it affect the selection rules in this list.
Bugs/Side-Effects/Unexpected Limitations
This is settled before [BuildingType]→CanC4=no, so buildings with this setting will still lose hit points.