Basically you need an Ability, 2 Effects and 2 Behaviors.
Create an Ability (instant cast), which uses an apply behavior effect. This one applies a behavior of type buff to the caster with 10 seconds duration. Add the bonus movement speed in the buff modification+ -> movement tab. Also give the buff an expire effect, again of type apply behavior, which then (obviously) applies another behavior with duration of 5. For the stun, go into the buff modification+ -> behavior -> scroll down to modify flags and enable the "disable abilities" flag.
So, I want an ability that increase the unit's movement speed but after 10 seconds it becomes stunned for 5 seconds. How would I accomplish this?
Basically you need an Ability, 2 Effects and 2 Behaviors.
Create an Ability (instant cast), which uses an apply behavior effect. This one applies a behavior of type buff to the caster with 10 seconds duration. Add the bonus movement speed in the buff modification+ -> movement tab. Also give the buff an expire effect, again of type apply behavior, which then (obviously) applies another behavior with duration of 5. For the stun, go into the buff modification+ -> behavior -> scroll down to modify flags and enable the "disable abilities" flag.
Thank you, I'll try it out.