forked from MeridianOXC/OpenXcom
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed an issue that caused the AI to incorrectly determine their range with UFOExtender:Accuracy due to using the TU-cost-percentage-value as an absolute TU-value in the calculations. Some units would think they had no range at all and others would only consider their snap-shot instead of their aimed-shot. Instead of hiding as long as they can't get into good attack-range, enemy units now only hide if none of their teammates can get into good attack-range. As soon as one of their teammates wants to attack, they all will come out and try to get into attacking-position.
- Loading branch information
Showing
2 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters