class Window_Status < Window_Selectable
def draw_block3(y)
draw_parameters(32, y)
draw_equipments(288, y)
change_color(system_color)
draw_text(32, y + line_height * 6, 180, line_height, "力量")
change_color(normal_color)
draw_text(32+120, y + line_height * 6, 36, line_height, $game_variables[1],2)
end
end
class Game_Actor < Game_Battler
def initialize(actor_id)
super()
setup(actor_id)
@last_skill = Game_BaseItem.new
$game_variables[1] = (self.mhp/10.0).to_i
end
def level_up
@level += 1
self.class.learnings.each do |learning|
learn_skill(learning.skill_id) if learning.level == @level
end
$game_variables[1] = (self.mhp/10.0).to_i
end
end
class Window_Status < Window_Selectable
def draw_block3(y)
draw_parameters(32, y)
draw_equipments(288, y)
change_color(system_color)
draw_text(32, y + line_height * 6, 180, line_height, "力量")
change_color(normal_color)
draw_text(32+120, y + line_height * 6, 36, line_height, $game_variables[1],2)
end
end
class Game_Actor < Game_Battler
def initialize(actor_id)
super()
setup(actor_id)
@last_skill = Game_BaseItem.new
$game_variables[1] = (self.mhp/10.0).to_i
end
def level_up
@level += 1
self.class.learnings.each do |learning|
learn_skill(learning.skill_id) if learning.level == @level
end
$game_variables[1] = (self.mhp/10.0).to_i
end
end