XCOM 2
[WOTC] ADVENT Suppression (Includes ABA Support)
Wilko  [开发者] 2020 年 5 月 27 日 上午 10:51
Bug: Advent suppressing whilst suppressed?
You can try adding a check in the mod's XComAI.ini file. Make sure these go below the rest of the code in the file.

; -- Make sure the soldier is not being supressed -- add these two lines +Behaviors=(BehaviorName=AdventIsNotSuppressed, NodeType=Inverter, Child[0]=AffectedByEffect-Suppression) +Behaviors=(BehaviorName=AffectedByEffect-Suppression, NodeType=Condition)

Then we need to update the main AI behavior line:

+Behaviors=(BehaviorName=AdventConsiderSuppression, NodeType=Sequence, Child[0]=NoSuppressingAllies, Child[1]=AnyAlliesVisible, Child[2]=AllShotPercentagesBelow50, Child[3]=RandFilter50Suppression)

To add our new check at the start:

+Behaviors=(BehaviorName=AdventConsiderSuppression, NodeType=Sequence, Child[0]=AdventIsNotSuppressed, Child[1]=NoSuppressingAllies, Child[2]=AnyAlliesVisible, Child[3]=AllShotPercentagesBelow50, Child[4]=RandFilter50Suppression)

Make sure the ordering of the lines is correct (0 - 4)
最后由 Wilko 编辑于; 2021 年 2 月 18 日 上午 11:51
< >
正在显示第 1 - 1 条,共 1 条留言
Wilko  [开发者] 2021 年 2 月 18 日 上午 11:51 
Updated to put the suppression check first, thanks PreConceptor for spotting the bug.
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50