Just an issue with the calculations, I don't really know what's going on there but you can see with test values that medium is never true and if you make it an AND block which it should really be then it's still impossible to get medium because I guess powerlevel/2 is always true and it's either easy or hard. For simplicity you should just use set values enemy power level is between x and y.