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

Drain.Amount

From ModEnc
Jump to: navigation, 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: Drain.Amount
File(s): Rules(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: 0
Applicable to: TechnoTypes

Game ares yes.pngThis flag is part of Ares. Do not use it without Ares installed.



The amount of power drained from a power plant of the victim player. Requires Drain.Local=yes on either the draining unit or the drained building. If positive, this is the maximum amount of power drained. If negative, this is the minimum amount of power drained.

The start value is the victim building’s Power, then the draining unit’s Drain.Amount is applied, and finally the drained building’s Drain.Amount.