snepp
King
Giving the Cannon combat I (+10%) works as expected based off Apolyton, -50% + 10%, 12/1.4 giving a combat of 18 vs 8.6
About time something worked like I expected it to.
About time something worked like I expected it to.
Arathorn said:Does that pike happen to have Combat I? If so, it makes perfect sense to me, now.
Arathorn
Arathorn said:...Then, the AI has to choose the defender. It then uses the attacker's specialized bonuses. All units in the stack have their strength evaluated, including subtracting if the attacker has a bonus against their unit type. Then, the highest value can be chosen...
Arathorn said:OK, a guess as to why it's happening this way....
Attacker's strength is calculated. It can't be known what type of unit it will attack, so its strength is calculated purely on what is known -- base strength increase, whether it's attacking a city or not, etc. Then, attacker strength is fixed.
Then, the AI has to choose the defender. It then uses the attacker's specialized bonuses. All units in the stack have their strength evaluated, including subtracting if the attacker has a bonus against their unit type. Then, the highest value can be chosen.
With only one unit in the stack, naturally it's chosen, but the defenders' strength has to be adjusted, not the attacker's, because the attacker's strength is fixed at the time of the attack declaration.
It could be done to make each unit determine complete odds, and it doesn't seem like it would be very computationally expensive. But I'm guessing they went the route I outlined above.
Arathorn