Announcement
Announcement
| 2nd Quarter Contest Announcement posted! See the Community Announcements section. |
![]() ![]() |
Jan 2 2012, 07:18 PM
Post
#1
|
|
![]() ![]() Type: Writer Alignment: Chaotic Good |
Well basically, I went through the Game_Actor class, in hopes that I would understand the experience system, but it all just went over my head.
So what I want to know is which bit exactly defines the exp gain, and how i would go about changing the gain exp formula and the max exp needed to gain b4 lvl up. I hope I am not being a bother and explained my qualms properly |
|
|
|
Jan 3 2012, 06:26 PM
Post
#2
|
|
![]() Has broken out of Staby Rehab! ![]() Type: Undisclosed Alignment: Chaotic Evil |
Exp gain is defined here...
CODE class Game_Actor < Game_Battler def make_exp_list @exp_list[1] = @exp_list[100] = 0 m = actor.exp_basis n = 0.75 + actor.exp_inflation / 200.0; for i in 2..99 @exp_list[i] = @exp_list[i-1] + Integer(m) m *= 1 + n; n *= 0.9; end end end The amount of exp you need to reach to level up is @exp_list[@level+1] -------------------- |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 26th May 2013 - 04:26 AM |
|
|