Damaged Battle Sprites Plugin (MV)

This is a cool plugin I am going to try it on my game <3
Introduction
​
This plugin allows you to add damaged phases to enemy or actor battle sprites. Think of it like those games where the girls progressively lose clothes as their HP depletes. Of course you could do a lot of other stuff with it too!
Also, if the battler recovers enough HP it will change back to its previous battle sprite. (including the default battle sprite if HP returns to 100%)


Usage
​
For every phase you will need to specify a corresponding sprite name in the battler's notes, like so:
JavaScript:
// Place this in the actor or enemy's notes:
    <Damaged Sprite: SpriteA, 60%/>
    <Damaged Sprite: SpriteB, 33.3%/>

In this example, the battler's sprite will change to "SpriteA.png" once it reaches 60% or lower HP and to "SpriteB.png" once it reaches 33.3% or lower. It's that simple!

The game will search for the sprites inside their default battler sprite folders.

As an added bonus, you can now easily change a battle sprite with script calls:
JavaScript:
//Change an actor or enemy sprite
     Game_Battler.setBattlerImage(spriteName)
//Return an actor's sprite back to default
     Game_Battler.setBattlerImage(this.actor().battlerName)
// For enemies
     Game_Battler.setBattlerImage(this.enemy().battlerName)


Terms of service
​
- Free to use in Commercial Projects, no credit required;
- To avoid outdated versions, please don't repost and instead link to this thread.
@Ozuma Nice! I'll certainly look into this later, and maybe showcase the effect I'm trying to achieve. Thanks!
@pasunna Wow, Moghunter's enemy poses might be the one I'm looking for. I'll see if i can suit and simplify this plugin to my needs.
Thanks everyone.

Update: @pasunna , Moghunter's enemy poses certainly worked for me, but it has compatibility issues with Yanfly's Battle Engine Core, so I decided to stick with the battle engine core, since I've already put a lot of work in the combat system.
On the other hand, @Ozuma's custom plugin works best for me. At first I had trouble setting up the plugin for some reason, but I sorted it out finally. Works real well for my game. Thanks again!, sure to give you proper credit once the game is playable, as the sprites I am planning to make has now just doubled lol!



I keep getting errors
I keep getting errors
1 - The author of this plugin hasn't posted on the forum in over two years.

2 - Just saying "I keep getting errors" tells us nothing.

At the minimum, it would make sense to type in what the errors say, but the best thing to do is: when you get an error, press F8, go to the Console tab, and provide a screenshot of that full error trace.
you can try this one
and this one
Links are dead, sadly.

Original thread: https://forums.rpgmakerweb.com/threads/damaged-battle-sprites-plugin-mv.116443/