Run script function when an enemy is disabled.
This commit is contained in:
parent
926d0a23f3
commit
2723e084da
|
@ -231,6 +231,11 @@ void doFighter(void)
|
|||
battle.stats[STAT_ENEMIES_DISABLED]++;
|
||||
|
||||
updateObjective(self->name, TT_DISABLE);
|
||||
|
||||
if (self->side != SIDE_ALLIES)
|
||||
{
|
||||
runScriptFunction("ENEMIES_DISABLED %d", battle.stats[STAT_ENEMIES_DISABLED]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue