X2CommunityCore / X2WOTCCommunityHighlander

https://steamcommunity.com/workshop/filedetails/?id=1134256495
MIT License
60 stars 69 forks source link

Damage preview shows rupture damage on all abilities #1394

Open faanlez opened 1 month ago

faanlez commented 1 month ago

Since all abilities without their own DamagePreviewFn fall back to XComGameState_Ability::NormalDamagePreview() it ends up showing rupture damage on abilities that are incapable of dealing damage. This includes Reload and such self targeted abilities on a ruptured unit.