I made this small plugin for my game but I'm having issues with it. The problem is it seems to be skipping cases where 2 switches are on (note: cases with 1 switch work properly) and only outputting "Balanced" every time even when correct cases are met as seen in the image [11, 14] should output "Pampurred".
As you can see in the function case: [11, 14] does exist but it's still not updating the variable value. Also I know there are some cases not in the list such as [11, 12] but those cases will never appear. Does anyone know where I messed up?
As you can see in the function case: [11, 14] does exist but it's still not updating the variable value. Also I know there are some cases not in the list such as [11, 12] but those cases will never appear. Does anyone know where I messed up?