Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
5 tasks done
Flactine opened this issue Dec 30, 2023 · 1 comment
Open
5 tasks done
Labels
Phobos bug Something isn't working properly

Comments

@Flactine
Copy link

Flactine commented Dec 30, 2023

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).
@Flactine Flactine added the Phobos bug Something isn't working properly label Dec 30, 2023
@FS-21
Copy link
Contributor

FS-21 commented Dec 30, 2023

PR #1169 fixes that with probabilities.
#1169

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Phobos bug Something isn't working properly
Projects
None yet
Development

No branches or pull requests

2 participants