#Combat Tables

#-----------------------------------------------------------------------------------------------
#Index Tables

#Each row is for the era of the attacker.
#Each column is for the era of the defender.
#Cross-reference to find which column of the CRT to use.

assault_defender = {
	A B B B B B B
	A A A A A B B
	A A A A A A B
	A A A A A A A
	A A A A A A A
	A A A A A A A
	A A A A A A A
}

assault_fire = {
	C C D E E E E
	B C D E E E E
	B B C D D E E
	B B B D D D E
	B B B C C D E
	B B B C C D D
	A A B B C C D
}

assault_shock = {
	B B C C D D D
	B B C C C D D
	A B B C C C D
	A B B C C C D
	A B B C C C C
	A B B B C C C
	A A B B B C C
}

land_fire = {
	E E E E E E E
	C C C D E E E
	B B C D E E E
	A B B C D E E
	A B B B B D D
	A A A B B C C
	A A A A A B B
}

land_shock = {
	A B B C C D E
	A A B C D E E
	A A B C D E E
	A A B B D E E
	A A A B B C D
	A A A A B C C
	A A A A A B B
}

naval_fire = {
	E E E E E E E
	B C D E E E E
	A A B B C D E
	A A B B C D E
	A A A B B C D
	A A A B B C C
	A A A A A B C
}

naval_shock = {
	A B B C C D E
	A A B C D E E
	A A B C D E E
	A A B B D E E
	A A A B B C D
	A A A A B C C
	A A A A A B B
}

#-----------------------------------------------------------------------------------------------
#CRT Table

#Each row is for the die roll, which is 0-9 but with leader and terrain modifiers may be as high as 15.
#Each column has two numbers: the first is taken as a percentage and multiplied by the unit's total
#fire or shock power to get the opponent's total losses in the current phase. The second is for morale loss.
#Both are amortized over the number of days in the phase.

CRT = {
	#A        B        C        D        E
	 0 0.10   0 0.10   0 0.10   0 0.01   0 0.01
	 1 0.10   1 0.10   1 0.10   1 0.05   1 0.05
	 2 0.25   2 0.25   2 0.25   2 0.10   1 0.10
	 5 0.25   2 0.25   2 0.25   2 0.25   2 0.15
	 5 0.50   5 0.50   5 0.50   5 0.25   2 0.25
	10 0.50  10 0.50   5 0.50   5 0.50   5 0.25
	15 1.00  10 1.00   5 1.00   5 0.50   5 0.50
	20 1.00  15 1.00  10 1.00  10 1.00  10 0.50
	25 2.00  20 1.00  15 1.00  15 1.00  10 1.00
	30 2.00  25 2.00  20 2.00  20 1.00  15 1.00
	35 2.00  30 2.00  20 2.00  20 2.00  20 1.00
	40 2.00  35 2.00  30 2.00  25 2.00  20 2.00
	45 3.00  40 3.00  35 3.00  30 3.00  30 2.00
	50 3.00  45 3.00  40 3.00  35 3.00  30 3.00
	60 3.00  50 3.00  45 3.00  40 3.00  35 3.00
	60 4.00  55 3.00  50 3.00  45 3.00  40 3.00
}

#-----------------------------------------------------------------------------------------------
