long-war-2 / lwotc

Port of Long War 2 to XCOM 2's War of the Chosen expansion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vengeance bonus applying to enemy team when a mind controlled soldier dies

wdanny69 opened this issue · comments

issue: the "Vengeance" GTS bonus that grants bonus stats when an ally dies is providing the bonus to the enemy team if they kill a soldier that was mind controlled within the same turn.

how to reproduce: have an enemy unit mind control an xcom soldier and then immediately kill them with any other unit within the same turn. attached is a save with a sectoid commander with high psi stat and a sectopoid, use x2allowselectall console command to take control of the units to mind control and then kill the min controlled soldier which will grant them the vengeance bonus instead of xcom

correct behavior: the bonus should not be applying at all to the enemy team and xcom should be gaining the bonuses when their allies die

mod list used:
lwotc.txt

save:
save_bug_enemy_vengeance_bonus_1.zip

From further feedback and testing. This can also occur if the MC'ed soldier is in the fog of war beyond line of sight from XCOM and then killed by enemies regardless of which turn they were mind controlled