Issue with conditional branchs

i wanted to ask how do i get a conditional branch to only do a thing if the variable is between 1 and 10 and a other thing when its between 10-15 etc


somehow if i try it i get that it does both things together
you need a nested condition. First check for variable >1, then a check for <10 of the same variable inside the first check.


The same with a check >10 and <15 after that.


It is possible to make such a sequence without nested conditions (and without else), but then you need to be carefull with the order of the conditions - not adviced if you're still struggling with them.
this is how i think it should work


but i did try it like this before

Naamloos.png
You've used a different variable in one of the tests.  try this:

Code:
Conditional Branch: Variable [0002: Randomizer low level loot] > 1
  Conditional Branch: Variable [0002: Randomizer low level loot] < 10
    Change Items: [Small Potion] + 1
  Else
    Conditional Branch: Variable [0002: Randomizer low level loot] < 15
      Give other stuff here
    Branch End
  Branch End
Branch End

You've also got another logic error in your conditions.  Assuming you're meant to use variable 2 the whole time and you just selected incorrectly for that < 9 ... what happens in your code if the variable is 10?  It meets the > 1 test but not the < 9 test.  It also doesn't meet the > 10 test because it's exactly 10.  So if you want 1-9 to give you one thing, then you need to test for <= 9, or < 10, to make sure there's an option that gets run if the variable is 10.
how i got it now


but somehow no matter the variable i only get the small potions


(oke i found the problem after some carefull looking over and over)


Naamloos.png
Did you see that you're still using the wrong variable on the second line?


I don't know what format your images are in, but they're taking forever to open on my machine.  When you need help with an event, use the Alt + PrintScreen combination, which captures JUST the active window (the event).  We don't need to see the entire desktop, and it'll give a much smaller file (esp if you save as png or jpg - never bmp) that we'll be able to see without opening separately or zooming in.

Original thread: https://forums.rpgmakerweb.com/threads/issue-with-conditional-branchs.64300/