Umm, try:
def make_exp_list
actor = $data_actors[@actor_id]
@exp_list[1] = 0
for i in 2..100
if i > actor.final_level
@exp_list[i] = 0
else
@exp_list[i] = (i*(i + 2))*(actor.exp_inflation)
end
end
end
And you would set exp inflation where you normally set it in the database. Umm, note that I excluded the 10 + since you can set inflation from 0-50 in the database, so you could just make the range 10-40 if you only wanted it to be within that range.
If you really want the 10 + for whatever reason, then just change this line:
@exp_list[i] = (i*(i + 2))*(actor.exp_inflation)
to:
@exp_list[i] = (i*(i + 2))*(10 + actor.exp_inflation)