Comments

Log in with itch.io to leave a comment.

Hi! Thank you for your work. I was looking for a simple plugin without all the bloated modifications to the battle system, and your plugin was a godsend.

However, there's one problem with it. The gauge isn't updated when the enemy heals itself or other enemies.

(1 edit)

Yep you're absolutely right now that I test it. I just uploaded a patched version of the plugin, can you download that and see if it fixes the issues on your end?

Thanks. Looks like it works on my side. I still have one question though: what should be the "Display Condition" if I want the bar  hidden when the current enemy is dead?

(1 edit)

Here's some background info that may help. The plugin iteratively checks each enemy during a screen update. You can access each individual enemy object with this code, where i is the index that the plugin uses to iterate:

$gameTroop.members()[i]

As such there are tons of different ways to show or hide the HP bars for each specific enemy in each scenario. For example, this is a condition I use (in addition to some others):

$gameTroop.members()[i].isSelected()

This checks if an enemy is being selected by an attack, skill, spell, etc. If you wanted to only show HP bars for living enemies, try this:

$gameTroop.members()[i].isAlive()

This method does exactly what you think it does, and only evaluates true if the enemy is still alive.

Thanks for your reply!