RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Script needed to replenish HP/MP/State after every battle

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 83
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...

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
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

Code: [Select]
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
« Last Edit: September 10, 2009, 11:25:00 PM by modern algebra »