long-war-2 / lwotc

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

Using Revival Protocol on a Stabilized Soldier resets Red Fog #542

Open TheReigningKing opened 5 years ago

TheReigningKing commented 5 years ago

When a soldier goes into bleedout, it resets all red fog parameters. So you can stabilize them, and then use revival protocol and they'll be alive without any red fog.

A very minor bug, but I'll post em as I find em.

nightmaRok commented 5 years ago

I test it on lw2 1.5 its work same way, after you revival soldier redfog debuffs dissapear, so this lw2 settings, not LWotc bug.

save8.zip

red_fog_lw2_1 5_01 red_fog_lw2_1 5_02

pledbrook commented 5 years ago

A bug regardless in my book. I suspect Revival Protocol removes all status effects, which sadly includes Red Fog.

TheReigningKing commented 5 years ago

I'm pretty sure going into bleedout removes all status effects as you don't want a soldier to die in bleedout from poison/fire/other DOT effects that caused that soldier to enter bleedout in the first place

pledbrook commented 5 years ago

Could be. Anyway, this will probably be a pain to debug and fix, so it may be a while before it's fixed. The Red Fog code itself is pretty hairy.