Skip to content

AI Script 10000-10001,10005-10006,10010-10011,10014-10015 may attack disguised infantry/units #1189

Description

@Flactine

Description

If a task force carries out the above instructions (like 10000,1), they will attack disguised infantry (spy) and disgusied vehicle (mirage tank), even this task force has no member with "DetectDisguise=yes".

Phobos Version

Build 38

Conditions to reproduce

Ares 3.0

INI code

[SomeScript]
0=10000,1

Steps to reproduce

  1. Train some spies, make them disguised into enemy infantry
  2. Wait for AI train task forces carries out AIScript with 10000-10001,...
  3. These taks forces will actively attack these spies, even this task force has no member have "DetectDisguise=yes".

Expected behaviour

They shouldn't attack disguised units.

Actual behaviour

They attack disguised units. This makes it very difficult to infiltrate AI buildings.

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ❓Phobos bugSomething isn't working properly

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions