I'm trying to create a "Stun" status effect in my combat system. It currently uses a dynamic initiative system that shifts up the initiative order constantly, and turns are measured in terms of an amount of "action time" that runs while you are taking actions such as attacking or moving or using abilities. I'd like the Stun status effect to to block movement and ability use while on the target and to last for a few seconds. All of that is easy. I was able to adapt the "block" status effect from the tutorials. But I'd like the status effect to also cost action time while it lasts (i.e. it will prevent you from doing anything for 2 seconds during which you loose 2 seconds of action time as though you used an ability whose animation took 2 seconds to execute.) How would you suggest accomplishing this effect?