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