#--------------------------------------------------------------------------
# ● 最高级等级限制
#--------------------------------------------------------------------------
def new_final_level
#如果是宝宝则返回
if self.id > 50
return @飞升[1]
else
return @飞升[0]
end
end
#--------------------------------------------------------------------------
# ● EXP 計算
#--------------------------------------------------------------------------
def make_exp_list
if self.id > 50
for i in 0..(@exp_list.size - 1)
@exp_list[i] = i * i * i * 25
end
return @exp_list
elsif self.id < 50
for i in 0..(@exp_list.size - 1)
@exp_list[i] = i * i * i * 20
end
end
#--------------------------------------------------------------------------
# ● 最高级等级限制
#--------------------------------------------------------------------------
def new_final_level
#如果是宝宝则返回
if self.id > 50
return @飞升[1]
else
return @飞升[0]
end
end
#--------------------------------------------------------------------------
# ● EXP 計算
#--------------------------------------------------------------------------
def make_exp_list
if self.id > 50
for i in 0..(@exp_list.size - 1)
@exp_list[i] = i * i * i * 25
end
return @exp_list
elsif self.id < 50
for i in 0..(@exp_list.size - 1)
@exp_list[i] = i * i * i * 20
end
end