CellSpread.MaxAffect
Flag: | CellSpread.MaxAffect |
File(s): | rules(md).ini |
Values: | Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295. |
Default: | -1 |
Applicable to: | Warheads |
This flag is part of Ares. Do not use it without Ares installed. |
The number of times an object can be affected at most when hit by a warhead using CellSpread. Set this to 1
to make the same object not be hit not more than once. Defaults to -1
(infinite).
The CellSpread logic iterates all cells in range, and affects all objects on these cells. If an object occupies more than one cell like buildings with a Foundation larger than 1x1
, it could be encountered multiple times and thus would take multiple hits (potentially one for each cell of its foundation).
This tag limits the number of times the same object can be hit by the same cause. If an object is hit more often than allowed, the hits closest to the impact site are used, all others are discarded.
Special Values
A value of -1
(the default value), causes the warhead to damage structures once for each cell in their Foundation, if it is within the warhead's CellSpread.