ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Drain.Amount
Jump to navigation
Jump to search
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
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 |
|
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.