RGSS script to limit the amount of damage.