MZ Yanfly's Action Sequence (battle core) "if" condition when attack is missed

Hi everyone,

I want to have 2 animations for an attack , one for hitting the enemy, the other is attack missed.

Can you advise me how to make it using "if" condition to check if an attack is hit or miss?

The process flow is attack option is selected -> goes into a check is hit or miss -> attack or miss animation
-> than shows damage or miss popup.

This is for RPG MAKER MZ.

Thank you
Use the conditional branch, on the fourth tab, check the "Create Else Branch" box and you use this to check if it hits, inside the script box:

Code:
!BattleManager._targets[0].result().missed && !BattleManager._targets[0].result().evaded

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-action-sequence-battle-core-if-condition-when-attack-is-missed.129963/