Project

General

Profile

Feature #1254 ยป 0058-Update-unit_bombs_unit-function-header.patch

Marko Lindqvist, 03/15/2025 01:09 AM

View differences:

server/unittools.c
}
/**********************************************************************//**
This is the basic unit versus unit classic bombardment routine.
1) ALOT of modifiers bonuses etc is added to the 2 units rates.
2) Do rate attacks and don't kill the defender, then return.
This is the basic unit versus unit bombardment routine.
1) A LOT of modifiers, bonuses etc are added to the 2 units' rates.
2) Do rate attacks, never kill defender if action has
non-lethal sub result.
**************************************************************************/
void unit_bombs_unit(struct unit *attacker, struct unit *defender,
int *att_hp, int *def_hp,
    (1-1/1)