Main Menu
  • Welcome to The RPG Maker Resource Kit.

Script needed to replenish HP/MP/State after every battle

Started by thechromeninja, September 04, 2009, 03:10:25 PM

0 Members and 1 Guest are viewing this topic.

thechromeninja

I have no real knowledge of scripting...If someone could write one for me to replenish a party's HP/MP/State after every battle that would be sick...Credit will be absolutely be given...Or if someone could explain how to modify Woratana's lvl up replenish script (because I have that one), that too would be sick...

modern algebra

#1
That will be pretty easy. I will do it as soon as I get home from school.

EDIT::

Try adding this below all other custom scripts, but still above Main


class Scene_Battle
  alias ma_chrmninj_batlend_recover_9kh3 battle_end
  def battle_end(result)
    ma_chrmninj_batlend_recover_9kh3 (result)
    if result != 2
      members.each { |actor| actor.recover_all }
    end
  end
end