shadowmastersonic
Member
still get the same error but i will give it another shot on a new project
def change_exp(exp, show)
last_level = @level
last_skills = skills
@exp = [[exp, 9999999].min, 0].max
while @exp >= @exp_list[@level+1] and @exp_list[@level+1] > 0
level_up
#---------------------add the code here
difference = @level - last_level
$game_actors[@actor_id].points += ((@level/5).floor+2).floor*difference
#----------------------- :D
end
while @exp < @exp_list[@level]
level_down
end
@hp = [@hp, maxhp].min
@mp = [@mp, maxmp].min
if show and @level > last_level
display_level_up(skills - last_skills)
end
end
#==============================================================================
# ** Multi-Slot Equipment VX
#------------------------------------------------------------------------------
# by DerVVulfman
# based on Guillaume777's original system.
# version 1.1
# 04-06-2008
# RGSS2