Capital ships destroyed / lost triggers.

This commit is contained in:
Steve 2016-03-06 17:14:13 +00:00
parent 497977c665
commit 5764e0a4b2
1 changed files with 4 additions and 0 deletions

View File

@ -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]);
}
}
}