unitTable: unit table

Description Details

Description

Table of units for an Axis and Allies version

Details

data.table with the following columns:

shortcut

character() short notation for unit, e.g. 'inf' for 'infantry'

name

character() name of unit, e.g. 'infantry

cost

integer() cost of unit

baseAttack

integer() attack value for unit, when no modifiers are applied, NA for units that can not be taken casuality when attacking

baseDefence

integer() defence for unit, when no modifiers are applied, NA for units that can not be taken casualtiy when defending

move

integer() number of moves permissible for unit

type

character() type of unit, modifies which kind of battles they can be involved in (e.g. "Land", "Sea")

virtualUnit

logical() whether precense of units counts towards resolving battle in favour of attacer/defender


edvinf/aaSimulator documentation built on June 1, 2020, 12:10 p.m.