Skip to content

eHit_Deflect forcibly plays hit effects on units #686

@Iridar

Description

@Iridar

I created a Shield Block ability for a soldier class that uses Ballistic Shield secondary, along with a custom animation, but then realized that using eHit_Deflect in X2Effect_Persistent::ChangeHitResultForTarget to take advantage of that animation results in psionic particle effects being played whenever the soldier deflects an attack.

https://www.youtube.com/watch?v=8NHf_LEeNmc

My custom deflect animation has no particle effects in it, they are added in XComUnitPawn::PlayHitEffects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions