Drain HP attacks don't play the damage sound effect

One of my biggest gripes with drain moves in RMMV is that the hit sound effect never plays.

Is there a way to fix this? I know it's possible to do it without plugins because I once played a "vanilla" RMMV game that achieved this effect.
What do you mean by "drain moves"?
Moves that drain HP from a target.
Moves that drain HP from a target.
If you mean a skill that uses HP Drain as its damage type it DOES play the sound from the animation. You must have a problem elsewhere.
No, what I'm talking about is the hit sound effect when the damage numbers pop up. (i.e. sound effects titled Damage4 or Damage5 by default)
No, what I'm talking about is the hit sound effect when the damage numbers pop up. (i.e. sound effects titled Damage4 or Damage5 by default)
Ah, can't help you there - didn't know it didn't show up. I always turn off the hit sound effects since I use action sequences for all my combat.
No, what I'm talking about is the hit sound effect when the damage numbers pop up. (i.e. sound effects titled Damage4 or Damage5 by default)
yknow... i noticed that before, but i dont use default engine drains and forgot that was a thing.

Is there a way to fix this? I know it's possible to do it without plugins because I once played a "vanilla" RMMV game that achieved this effect.
its a hard coded exception in the engine to do that for drain skills. if they did it without plugins (or directly editing the core js files) then they might have used some common event commands to fake hp drain onto an hp damage skill or added the damage sound effect to the drain skills manually.

admittedly, undoing it with a plugin would be easier than that as its just removing half of a line. saving below as a .js file and adding it as a plugin would do it

Code:
Window_BattleLog.prototype.displayHpDamage = function(target) {
    if (target.result().hpAffected) {
        if (target.result().hpDamage > 0) {
            this.push('performDamage', target);
        }
        if (target.result().hpDamage < 0) {
            this.push('performRecovery', target);
        }
        this.push('addText', this.makeHpDamageText(target));
    }
};
How do I implement it? I mean, I did the js file and put it where it goes. I already did this with a No exp handmade plugin but yours isnt working. Do I have to do something specific? or should work automatically on any attack that uses the "Drain PV" option instead of the "Damage PV". Or did I missundertood the plugin?

Thanks before hand!
any skill set to HP drain should play the enemy damage sound effect inside the system>sounds menu once that plugin is enabled.
It is possible (but probably unlikely) that you have another plugin that overwrites the change, but just to make sure - youve saved your project after installing it, right?
Oh so is for the enemies not the player?
Oh so is for the enemies not the player?
it should work for both. I was focusing on damaging enemies because it was my first thought, but it should also apply to actors. theres just a separate sound effect in the database for actors being hit instead of enemies
Oh ok, I will test this further since it should work. I will try deactivating some plugins and see. (Once i have the time). Thanks

Original thread: https://forums.rpgmakerweb.com/threads/drain-hp-attacks-dont-play-the-damage-sound-effect.169347/