Script to call is "ENEMIES_SURRENDERED %d".
This commit is contained in:
parent
a69f75acc1
commit
e2744cd4d5
|
@ -616,7 +616,7 @@ static int isSurrendering(void)
|
||||||
|
|
||||||
battle.stats[STAT_ENEMIES_SURRENDERED]++;
|
battle.stats[STAT_ENEMIES_SURRENDERED]++;
|
||||||
|
|
||||||
runScriptFunction("ENEMY_SURRENDERED %d", battle.stats[STAT_ENEMIES_SURRENDERED]);
|
runScriptFunction("ENEMIES_SURRENDERED %d", battle.stats[STAT_ENEMIES_SURRENDERED]);
|
||||||
|
|
||||||
addHudMessage(colors.white, _("%s has surrendered"), self->name);
|
addHudMessage(colors.white, _("%s has surrendered"), self->name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue