Power Meter

So, i want a feature for my game that's a bar that appears over a battler and fills up a bit whenever they deal or take damage.
When it fills up, the battler unleashes a special attack.
Here's a small mockup.
mockup.png

EDIT: Instead of the battler releasing the attack immediately, because that would be annoying. I'd rather have a prompt appear over the command window saying something like: "(P) Power Attack!". Enemies would use their power attack on their next turn.
Nice, this is what TP used for = )

Original thread: https://forums.rpgmakerweb.com/threads/power-meter.105863/