RNG Damage = 0 to Player, Player uses an animation [PARRY] with jump back. but....

What do you do if you do RNG = 0 Damage to event? how that work o.o? can someone help figure this out.

so my coding is like this for ONE of boss attacks

Screenshot_11.jpg


see dam is possible to land on 0 out of 35 max dam that this event can cause the player for this attack BUT what I want to do is make it do something IF it lands on a 0 something special!

so would i put an IF: RNG = 0 under RNG = 1 and do it there?
...yes?

I'm not sure what you're asking. "After you set it to a random number from 0 to 35, can you do a conditional branch to see if it was 0?" Yes, why not?

What did you try that didn't work?
...yes?

I'm not sure what you're asking. "After you set it to a random number from 0 to 35, can you do a conditional branch to see if it was 0?" Yes, why not?

What did you try that didn't work?
Screenshot_13.jpg


I'm new to ABS this is my own system i'm making no tutorial or nothing going base on what i know : )
would putting the If condition like this be how this would work : )
The same way you already did in that event.
The same way you already did in that event.
AH thank you Turan : ) much appreciated ^^
Edit: nvm, misread.
Edit: nvm, misread.
its alright also hi Trihan : ) this is what i put : )

Screenshot_11.jpg
If you're doing it that way, I would put an "Exit Event Processing" command after the message. Otherwise if you roll 2 damage for example, your next conditional branch will run as well since you're reusing the same variable.
If you're doing it that way, I would put an "Exit Event Processing" command after the message. Otherwise if you roll 2 damage for example, your next conditional branch will run as well since you're reusing the same variable.
thank you so much for checking my coding for me Trihan you been a HUGE help to me ^^ much appreciated ^^ ill release a patch right away ^^

Original thread: https://forums.rpgmakerweb.com/threads/rng-damage-0-to-player-player-uses-an-animation-parry-with-jump-back-but.160692/