Go to the first, previous, next, last section, table of contents.

Terrain Accident

Accidents result in the damage or disappearance of a unit in the open in some kinds of terrain.

Method: accidents-in-terrain

For every unit not in a transport, this method computes the chance to be hit or to vanish completely. This method runs once per turn.

Table: accident-hit-chance u t -> .01n%

This table is the chance of the unit being hit while in the given terrain. Defaults to 0.

Table: accident-damage u t -> hp

This table is the hp that will be lost in an accident. Defaults to 0.

Table: accident-vanish-chance u t -> .01n%

This table is the chance of the unit simply vanishing while in the given terrain. Defaults to 0.


Go to the first, previous, next, last section, table of contents.