Unit Statistics from Liquipedia – sc2qsr.sc2info.unitstats

sc2qsr.sc2info.unitstats.attack_range(unit_type: int)[source]

Return the attack range of a unit, given its unit type ID

Parameters

unit_type (int) – the unit type ID, according to pysc2.lib.stats

Returns

the unit’s attack range

Return type

float

sc2qsr.sc2info.unitstats.radius(unit_type: int) → float[source]

Return the radius of a unit, given its unit type ID

Parameters

unit_type (int) – the unit type ID, according to pysc2.lib.stats

Returns

the unit’s radius

Return type

float

sc2qsr.sc2info.unitstats.sight(unit_type: int)[source]

Return the sight range of a unit, given its unit type ID

Parameters

unit_type (int) – the unit type ID, according to pysc2.lib.stats

Returns

the unit’s sight range

Return type

float