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

Return Fire should change "enemy fire" to "enemy attacks"

wdanny69 opened this issue · comments

issue: return fire states that it triggers when an "enemy fires" but it can trigger on other attacks such as aoe moves or melee attacks

proposal" should change it to enemy attacks to give a better representation that it can trigger on many attack types

the localization was changed for the dark event but does it change the ability?

also realizing the DE states "missed" attacks but i'm not sure if that is how return fire works either? which return fire ability is it using as I do recall we made a new version for the xcom row to work with primary weapons as the original was with the pistol.

Looks to me that we still reuse the gameplay tag for Officer/Priest Return Fire is still the same as in base game, even though the DE is not the same (we have our own that makes it a sitrep).

The DE ability DarkEventAbility_ReturnFire is defined in X2Ability_DarkEvents.uc of the base game. It's building an X2Effect_ReturnFire with bOnlyWhenAttackMisses = true.

Our PrimaryReturnFire is defined in X2Ability_XMBPerkPackAbilitySet. It's building an X2Effect_ReturnFire with bOnlyWhenAttackMisses = false.