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 game.


How to Use
Set different defaultvalue for damage terrain.​
You can set terrain damage values different from those provided by the engine.
To do this, simply use the "Default Damage Value" parameter and leave the
"Damage Variable ID" parameter at zero.

Change the terrain damage value during the game.​
To do this, you can link it to a game variable that can change during the game.
For this option, enter the ID of the variable you intend to use. If the variable is set to zero, the plugin will use the
damage value defined by the Default Damage Value; otherwise, if the value is greater than zero, the plugin
will use the value of the variable.


So, set only the first parameter (Default Damage Value) if you intend to use a value that will not change
during the game. Set the second parameter (Damage Variable ID) ensuring you assign
a value to this variable if you intend to vary the damage during the game.

Parameter:
Default Damage Value : Use this terrain damage for all the game or if variable is zero.
Damage Variable ID: Use the value of this variable ID if this are > of zero.
During the game you can change this variable and terrain damage.

Demo
No demo for this. We only have 2 parameters. I think it's very simple.

Download
[/LIST]

Terms and Credits
You can use this for commercial and not commercial game. Just credit: Ischenderun or Isc. Free to use
Just asking, do you use a fixed damage system (e.g., -37 HP) or a percentage-based damage system (e.g., -5% HP) for area damage? I once worked with a script that applied "elemental" damage over an area, and I noticed that if it used fixed damage, the damage from the floor became less significant as the characters' levels increased. This is something to consider. Additionally, I think it would be advisable to use a game switch to ensure characters die when their HP reaches 0 due to damage from this plugin, to determine if it triggers a game over.
It’s a fixed number. Initially, I thought about using a percentage, but I felt it would be harder for the developer to manage. I think the fixed number is more straightforward and easier to calculate. The game over option is interesting, but I wouldn’t want to conflict with the 'allow death' option. When I create a plugin, I always try to make it as simple and understandable as possible. However, I like your ideas; they could inspire something new

Original thread: https://forums.rpgmakerweb.com/threads/set-damage-floor-v-1-0-0.171711/