Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

UNDER CONSTRUCTION

Excerpt

A read-only list of the default game stats (prior to any modifiers or upgrades) for droid components, buildings, etc...

 

Syntax

Code Block
themeRDark
languagejavascript
linenumberstrue
// normal syntax (component/building stats)
var val = Stats.<section>[<player>].<Section>[...<name>].<property>
 
// syntax specific to WeaponClass
var wepClasses = Stats.WeaponClasses; // array

Properties

The stats are grouped by player, then section.

PropertyTypeDescriptionGame Ver
<player>Number

The numeric ID of a specific player who's stats you want to inspect.

3.2
<Section>String<section>Property name

The section of the stats object to inspect

(see below).
3.2

Sections

Each section, except WeaponClass (see later), contains a name-referenced list of objects defining properties for the associated component or building.

Code BlockthemeRDarklanguagejavascripttitleExample

:

Determine base engine power for Tiger body

linenumberstruevar tigerPower = Stats[me].
  • Body
['Tiger'].Power;

The stats object is split in to the following sections:

PropertyTypeDescriptionGame Ver
BodyNamed list of Body statsA list of body stats referenced by component name.3.2
SensorNamed list of Sensor statsA list of sensor stats referenced by component name.
  • Sensor
  • ECM
  • Repair
  • Construct
  • Weapon
  • Building
Status
colourYellow
title3.2+
ECMNamed list of ECM statsA list of ECM stats referenced by component name.3.2
RepairNamed list of Repair statsA list of Repair stats referenced by component name.3.2
ConstructNamed list of Construct statsA list of Construct stats referenced by component name.<name>StringThe name of the component or building.
Status
colourYellow
title3.2+
WeaponNamed list of Weapon statsA list of Weapon stats referenced by component name.3.2
WeaponClassArray of Weapon classesAn array containing a list of Weapon class names.3.2
BuildingNamed list of Building statsA list of Building stats referenced by structure name.3.2

The properties of each section are described below.

Body Stats

Defines base stats of droid body components, referenced by component name.

<property>Property nameThe property to inspect. Property names are specific to the <section> (see lists below).
Status
colourYellow
title3.2+

Body

Code Block
themeRDark
languagejavascript
titleSyntax for Body stats
linenumberstrue
// syntax
var bodyStat = Stats.Body[me]<name>].<property>;
 
// example: Tiger engine power
var tigerPower = Stats.Body[<body>"Tiger"].<stat>Power;

The following properties are defined for each body component:

PropertyTypeDescriptionGame Ver
<body><name>String

The name of the body component to inspect.

Example: "Tiger"

Status
colourYellow
title3.2+
 <property>   
+ Id
+ Weight
+ BuildPower
+ BuildTime
+ HitPoints
+ Power
+ Armour
+ Thermal (heat armour)
+ Resistance
Property name

The property to inspect:

  • Id – component ID (String)
  • Weight – weight of the body (Number)
  • BuildPower – power cost to build the body (Number)
  • BuildTime – time taken to build the body (Number)
  • HitPoints – strength of the body (Number)
  • Power – engine power of the body (Number)
  • Armour – amount of kinetic armour (Number)
  • Thermal – amount of thermal armour (Number)
  • Resistance – resistance to electrical weapons (Number)
Status
colourYellow
title3.2+

 

Sensor
+ Id
+ Weight
+ BuildPower
+ BuildTime
+ HitPoints
+ Range

ECM
+ Id
+ Weight
+ BuildPower
+ BuildTime
+ HitPoints
+ Range

Repair
+ Id
+ Weight
+ BuildPower
+ BuildTime
+ HitPoints
+ RepairPoints

Construct
+ Id
+ Weight
+ BuildPower
+ BuildTime
+ HitPoints
+ ConstructorPoints

Weapon
+ Id
+ Weight
+ BuildPower
+ BuildTime
+ HitPoints
+ MaxRange
+ MinRange
+ HitChance
+ FirePause
+ ReloadTime
+ Rounds
+ Radius
+ Damage
+ RadiusDamage
+ RepeatDamage
+ RepeatTime
+ RepeatRadius
+ ImpactType (weapon sub class)
+ RepeatType (periodical effect weapon sub class)
+ ImpactClass (one of "KINETIC" or "HEAT")
+ RepeatClass (one of "KINETIC" or "HEAT")
+ FireOnMove

WeaponClass
+ (... list of weapon classes ...)

Building
+ Id
+ Type (one of "Wall", "Structure" or "Demolish")
+ ResearchPoints
+ RepairPoints
+ PowerPoints
+ ProductionPoints
+ RearmPoints
+ Armour
+ Resistance
+ Thermal
+ HitPoints

Div
classsuggest box

All numeric values are the actual integer values that are used in the game (not percentages), unless specified otherwise.

Div
classbox
Availability
Status
colourYellow
title3.2+

Requires:

  • Warzone 3.2 or above