Hello R. Neuke,
There is no way to implement real logic, but it is possible to build a workaround.
What you could do is use a third variable to 'calculate' an unique value using the increment and decrement functions. With this, you can achieve your case states, for example.
If var1=1 triggers a increment var 3 with 100 and decrement var3 with 100 when var1=0 and the same for var2 but with 50 instead of 100, then whenether var1 or var2 changes it will change var3 and set it to an unique value. Then if the actions are triggered using the value of var3 you can build your case statement.
Let me know if it works.
Best regards,
Jurrien