Interface IAbilityCounter

    • Method Detail

      • getCounterType

        int getCounterType()
        Returns:
        Counter-attack type ordinal (determines how counter damage is calculated).
      • setCounterType

        void setCounterType​(int type)
        Parameters:
        type - Counter-attack type ordinal.
      • getCounterValue

        float getCounterValue()
        Returns:
        Counter-attack value (meaning depends on counter type, e.g. flat damage or multiplier).
      • setCounterValue

        void setCounterValue​(float value)
        Parameters:
        value - Counter-attack value (flat damage or multiplier).
      • getCounterAnimationId

        int getCounterAnimationId()
        Returns:
        Animation ID played when the counter-attack triggers, or -1 for none.
      • setCounterAnimationId

        void setCounterAnimationId​(int animationId)
        Parameters:
        animationId - Animation ID for the counter-attack, or -1 for none.