Attack Sequence Help - Multi Attack not performing

Good evening

I am using yanflys attack sequences to make a backstab attack that hits twice. Everything works except that it A. isnt using the attack animation (dagger slash) and B. is only hitting once instead of twice (repeat is on 2 in the main settings) here is my code.

<setup action>
perform start
jump user: 100%
move user: target, back base, 10
wait for movement
face user: target
wait: 10
</setup action>

<whole action>
</whole action>

<target action>
perform action
attack animation: target
wait for animation
action effect: target
</target action>

<follow action>
</follow action>

<finish action>
perform finish
wait for movement
</finish action>

Any help would be appreciated.
You don't really need to do much with setup/follow/finish action unless you're doing special things, like replacing the walk forward animation.

Also, for best results in multi-hit action sequences, don't use the repeat field. You can cause it to repeat in the action sequence itself to create a much more dynamic-looking multi-hit attack. Try this instead:

Code:
<Target action>
jump user: 100%, 10
move user: target, back base, 10
wait for movement
face user: target
wait: 10
motion attack: user
attack animation: target
wait for animation
action effect: target
motion attack: user
attack animation: target
wait for animation
action effect: target
death break
perform finish
</Target Action>

Note that:
  • There was some incorrect syntax. Actually wait, attack animation is a thing. I guess I've just never used it. 😀
  • It only uses Target Action now. You can safely ignore the other action tags unless you don't want the default behind-the-scenes stuff they do to happen.
  • the whole motion attack/action animation/wait/action effect chain occurs twice. That lets you get 2 hits in, back to back, rather than forcing the skill to execute twice in its entirety.
I think line for animation should read action animation, not attack animation. (If this doesn't work, try removing the : target part of that line.) I would also list the action effect: target line twice, instead of giving the skill 2 repeats - this may solve your bug and it will also make your double-hit a lot smoother and cooler.

All of Aesica's more thorough advice is good, as well.
I think line for animation should read action animation, not attack animation.
I had that correction in my post too, but literally only just now learned that apparently attack animation is a thing, apparently it uses the weapon's base animation.

I've moved this thread to Plugin Support. Thank you.

Thank you for all of the help, i am still very new to the program so i learned some new things from this thread 😀
@etrock08 If you haven't already, check out this thread on action sequences. Some really good ideas that people have posted over the years, and you may find answers to questions you didn't know you had yet.

Original thread: https://forums.rpgmakerweb.com/threads/attack-sequence-help-multi-attack-not-performing.122668/