Deactivate jumpgate if Pandoran choose to attack the player.
This commit is contained in:
parent
592a020bb3
commit
8f438c4467
|
@ -986,7 +986,7 @@ void checkSuspicionLevel(void)
|
|||
if (battle.numEnemies > 0 && battle.stats[STAT_TIME] % 5 == 0)
|
||||
{
|
||||
battle.suspicionLevel++;
|
||||
battle.suspicionCoolOff = FPS * 5;
|
||||
battle.suspicionCoolOff = FPS * 30;
|
||||
}
|
||||
|
||||
if (battle.suspicionLevel >= MAX_SUSPICION_LEVEL)
|
||||
|
@ -999,6 +999,8 @@ void checkSuspicionLevel(void)
|
|||
|
||||
destroyScript();
|
||||
|
||||
activateJumpgate(0);
|
||||
|
||||
activateTrespasserSpawner();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,6 +42,7 @@ extern Entity *spawnMine(int type);
|
|||
extern void addMessageBox(char *title, char *body, int type);
|
||||
extern void destroyScript(void);
|
||||
extern void activateTrespasserSpawner(void);
|
||||
extern void activateJumpgate(int activate);
|
||||
|
||||
extern Battle battle;
|
||||
extern Colors colors;
|
||||
|
|
Loading…
Reference in New Issue