land#

Units#

import pandas
pandas.set_option('display.max_columns', 1000)
pandas.set_option('display.max_rows', 1000)
pandas.set_option('display.max_colwidth', 200)

import empire_earth.units.relationships.matrices

epoch = 3
theater = 'Land'
units = empire_earth.units.attackers(epoch).values()
units = [unit for unit in units if unit.theater == theater]

pandas.DataFrame(units).set_index('name').style.set_sticky('rows')
  id type_id family building button_id hitpoints speed range attack attack_mode seconds_per_attack weapon_hit_id armor_shock armor_arrow armor_pierce armor_gun armor_laser armor_missile epoch_start epoch_stop cost_food cost_wood cost_stone cost_iron cost_gold
name                                                  
Spearman 24 5 40 Barracks 5 85 0.600000 0.500000 15 53 2.000000 2 2 0 0 0 0 0 2 3 30 0 0 30 0
Maceman 21 5 13 Barracks 19 150 0.600000 0.500000 13 48 2.000000 0 0 4 0 0 0 0 3 3 30 0 0 30 0
Sampson 262 5 31 Barracks 1 105 0.500000 1.300000 60 19 4.000000 3 0 0 0 0 0 0 2 3 0 65 0 0 65
Horseman 136 5 15 Stable 3 240 0.800000 0.600000 17 49 2.000000 0 0 6 0 0 0 0 3 4 60 0 0 0 60
Simple Bowman 10 5 29 Archery Range 1 95 0.550000 4.000000 9 21 2.000000 1 0 1 3 0 0 0 3 4 0 40 0 0 30
Tower - Copper 461 2 37 Citizen 20 1450 0.000000 4.000000 68 44 4.000000 5 0 0 0 0 0 0 3 3 0 0 175 0 0
Tower - Palisades 786 2 37 Citizen 28 1000 0.000000 5.000000 40 44 4.000000 5 0 0 0 0 0 0 3 9 0 175 0 0 0

Damage Dealt per Hit#

empire_earth.units.relationships.matrices.matrix_damage_dealt_per_hit(units)
  Spearman Maceman Sampson Horseman Simple Bowman Tower - Copper Tower - Palisades
Spearman 15 22 15 31 12 15 15
Maceman 11 19 13 19 19 9 9
Sampson 0 0 0 0 0 60 60
Horseman 15 25 21 25 25 17 17
Simple Bowman 13 5 9 3 8 2 2
Tower - Copper 68 68 8 68 68 68 68
Tower - Palisades 40 40 4 40 40 40 40

Damage Dealt per Second#

empire_earth.units.relationships.matrices.matrix_damage_dealt_per_second(units)
  Spearman Maceman Sampson Horseman Simple Bowman Tower - Copper Tower - Palisades
Spearman 7.50 11.00 7.50 15.50 6.00 7.50 7.50
Maceman 5.50 9.50 6.50 9.50 9.50 4.50 4.50
Sampson 0.00 0.00 0.00 0.00 0.00 15.00 15.00
Horseman 7.50 12.50 10.50 12.50 12.50 8.50 8.50
Simple Bowman 6.50 2.50 4.50 1.50 4.00 1.00 1.00
Tower - Copper 17.00 17.00 2.00 17.00 17.00 17.00 17.00
Tower - Palisades 10.00 10.00 1.00 10.00 10.00 10.00 10.00

Damage Dealt Out of Range#

empire_earth.units.relationships.matrices.matrix_damage_dealt_out_of_range(units)
  Spearman Maceman Sampson Horseman Simple Bowman Tower - Copper Tower - Palisades
Spearman 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Maceman 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Sampson 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Horseman 1.25 2.08 0.00 0.00 0.00 0.00 0.00
Simple Bowman 37.92 14.58 24.30 6.37 0.00 0.00 0.00
Tower - Copper 99.17 99.17 10.80 72.25 0.00 0.00 0.00
Tower - Palisades 75.00 75.00 7.40 55.00 18.18 inf 0.00

Tactical Unit Relationships#

empire_earth.units.relationships.matrices.matrix_tactical(units)
  Spearman Maceman Sampson Horseman Simple Bowman Tower - Copper Tower - Palisades
Spearman 1.00 1.13 inf 0.72 0.46 0.00 0.01
Maceman 0.88 1.00 inf 0.47 5.42 0.01 0.03
Sampson 0.00 0.00 nan 0.00 0.00 0.49 1.46
Horseman 1.39 2.13 inf 1.00 20.49 0.06 0.16
Simple Bowman 2.19 0.18 inf 0.05 1.00 0.00 0.01
Tower - Copper inf 107.76 2.05 17.29 259.47 1.00 0.00
Tower - Palisades 133.33 29.63 0.68 6.36 130.18 inf 1.00

Strategic Unit Relationships#

empire_earth.units.relationships.matrices.matrix_strategic(units)
  Spearman Maceman Sampson Horseman Simple Bowman Tower - Copper Tower - Palisades
Spearman 1.00 1.13 inf 1.44 0.53 0.00 0.02
Maceman 0.88 1.00 inf 0.94 6.32 0.03 0.10
Sampson 0.00 0.00 nan 0.00 0.00 0.66 1.97
Horseman 0.69 1.07 inf 1.00 11.95 0.08 0.23
Simple Bowman 1.87 0.16 inf 0.08 1.00 0.01 0.02
Tower - Copper inf 36.95 1.52 11.85 103.79 1.00 0.00
Tower - Palisades 45.71 10.16 0.51 4.36 52.07 inf 1.00