Skip to content

eHit_Deflect forcibly plays hit effects on units #686

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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