DamageTypes¶
Module containing damage types.
See also
Functions¶
-
static
BWAPI.DamageTypes.allDamageTypes() → set¶ Retrieves a set of all DamageTypes.
Returns: Set of all DamageTypes. Return type: DamageTypeset
Constants¶
All constants are instances of the DamageType class
-
BWAPI.DamageTypes.Independent¶
-
BWAPI.DamageTypes.Explosive¶
-
BWAPI.DamageTypes.Concussive¶
-
BWAPI.DamageTypes.Normal¶
-
BWAPI.DamageTypes.Ignore_Armor¶
-
BWAPI.DamageTypes.None¶
-
BWAPI.DamageTypes.Unknown¶
Enum¶
Enumeration of damage types.
Important
Enum values rarely need to be used in Lua.
-
BWAPI.DamageTypes.Enum.Independent¶ Value of 0.
-
BWAPI.DamageTypes.Enum.Explosive¶ Value of 1.
-
BWAPI.DamageTypes.Enum.Concussive¶ Value of 2.
-
BWAPI.DamageTypes.Enum.Normal¶ Value of 3.
-
BWAPI.DamageTypes.Enum.Ignore_Armor¶ Value of 4.
-
BWAPI.DamageTypes.Enum.None¶ Value of 5.
-
BWAPI.DamageTypes.Enum.Unknown¶ Value of 6.
-
BWAPI.DamageTypes.Enum.MAX¶ Value of 7.