Status
Not open for further replies.

Btobin98

Villager
Member
Joined
May 30, 2012
Messages
25
Reaction score
1
First Language
English
Primarily Uses
The name says it all. Is this done through the script editor? or the Database? I'm almost positive this can be achieved through one of those but I have been unable to find it.
 

SOC

Be your own hero
Veteran
Joined
Mar 22, 2012
Messages
572
Reaction score
491
First Language
English
Primarily Uses
RMMV
You'll have to do it in the scripts.
 

Yato

(aka Racheal)
Veteran
Joined
Mar 17, 2012
Messages
825
Reaction score
347
Primarily Uses
More specifically,



Code:
class Game_Actor < Game_Battler
  alias heal_on_level_up level_up
  #--------------------------------------------------------------------------
  # * Level Up
  #--------------------------------------------------------------------------
  def level_up
	heal_on_level_up
	recover_all
  end
end
The above will also remove states. If you don't want to remove states, use this instead:



Code:
class Game_Actor < Game_Battler
  alias heal_on_level_up level_up
  #--------------------------------------------------------------------------
  # * Level Up
  #--------------------------------------------------------------------------
  def level_up
	heal_on_level_up
	@hp = mhp
	@mp = mmp
  end
end
 
Last edited by a moderator:

Btobin98

Villager
Member
Joined
May 30, 2012
Messages
25
Reaction score
1
First Language
English
Primarily Uses
More specifically,



Code:
class Game_Actor < Game_Battler
  alias heal_on_level_up level_up
  #--------------------------------------------------------------------------
  # * Level Up
  #--------------------------------------------------------------------------
  def level_up
	heal_on_level_up
	recover_all
  end
end
Thanks this is just what I was looking for! Could you also tell me where in the Game Actor < Game Battler script to place this please? :huh:
 
Last edited by a moderator:

Yato

(aka Racheal)
Veteran
Joined
Mar 17, 2012
Messages
825
Reaction score
347
Primarily Uses
You can just insert that scriptlet anywhere in the materials section.
 

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,558
Reaction score
5,604
First Language
Dutch
Primarily Uses
RMMV
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

I think those extra pixels did it. ^_^ Now to work on the front and back views.
PlusTest-02.gif
What props/tiles are missing from this scene?

My team recruitment thread is finally online. Please, if you guys are interested in language learning, take a look. Even if you don't join, a word of encouragement is always welcome.
Rats! These Rats are pretty cute!

can I say the opposite of "tech savvy" is "tech noob" ?

Forum statistics

Threads
116,469
Messages
1,098,902
Members
152,053
Latest member
GrayGriffin
Top