Feature #827 ยป 0015-Update-unit_versus_unit-header.patch
| server/unittools.c | ||
|---|---|---|
|
/**********************************************************************//**
|
||
|
This is the basic unit versus unit combat routine.
|
||
|
1) ALOT of modifiers bonuses etc is added to the 2 units rates.
|
||
|
2) the combat loop, which continues until one of the units are dead or
|
||
|
1) A LOT of modifiers, bonuses etc are added to the 2 units' rates.
|
||
|
2) The combat loop, which continues until one of the units are dead or
|
||
|
EFT_COMBAT_ROUNDS rounds have been fought.
|
||
|
3) the aftermath, the loser (and potentially the stack which is below it)
|
||
|
is wiped, and the winner gets a chance of gaining veteran status
|
||
|
3) The aftermath, the loser (and potentially the stack which is below it)
|
||
|
might get wiped, and the winner gets a chance of gaining veteran status
|
||
|
Returns whether either side was completely powerless.
|
||
|
**************************************************************************/
|
||