Ok, so I posted this question in blueprints thinking I was doing something wrong but turns out it might actually be a bug.
So in the picture Mana = 1 and Healmana = 0.1.
The problem was that mana would not go below 0.1
I changed the values to mana = 100 and healmana = 10 and it works perfectly then to get the progress bar to work I divided mana by 100 on the progress bar function.
But the bug I guess is < is not working with the first values?
IF I have done something wrong I would like to know because I spent hours figuring it out lol.
Many thanks