Menu

#27 Police Bug

open
5
2010-12-24
2010-12-24
us_1309
No

With a PoliceRecordScore of -30, a meeting with the police should result in a PoliceSurrender-Event (Basically the same thing as PoliceAttack, you get Attack, Flee and Surrender as options, but it says "wants to you surrender" instead of "Your opponent attacks")

Bug: If you check "Police-Always ignore when safe:"-Checkbox in the Options, the encounter is skipped.

Original code:

if (EncounterType == EncounterType.PoliceAttack || EncounterType == EncounterType.PoliceInspect || !(Opponent.Cloaked || Options.AlwaysIgnorePolice))
showEncounter = true;
Proposed code:

if (EncounterType == EncounterType.PoliceAttack || EncounterType == EncounterType.PoliceInspect || EncounterType == EncounterType.PoliceSurrender ||
!(Opponent.Cloaked || Options.AlwaysIgnorePolice))
showEncounter = true;

Discussion


Log in to post a comment.

MongoDB Logo MongoDB