Capital ships destroyed / lost triggers.
This commit is contained in:
parent
497977c665
commit
5764e0a4b2
|
@ -94,10 +94,14 @@ void doCapitalShip(void)
|
|||
if (self->side == SIDE_ALLIES)
|
||||
{
|
||||
battle.stats[STAT_CAPITAL_SHIPS_LOST]++;
|
||||
|
||||
runScriptFunction("CAPITAL_SHIPS_LOST %d", battle.stats[STAT_CAPITAL_SHIPS_LOST]);
|
||||
}
|
||||
else
|
||||
{
|
||||
battle.stats[STAT_CAPITAL_SHIPS_DESTROYED]++;
|
||||
|
||||
runScriptFunction("CAPITAL_SHIPS_DESTROYED %d", battle.stats[STAT_CAPITAL_SHIPS_DESTROYED]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue