Help with "Draw a card" Skill

So , i am almost done with playable characters in a game im currently developing , but i cant get this one skill to work. Its a skill for a gambler/rng heavy character and the way i want it to work is for it to take 2 turns , one when you draw and one when you use the card you got. I have made a common event for this with a randomly rolled variable (1-5) and based on what the variable is , the character learns a card skill and "forgets" the "draw card" skill until he uses the card he got. I tested it with only one possible variable/possible card and it worked just fine , however when i add in more than one , it doesnt work unless the variable ends up being 1 , giving only one possible card and doing nothing the  rest of the time. I really have no idea what is happening , because it seems like the common event is failing the roll unless it is for the number 1 , the first one that i input. All options have the same wording , bar skill names/variable result and yet it only works for the first that i input. 

WHYYY.PNG
It looks like you're putting everything into the "If" branch of the first variable - you need to put the other variable checks into the "else" branch of the last variable you checked.
Either put the later conditions into the else-branch or (even better) don't put them into the previous condition at all, place each conditional branch only AFTER the "end" of the previous branch.


As long as you test for equal, you don't need the else-branches - that is only needed if you test for ranges of more than one number.


So if your later conditional branches are shifted to the right, you've placed them wrongly.
Oh ok i didnt know that and now it works . thanks a lot ^^

Original thread: https://forums.rpgmakerweb.com/threads/help-with-draw-a-card-skill.60451/