iPhone App Directory
RPG Maker VX
 
Gallery Members Search Calendar Help


Welcome Guest ( Log In | Register )

Collapse

>Announcement

The 2nd Quarter Contest has arrived! Go check it out in the Community Announcements now!
 
Reply to this topicStart new topic
> Need help understanding the experience system.
andrew9495
post Jan 2 2012, 07:18 PM
Post #1



Group Icon


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 unsure.gif .
Go to the top of the page
 
+Quote Post
   
Zetu
post Jan 3 2012, 06:26 PM
Post #2


Has broken out of Staby Rehab!
Group Icon


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]


--------------------
My Scripts:

Best. Error. Evah!!!
Spoiler:


Team JIFZ: Jet, Ice, Fenix, Zetu

A stabbing Gesture is a friendly Gesture
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 19th April 2014 - 09:15 PM

RPGMakerVX.net is an Privacy Policy, Legal.