As title says.
The fantasy: If you've seen attack animations for Super Robot Wars, you'll know that each attack has two variations- one for when the attack hits, and one for when the attack misses. I would like to be able to replicate that. However, base RMMV appears to calculate damage immediately after hit accuracy- there's no in between. For the fantasy to work, I need to determine if the attack would hit or not > play the appropriate animation > apply damage and other on-hit effects if necessary.
The issue: I've theorized an alternative using YEP and Lunatic Mode, and run an IF ELSE statement to calculate accuracy from within the action sequence, and play the appropriate action from there. So far, what I need is: 1) getting the attacker's current HIT and target's EVA or MEV and putting those into variables; 2) using the right variables for the IF ELSE statement (I assume I must use the in-game numerical variables and cannot make ones up like in Lunatic Mode tags); and 3) getting the code for forcing the attack to hit or miss.
For #3, I may be able to get away with applying a state that forces perfect accuracy and 0% dodge for hitting the target, and vice versa. I am wondering if my fantasy has a more efficient execution from my plan, or if it can be done better. Looking forward to the help!
TIA
The fantasy: If you've seen attack animations for Super Robot Wars, you'll know that each attack has two variations- one for when the attack hits, and one for when the attack misses. I would like to be able to replicate that. However, base RMMV appears to calculate damage immediately after hit accuracy- there's no in between. For the fantasy to work, I need to determine if the attack would hit or not > play the appropriate animation > apply damage and other on-hit effects if necessary.
The issue: I've theorized an alternative using YEP and Lunatic Mode, and run an IF ELSE statement to calculate accuracy from within the action sequence, and play the appropriate action from there. So far, what I need is: 1) getting the attacker's current HIT and target's EVA or MEV and putting those into variables; 2) using the right variables for the IF ELSE statement (I assume I must use the in-game numerical variables and cannot make ones up like in Lunatic Mode tags); and 3) getting the code for forcing the attack to hit or miss.
For #3, I may be able to get away with applying a state that forces perfect accuracy and 0% dodge for hitting the target, and vice versa. I am wondering if my fantasy has a more efficient execution from my plan, or if it can be done better. Looking forward to the help!
TIA