Tried your version, while it's nice, the "you're out of stamina" parts doesn't seem to work.
If I have like 2 stamina left, and I use an attack that costs 4 stamina next turn, instead of telling me "you're out of stamina", it just goes ahead and let's me attack and then afterwards it says "you have -2 stamina".
And it just keeps going like that into further negative stamina.
Fix pls?