if @plus_state_set.size > 0
if $data_states[@plus_state_set[0]].maxhp_rate > 100
$data_states[@plus_state_set[0]].maxhp_rate *= up_rate
end
if $data_states[@plus_state_set[0]].maxsp_rate > 100
$data_states[@plus_state_set[0]].maxsp_rate *= up_rate
end
if $data_states[@plus_state_set[0]].str_rate > 100
$data_states[@plus_state_set[0]].str_rate *= up_rate
end
if $data_states[@plus_state_set[0]].dex_rate > 100
$data_states[@plus_state_set[0]].dex_rate *= up_rate
end
if $data_states[@plus_state_set[0]].agi_rate > 100
$data_states[@plus_state_set[0]].int_rate *= up_rate
end
if $data_states[@plus_state_set[0]].int_rate > 100
$data_states[@plus_state_set[0]].int_rate *= up_rate
end
if $data_states[@plus_state_set[0]].atk_rate > 100
$data_states[@plus_state_set[0]].atk_rate *= up_rate
end
if $data_states[@plus_state_set[0]].pdef_rate > 100
$data_states[@plus_state_set[0]].pdef_rate *= up_rate
end
if $data_states[@plus_state_set[0]].mdef_rate > 100
$data_states[@plus_state_set[0]].mdef_rate *= up_rate
end
if $data_states[@plus_state_set[0]].eva > 100
$data_states[@plus_state_set[0]].eva *= up_rate
end
$data_states[@plus_state_set[0]].hold_turn *= up_rate
end
Mess_Text.write("#{@name}等级提升")
$refresh["skill"] = true
end
end
def exp
return @exp
end
end