Exp decresing without level down

LynX

Veteran
Veteran
Joined
Jan 6, 2014
Messages
81
Reaction score
7
First Language
Polish
Primarily Uses
Hi is there a way to decrease experience ammount by 25% but without decreasing level ? If exp reach more than this level required ?
I mean i want to decrease exp but disable level down.
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,230
Reaction score
3,079
First Language
English
Unfortunately, by default, level is tied to EXP


You would need a script that would prevent level down.


Add this to your project if you don't want to ever level down.

Code:
class Game_Actor < Game_Battler
  def change_exp(exp, show)
    @exp[@class_id] = [exp, 0].max
    last_level = @level
    last_skills = skills
    level_up while !max_level? && self.exp >= next_level_exp
    #level_down while self.exp < current_level_exp
    display_level_up(skills - last_skills) if show && @level > last_level
    refresh
  end
end
 

LynX

Veteran
Veteran
Joined
Jan 6, 2014
Messages
81
Reaction score
7
First Language
Polish
Primarily Uses
Thanks You Very Much Hime!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Are there any vocalists on RPG Maker Forums that would want to sing together in a group, duet or make a whole channel together?
Here it is in all its leggy glory! I apologize in advance.
Suggestion for the name for the new RM, RPG Maker Re-MV (Re-Mastered Version)

Forum statistics

Threads
98,176
Messages
950,103
Members
129,474
Latest member
jacktarma
Top