krutotool.blogg.se

Starcraft 2 terran air units
Starcraft 2 terran air units





starcraft 2 terran air units

If ‘include_overkill_damage=True’ and the unit deals 10 damage, the target unit has 5 hp and 0 armor, Returns (0, 0, 0) if this unit can’t attack the target unit. Returns the properly calculated damage per full-attack against the target unit. Return typeįloat calculate_damage_vs_target ( target, ignore_armor = False, include_overkill_damage = True ) ¶ build_gas ( target_vespene_geysir ) Parameters # Target for refinery, assimilator and extractor needs to be the vespene geysir unit, not its position SCV. Orders unit to build another ‘unit’ at ‘position’. Set build ( unit, position = None, queue = False, can_afford_check = False ) ¶ Returns the set of current buffs the unit has. Returns the amount of remaining frames of the visible timer bar. Int property buff_duration_remain : int ¶ # NOTE: Returns 0 for units without a timer bar. Returns the maximum amount of frames of the visible timer bar. Possible armor typs are: ‘Light’, ‘Armored’, ‘Biological’, ‘Mechanical’, ‘Psionic’, ‘Massive’, ‘Structure’. Returns a tuple of form ‘(bonus damage, armor type)’ if unit does ‘bonus damage’ against ‘armor type’. # NOTE: Returns 0 for units without a weapon. Returns the upgrade level of the units attack. Union property attack_upgrade_level : int ¶ Target can be a Unit or Point2.Īttacking a position will make the unit move there and attack everything on its way. Returns the number of workers currently gathering resources at a geyser or mining base. Returns the upgrade level of the units armor. Does not include upgrades Return typeįloat property armor_upgrade_level : int ¶ This age does not reflect the unit was created / trained / morphed! Return type Returns how old the unit object data is (in game frames). This age does not reflect when the unit was created / trained / morphed! Return type Returns how old the unit object data is (in game seconds). The distance from center to center on the y-axis is -0.5. The total distance from center to center on the x-axis is 2.5. The distance from the center to the edge is 1.5.Īn addon is 2x2 and the distance from the edge to center is 1. This property returns the position of where the addon should be, if it should build one or has one attached.Ī barracks is of size 3x3. If this unit is a terran production building (BARRACKS, FACTORY, STARPORT), Why offset (-2.5, 0.5)? See description in ‘add_on_position’ Return type

starcraft 2 terran air units

Where a terran building (BARRACKS, FACTORY, STARPORT) has to land to connect to this addon.

starcraft 2 terran air units

If this unit is an addon (techlab, reactor), returns the position Unit ( proto_data, bot_object, distance_calculation_index = - 1, base_build = - 1 ) ¶ property add_on_land_position : 2 ¶ TODO: Replace this with info about this file class sc2.unit.







Starcraft 2 terran air units