Handle lowering suspicion level in main entity code.
This commit is contained in:
parent
ee16c25a9b
commit
c02c4686f3
|
@ -176,6 +176,11 @@ void doEntities(void)
|
|||
battle.missionTarget = NULL;
|
||||
}
|
||||
|
||||
if (e->killedBy == player && battle.hasSuspicionLevel)
|
||||
{
|
||||
battle.suspicionLevel -= (MAX_SUSPICION_LEVEL * 0.1);
|
||||
}
|
||||
|
||||
if (e == player)
|
||||
{
|
||||
battle.playerSelect = battle.isEpic;
|
||||
|
|
|
@ -569,11 +569,6 @@ static void die(void)
|
|||
incFighterStat(self->defName);
|
||||
}
|
||||
|
||||
if (battle.hasSuspicionLevel)
|
||||
{
|
||||
battle.suspicionLevel -= (MAX_SUSPICION_LEVEL * 0.1);
|
||||
}
|
||||
|
||||
if (battle.isEpic)
|
||||
{
|
||||
battle.stats[STAT_EPIC_KILL_STREAK]++;
|
||||
|
|
Loading…
Reference in New Issue