Phobos-developers/Phobos

Interaction Issue about Ares Saboteur Logic

Cpj636 opened this issue · 0 comments

Description

There seems to be an interaction issue related to the Saboteur logic introduced by Ares. Without Phobos B39, an infantry with both "Saboteur=yes" and "Infiltrate=yes" can sabotage any buildings with "ImmuneToSaboteurs=no". However, together with Phobos B39, such logic cannot work properly for Spyable=no buildings.

Phobos Version

B39

Conditions to reproduce

Ares 3.0 + B39.

INI code

[InfantryType]
Saboteur=yes
Infiltrate=yes

[BuildingType]
Spyable=no
ImmuneToSaboteurs=no

Steps to reproduce

1.Build a Saboteur=yes infantry
2.Give command to sabotage a building

Expected behaviour

The saboteur should infiltrate the building and sabotage it.

Actual behaviour

The mouse cursor will change to "Sabotage", but the infantry stays in place.

Additional context

No response

Checklist

  • The issue happens on the latest official version of Phobos and wasn't fixed yet.
  • I agree to elaborate the details if requested and provide thorough testing if the bugfix is implemented.
  • I added a very descriptive title to this issue.
  • I used the GitHub search and read the issue list to find a similar issue and didn't find it.
  • I have attached as much information as possible (screenshots, gifs, videos, debug and exception logs, etc).