mdesanta777 Posted September 6, 2016 Share Posted September 6, 2016 (edited) Like the title says, I'd like to return to XCOM:EU mechanics when it comes to this. Make Overwatch unaffected by plain damage, but is still affected by abilities or items like flashbang.How do I go about modding this? Any help would be appreciated. Thanks in advance Edited September 6, 2016 by mdesanta777 Link to comment Share on other sites More sharing options...
prowler83 Posted September 6, 2016 Share Posted September 6, 2016 XComGameState_Unit::TakeDamage() removes reserve action points (i.e. overwatch) when damage+mitigated damage (armor) is greater than zero. Not sure how flashbangs remove overwatch since a comment on their template suggests they work by explicitly hitting for zero damage. Link to comment Share on other sites More sharing options...
bountygiver Posted November 20, 2016 Share Posted November 20, 2016 You can make the ability trigger on TakeDamage event post state submit, then make the custom BuildGameState lookup history to recover any reserveactionpoints lost Link to comment Share on other sites More sharing options...
Recommended Posts