Hi,
I'm fairly new to scripting, so this was just a basic thing to start off with. I'd just like to alter the default game script so that every time an actor levels up, their SP and HP are recovered fully.
Here's the part of the Actor class which deals with a change in level - anyone able to help with what I need to add to this (or whether I need to do anything else different) in order to get this to work? Thanks
CODE
#--------------------------------------------------------------------------
# * Change Level
# level : new level
#--------------------------------------------------------------------------
def level=(level)
# Check up and down limits
level = [[level, $data_actors[@actor_id].final_level].min, 1].max
# Change EXP
self.exp = @exp_list[level]
#insert HP and SP recovery code here
end