Interesting idea, I would have added a limit on your attacking ability, so far there is no point in not spamming attack. Something like what I did with move limit in my game.
Yikes, you're right. I'll have to keep that in mind in the future. Thanks!