First of all, wrong section..
This should be in the Script Requests, or maybe even RGSS/RGSS2 Support since this is such a simple edit.
Anyways, so you want to make it so lets say, switch[1] is on, the character loose 1 hp every step?
Do you want the whole party to loose hp or just the leader?
Here is the script you need:
#==============================================================================
# ** Game_Party
#------------------------------------------------------------------------------
# This class handles the party.
#==============================================================================
class Game_Party
alias loose_hp_every_step increase_steps
def increase_steps
loose_hp_every_step
#This switch turns the "loose hp every step" ON
if $game_switches[1] == true
$game_party.actors[0].hp -= 1
$game_party.actors[1].hp -= 1
$game_party.actors[2].hp -= 1
$game_party.actors[3].hp -= 1
end
end
end
This will make it so whenever switch number 1 is on, the whole party will loose 1 hp every step they take.
You can change the switch by changing the number in:
if $game_switches[1] == true
If you only want the leader to loose hp every step you take, just remove theese lines:
$game_party.actors[1].hp -= 1
$game_party.actors[2].hp -= 1
$game_party.actors[3].hp -= 1
To insert the script, press F11 to open up the Script Editor. Then to the left, there is a long list of different scripts. Go to the script at the bottom(Main) and right click on it, and choose Insert. Now, a new empty section should be available. press on it, then to the right paste the script that i gave you. Press OK and you're done!