Hi, I have a conundrum: I want floor damage to feel more threatening than the 10 damage they do in vanilla RPGMMZ, and still have it affected by the Floor Damage % stat. Is there a way to do it without setting the Floor Damage % stat to ridiculous values (e.g. 2500%) for all characters? I am using VisuStella plugins.
How to make floor damage tiles deal more damage?
RPG Maker MZ SupportThere are certainly existing plugins for this. In fact, there's a VisuStella plugin for this 😛
But if you don't own that one, you can paste the below into a text editor, save as a *.js file, include as a plugin:
You can replace the 10 with any formula you like. You'd refer to the actor taking the damage (in case you wanted to do a percentage of their health or something) with
But if you don't own that one, you can paste the below into a text editor, save as a *.js file, include as a plugin:
Code:
Game_Actor.prototype.basicFloorDamage = function() {
return 10;
};
You can replace the 10 with any formula you like. You'd refer to the actor taking the damage (in case you wanted to do a percentage of their health or something) with
thisIf you want, I’ve created a small plugin that allows you to set terrain damage to a value other than 10. I’ve also added the option to change the damage based on a variable. However, I didn’t account for percentage values in this. It’s nothing special, but if you find it useful, feel free to use it.
forums.rpgmakerweb.com
Set damage floor V 1.0.0
ISC_SetDamageFloor + V 1.0.0 Creator name Introduction: Customize Terrain Damage Plugin description. Set different default value for damage terrain. You can set terrain damage values different from those provided by the engine OR you can link it to a game variable that can change during the...
forums.rpgmakerweb.com
Thank you, the plugin works perfectly well! And, the lack of percentage values isn't anything very important for me, especially as all I wanted is to simply increase the damage damage floors do. (and, while I don't use the variable-based floor damage right now, it will allow me to make floor damage more threatening in later locations simply by increasing the damage they deal)
Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-floor-damage-tiles-deal-more-damage.172359/