Lucky Item

In the game I'm trying to get this certain item to work. It's called a Lucky? Snack. It is suppose to have a 50% chance of fully healing you and a 50% chance


of instanly KOing you. Problem is, I can't exactly find a way to get it to work. I tried using effects with a Death State 50% and Fully heal but it doesn't ever seem to do the death one


even when I used 100 of them. Same thing with another version called Party Lucky? Snack that effects the whole group. How do I get this to work?
Well... You're probably just resurrecting your actor after the death state is applied.


Swap the order. Recover 100% HP first, then have a 50% chance to add the death state.

Spoiler
lucky_snack.PNG



If that doesn't work (works for me), try a formula instead.


rand < 0.5 ? b.die : b.mhp


Set to HP Recover with a Variance of 0.

Original thread: https://forums.rpgmakerweb.com/threads/lucky-item.64712/