Force action that targets entire party

I am trying to make a state that causes the user to wait for 3 turns and then use a skill.  For some reason, even when using Yanfly's code from a tips and tricks he did that was very similar, the skill will not actually activate.  The unit does nothing for 3 turns as intended but when it comes time for them to use the skill they just go back to their default position and do nothing.  The code that I'm using looks like this:


<Custom Leave Effect>
var skill = 108;
var target = -1;
BattleManager.queueForceAction(user, skill, target);
</Custom Leave Effect>


The notetags cause the code to execute when the state expires from turn decay.  The skill is a simple one that hits all members of the opposing party for some damage. The skill itself uses no code outside of the editor's base damage formula box.

Original thread: https://forums.rpgmakerweb.com/threads/force-action-that-targets-entire-party.66569/