Jump to content

Recommended Posts

Posted

Hello,

I'm creating an ability that requires the player to have 5 stacks of a buff (the stacks are gained by attacking, and currently work fine). When the player uses the ability the stacks are consumed, but I don't see how I can make an ability remove a status effect.

  • Like 1
Posted

Status Effects and Abilities modding is something I've only started looking into pretty recently, so there might be a better solution I'm not aware of. With that said an Immunity Status Effect that targets a Keyword unique to status effect you'd like to remove is a method.

Look at status effect "Aegis_of_Loyalty_SE_KeywordImmunity" for an example of this.

  • 1 month later...
Posted

You can remove via immunity but you have to make a keyword for it.  I do it this way often because it's very controllable.  Another easier but more limited way is to remove the status via the Trigger section of the status, where it says RemoveEffectAtMax.  You make the trigger count increase from an event (such as OnScoringHitOrCriticalHit) then when it hits the max trigger count the status is removed, but you also have to have IgnoreMaxTriggerCount as false.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...