ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
PrismSupportModifier
Jump to navigation
Jump to search
Flag: | PrismSupportModifier |
File(s): | rules(md).ini |
Values: | Floating point values: Any decimal number (clearer range should be added in Template:Values). |
Default: | 100.0 (broken, see ↓ below) |
Applicable to: | General |
This flag specifies a multiplier to damage when a building designated as PrismType fires its weapon supported by other buildings of the same type.
Actual damage done by a linked PrismType is calculated like this:
// naming: PSM.ini - the value specified for this flag in the rules.ini file // DamageMultiplier is 1.0 on normal projectiles Projectile->DamageMultiplier = ( ( (NumberOfSupportingPrisms * (PSM.ini * 100) + 100) * 256 ) / 100 ) / 256;