Jump to content

OccupyDamageMultiplier

From ModEnc²
Revision as of 02:56, 14 December 2009 by en>Vinifera7 (Revised.)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: OccupyDamageMultiplier
File(s): rules(md).ini
Values: Floating point values: Any decimal number (clearer range should be added in Template:Values).
Default: 1.0
Applicable to: [CombatDamage]


This flag acts as a multiplier to the Damage of any weapon fired by an infantry with Occupier=yes while occupying a building with CanOccupyFire=yes, CanBeOccupied=yes and MaxNumberOccupants set to a positive integer greater than 0.

Base damage—before the target's Armor is considered—is the weapon's Damage multiplied by OccupyDamageMultiplier and any other damage multipliers.

The weapon fired by an infantry while occupying a building is determined by OccupyWeapon, or EliteOccupyWeapon if the infantry's veterancy status is "elite".

See also