long-war-2 / lwotc

Port of Long War 2 to XCOM 2's War of the Chosen expansion
342 stars 89 forks source link

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

Open wdanny69 opened 8 months ago

wdanny69 commented 8 months ago

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

wdanny69 commented 8 months ago

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