XCOM 2
[WOTC] ADVENT Suppression (Includes ABA Support)
Wilko  [udvikler] 27. maj 2020 kl. 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)
Sidst redigeret af Wilko; 18. feb. 2021 kl. 11:51
< >
Viser 1-1 af 1 kommentarer
Wilko  [udvikler] 18. feb. 2021 kl. 11:51 
Updated to put the suppression check first, thanks PreConceptor for spotting the bug.
< >
Viser 1-1 af 1 kommentarer
Per side: 1530 50