def shenshengzhijing
members = []
self.members.each{|i| members.push(i) if i.hp > 0 and i.state?(SSZJ_STA)}
members.sort!{|a, b| a.hp * 1.0 / a.maxhp <=> b.hp * 1.0 / b.maxhp}
return members[0]
end
end
class Scene_Battle
alias :new_turn_end :turn_end unless method_defined? :new_turn_end
def turn_end
$game_party.sszj_recover
new_turn_end
end
end [/pre]