ledpup / StrategyGame

2 stars 0 forks source link

Battle resolution #9

Closed ledpup closed 12 years ago

ledpup commented 12 years ago

Battle occurs when two or more units of different players enter the same tile. Battle occurs simultaneously. The combat strength of units is calculated. Combat strength = Quality * Quantity * Stamina * Morale Total strength of a player's units is the sum of their combat strength. Combat strength becomes the "damage" of the enemy units. This is subtracted from enemy units' quantity.

The player with the highest total combat strength wins the tile. If the defeated unit(s) is not destroyed, it retreats the way it came. If the retreat is blocked by enemy units in the tile, the unit will retreat to either of the two adjacent tiles or is destroyed. The winning units' morale reduces by .1. The losing units' morale reduces by twice that, .2.

ledpup commented 12 years ago

Actually, damage = enemy's combat strength / quality

Also, not doing retreat.