I know how to make a skill that damages a percentage of the characters max hp but I don't know how to damage their current hp.
For example, if a character had 1000/9999 hp and I used a skill that damages 50%, I want it to damage the current hp by 50% so it makes it 500/9999.
The script for damaging percent of max hp is this:
for i in $game_party.actors
i.hp = i.maxhp/2
end
Also can someone tell me how to change the damage limit cap from 99,999 to 9999?
For example, if a character had 1000/9999 hp and I used a skill that damages 50%, I want it to damage the current hp by 50% so it makes it 500/9999.
The script for damaging percent of max hp is this:
for i in $game_party.actors
i.hp = i.maxhp/2
end
Also can someone tell me how to change the damage limit cap from 99,999 to 9999?