In games such as Star Ocean and Valkyrie Profile, whenever a character would take enough damage to die, there is a chance she instead ends up at 1 HP.
EDIT: This is the script I've managed to write.
It still can be better if someone could direct me on how to display this image saying "Guts!" (using the Remodeled Damage Display Script by cogwheel).
Any help with that will be appreciated. In the meantime, here's the script.
#------------------------------------------------------------------------------
#Guts by Bahamut
#------------------------------------------------------------------------------
class Game_Battler
alias guts_dead? dead?
#--------------------------------------------------------------------------
# * Decide Incapacitation
#--------------------------------------------------------------------------
def dead?
guts_dead?
if self.hp == 0 #guts
unless self.states.include?(1)
guts = rand(100 - 1)
unless self.is_a?(Game_Enemy)
guts += self.level
end
$game_switches[123] = true
if guts > 90 # default 90
self.hp = 1
end
end
end # end guts
return (@hp == 0 and not @immortal)
end
end
In games such as Star Ocean and Valkyrie Profile, whenever a character would take enough damage to die, there is a chance she instead ends up at 1 HP.
EDIT: This is the script I've managed to write.
It still can be better if someone could direct me on how to display this image saying "Guts!" (using the Remodeled Damage Display Script by cogwheel).
Any help with that will be appreciated. In the meantime, here's the script.
Share this post
Link to post
Share on other sites