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 = 9
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                                                  
Halberdier 368 5 40 Barracks 5 350 0.600000 0.500000 40 17 2.000000 2 4 0 0 0 0 0 8 9 30 0 0 30 0
Grenadier 30 5 12 Barracks 1 390 0.600000 6.000000 44 14 3.000000 3 0 0 10 0 0 0 9 9 40 0 0 40 0
Partisan 679 5 23 Barracks 20 325 0.600000 6.000000 20 50 3.000000 3 0 0 10 0 0 0 9 10 40 0 0 40 0
Hand Cannoneer 676 5 23 Barracks 6 350 0.600000 8.000000 65 56 8.000000 3 0 0 0 0 0 0 8 9 50 0 0 0 40
Elite Guard 512 5 52 Barracks 4 350 0.600000 5.000000 35 25 1.500000 3 0 0 0 10 0 0 8 9 85 0 0 80 0
Sharpshooter 673 5 23 Barracks 18 315 0.450000 8.000000 50 39 12.000000 3 0 0 0 0 0 0 8 9 150 0 0 0 150
Imperial Cuirassier 312 5 15 Stable 3 655 0.800000 0.600000 60 49 2.000000 0 0 9 0 31 0 0 9 9 60 0 0 0 60
Dragoon 2 5 19 Stable 7 480 0.800000 5.000000 65 16 3.000000 3 25 0 0 0 0 0 9 9 70 0 0 0 65
Serpentine 107 5 31 Siege Factory 7 405 0.500000 9.000000 205 6 8.000000 3 0 0 0 13 0 10 9 9 0 170 0 170 0
Bronze Cannon 142 5 11 Siege Factory 5 280 0.500000 8.000000 90 10 10.000000 3 0 10 0 43 0 0 9 9 0 200 0 175 0
Bombard 187 5 53 Siege Factory 2 175 0.500000 10.000000 140 6 12.000000 3 0 0 0 20 0 8 8 9 0 200 0 200 0
Tower - Imperial 464 2 37 Citizen 20 4625 0.000000 6.000000 180 44 4.000000 5 0 0 0 0 0 0 8 9 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)
  Halberdier Grenadier Partisan Hand Cannoneer Elite Guard Sharpshooter Imperial Cuirassier Dragoon Serpentine Bronze Cannon Bombard Tower - Imperial Tower - Palisades
Halberdier 40 30 30 40 40 40 132 70 40 40 40 40 40
Grenadier 74 39 44 44 25 44 13 66 31 3 24 33 33
Partisan 20 20 20 20 10 20 1 20 7 1 1 20 20
Hand Cannoneer 65 65 65 65 55 65 34 65 52 44 45 65 65
Elite Guard 61 61 61 61 51 61 4 24 22 1 15 17 17
Sharpshooter 600 600 600 600 590 600 19 50 37 1 30 50 50
Imperial Cuirassier 56 90 120 120 120 120 90 35 75 75 75 60 60
Dragoon 97 42 65 65 55 65 131 65 52 22 45 65 65
Serpentine 205 205 205 205 195 205 174 205 192 233 185 615 615
Bronze Cannon 90 90 90 90 80 90 14 90 49 47 70 90 90
Bombard 140 140 140 140 130 140 109 140 127 146 120 420 420
Tower - Imperial 180 108 108 108 108 108 180 180 11 45 13 180 180
Tower - Palisades 40 24 24 24 24 24 40 40 1 10 1 40 40

Damage Dealt per Second#

empire_earth.units.relationships.matrices.matrix_damage_dealt_per_second(units)
  Halberdier Grenadier Partisan Hand Cannoneer Elite Guard Sharpshooter Imperial Cuirassier Dragoon Serpentine Bronze Cannon Bombard Tower - Imperial Tower - Palisades
Halberdier 20.00 15.00 15.00 20.00 20.00 20.00 66.00 35.00 20.00 20.00 20.00 20.00 20.00
Grenadier 24.67 13.00 14.67 14.67 8.33 14.67 4.33 22.00 10.33 1.00 8.00 11.00 11.00
Partisan 6.67 6.67 6.67 6.67 3.33 6.67 0.33 6.67 2.33 0.33 0.33 6.67 6.67
Hand Cannoneer 8.12 8.12 8.12 8.12 6.88 8.12 4.25 8.12 6.50 5.50 5.62 8.12 8.12
Elite Guard 40.67 40.67 40.67 40.67 34.00 40.67 2.67 16.00 14.67 0.67 10.00 11.33 11.33
Sharpshooter 50.00 50.00 50.00 50.00 49.17 50.00 1.58 4.17 3.08 0.08 2.50 4.17 4.17
Imperial Cuirassier 28.00 45.00 60.00 60.00 60.00 60.00 45.00 17.50 37.50 37.50 37.50 30.00 30.00
Dragoon 32.33 14.00 21.67 21.67 18.33 21.67 43.67 21.67 17.33 7.33 15.00 21.67 21.67
Serpentine 25.62 25.62 25.62 25.62 24.38 25.62 21.75 25.62 24.00 29.12 23.12 76.88 76.88
Bronze Cannon 9.00 9.00 9.00 9.00 8.00 9.00 1.40 9.00 4.90 4.70 7.00 9.00 9.00
Bombard 11.67 11.67 11.67 11.67 10.83 11.67 9.08 11.67 10.58 12.17 10.00 35.00 35.00
Tower - Imperial 45.00 27.00 27.00 27.00 27.00 27.00 45.00 45.00 2.75 11.25 3.25 45.00 45.00
Tower - Palisades 10.00 6.00 6.00 6.00 6.00 6.00 10.00 10.00 0.25 2.50 0.25 10.00 10.00

Damage Dealt Out of Range#

empire_earth.units.relationships.matrices.matrix_damage_dealt_out_of_range(units)
  Halberdier Grenadier Partisan Hand Cannoneer Elite Guard Sharpshooter Imperial Cuirassier Dragoon Serpentine Bronze Cannon Bombard Tower - Imperial Tower - Palisades
Halberdier 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Grenadier 226.11 0.00 0.00 0.00 13.89 0.00 29.25 27.50 0.00 0.00 0.00 0.00 inf
Partisan 61.11 0.00 0.00 0.00 5.56 0.00 2.25 8.33 0.00 0.00 0.00 0.00 inf
Hand Cannoneer 101.56 27.08 27.08 0.00 34.37 0.00 39.31 30.47 0.00 0.00 0.00 inf inf
Elite Guard 305.00 0.00 0.00 0.00 0.00 0.00 14.67 0.00 0.00 0.00 0.00 0.00 0.00
Sharpshooter 625.00 166.67 166.67 0.00 245.83 0.00 14.65 15.62 0.00 0.00 0.00 inf inf
Imperial Cuirassier 4.67 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Dragoon 242.50 0.00 0.00 0.00 0.00 0.00 240.17 0.00 0.00 0.00 0.00 0.00 0.00
Serpentine 363.02 128.12 128.12 42.71 162.50 56.94 228.37 128.12 0.00 58.25 0.00 inf inf
Bronze Cannon 112.50 30.00 30.00 0.00 40.00 0.00 12.95 33.75 0.00 0.00 0.00 inf inf
Bombard 184.72 77.78 77.78 38.89 90.28 51.85 106.73 72.92 21.17 48.67 0.00 inf inf
Tower - Imperial 412.50 0.00 0.00 0.00 45.00 0.00 303.75 56.25 0.00 0.00 0.00 0.00 inf
Tower - Palisades 75.00 0.00 0.00 0.00 0.00 0.00 55.00 0.00 0.00 0.00 0.00 0.00 0.00

Tactical Unit Relationships#

empire_earth.units.relationships.matrices.matrix_tactical(units)
  Halberdier Grenadier Partisan Hand Cannoneer Elite Guard Sharpshooter Imperial Cuirassier Dragoon Serpentine Bronze Cannon Bombard Tower - Imperial Tower - Palisades
Halberdier 1.00 0.19 2.00 1.75 0.06 0.00 1.24 0.24 0.00 1.88 1.62 0.00 0.55
Grenadier 5.18 1.00 2.64 1.87 0.24 0.21 0.06 1.35 0.26 0.14 1.22 0.03 inf
Partisan 0.50 0.38 1.00 0.70 0.08 0.07 0.00 0.21 0.04 0.04 0.04 0.02 inf
Hand Cannoneer 0.57 0.53 1.43 1.00 0.19 0.18 0.04 0.29 0.19 0.76 0.86 inf inf
Elite Guard 15.81 4.21 12.93 5.33 1.00 0.27 0.02 0.64 0.28 0.09 1.37 0.03 0.66
Sharpshooter inf 4.81 14.92 5.54 3.66 1.00 0.01 0.13 0.08 0.01 0.32 inf inf
Imperial Cuirassier 0.80 16.66 361.52 24.83 41.16 77.04 1.00 0.35 1.82 61.42 12.93 0.05 1.80
Dragoon 4.12 0.74 4.72 3.43 1.57 7.67 2.89 1.00 0.59 1.30 2.99 0.04 1.04
Serpentine inf 3.84 22.59 5.20 3.59 13.04 0.55 1.70 1.00 10.86 4.79 inf inf
Bronze Cannon 0.53 7.00 25.63 1.31 10.84 96.00 0.02 0.77 0.09 1.00 0.76 inf inf
Bombard 0.62 0.82 24.78 1.17 0.73 3.10 0.08 0.33 0.21 1.31 1.00 inf inf
Tower - Imperial inf 29.11 57.63 0.00 36.13 0.00 19.75 22.67 0.00 0.00 0.00 1.00 inf
Tower - Palisades 1.82 0.00 0.00 0.00 1.51 0.00 0.56 0.96 0.00 0.00 0.00 0.00 1.00

Strategic Unit Relationships#

empire_earth.units.relationships.matrices.matrix_strategic(units)
  Halberdier Grenadier Partisan Hand Cannoneer Elite Guard Sharpshooter Imperial Cuirassier Dragoon Serpentine Bronze Cannon Bombard Tower - Imperial Tower - Palisades
Halberdier 1.00 0.26 2.67 2.62 0.17 0.00 2.49 0.55 0.00 11.78 10.79 0.00 1.60
Grenadier 3.88 1.00 2.64 2.11 0.49 0.78 0.09 2.29 1.11 0.67 6.12 0.08 inf
Partisan 0.37 0.38 1.00 0.79 0.16 0.25 0.00 0.36 0.19 0.18 0.20 0.04 inf
Hand Cannoneer 0.38 0.47 1.27 1.00 0.34 0.60 0.05 0.44 0.73 3.18 3.81 inf inf
Elite Guard 5.75 2.04 6.27 2.91 1.00 0.50 0.02 0.52 0.57 0.21 3.32 0.03 0.70
Sharpshooter inf 1.28 3.98 1.66 2.01 1.00 0.01 0.06 0.09 0.01 0.43 inf inf
Imperial Cuirassier 0.40 11.11 241.02 18.63 56.60 192.59 1.00 0.39 5.15 191.94 43.11 0.07 2.63
Dragoon 1.83 0.44 2.80 2.28 1.92 17.04 2.57 1.00 1.48 3.61 8.86 0.06 1.35
Serpentine inf 0.90 5.32 1.38 1.74 11.51 0.19 0.68 1.00 11.97 5.64 inf inf
Bronze Cannon 0.08 1.49 5.47 0.31 4.77 76.80 0.01 0.28 0.08 1.00 0.81 inf inf
Bombard 0.09 0.16 4.96 0.26 0.30 2.33 0.02 0.11 0.18 1.23 1.00 inf inf
Tower - Imperial inf 13.31 26.35 0.00 34.06 0.00 13.54 17.49 0.00 0.00 0.00 1.00 inf
Tower - Palisades 0.62 0.00 0.00 0.00 1.43 0.00 0.38 0.74 0.00 0.00 0.00 0.00 1.00