XCOM 2
[WOTC] Cant Execute These Enemies
MrShadow  [开发者] 2017 年 11 月 28 日 上午 11:36
BUG REPORTS HERE!
Please place bug reports here!
< >
正在显示第 1 - 1 条,共 1 条留言
Mr. Nice 2018 年 2 月 11 日 上午 2:39 
The mod applies the bonus damage to any ability by the unit against the "immune" types, not just abilities which use the weapon with the upgrade. That's becuase you assume that the AbilityState passed to GetAttackingDamageModifier() relates the ability which granted the effect, but it doesn't. It's the AbiltyState for the abilitiy being used right now, so the
AbilityState.GetSourceWeapon().GetReference() == AppliedData.AbilityInputContext.ItemObject
condition is trivially always true. Also, if you would be good enough to set the FriendlyName for the effect so it shows up in the damage breakdown in the shot wings that would be nice ;).
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50