Method: Api::UnitTypeDataExtension#mineral_cost_sum

Defined in:
lib/sc2ai/protocol/extensions/unit_type_data.rb

#mineral_cost_sumInteger

Sum of all morphs mineral cost i.e. 550M Orbital command = 400M CC + 150M Upgrade i.e. 350M Hatchery = 50M Drone + 300M Build

Returns:

  • (Integer)

    sum of mineral costs



11
12
13
# File 'lib/sc2ai/protocol/extensions/unit_type_data.rb', line 11

def mineral_cost_sum
  @mineral_cost_sum
end