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.
99999 HP and SP? [RESOLVED]

0 Members and 1 Guest are viewing this topic.

*******
Rep:
Level 90
Returned from the dead.
Does anyone know how to get a character's max HP and SP over the 9999 barrier?
I think i've done it somehow before just by editing a few scripts but if I did i've forgotten how

Thanks in advance  ;)
« Last Edit: March 25, 2007, 02:46:48 PM by Rune »
Sincerely,
Your conscience.

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
In Game_Battler 1 find:

Code: [Select]
  def maxsp
    n = [[base_maxsp + @maxsp_plus, 0].max, 9999].min
    for i in @states
      n *= $data_states[i].maxsp_rate / 100.0
    end
    n = [[Integer(n), 0].max, 9999].min
    return n
  end
 

Change the 9999 to 99999.
In Game_Actor 1 find:

Code: [Select]
  def maxhp
    n = [[base_maxhp + @maxhp_plus, 1].max, 9999].min
    for i in @states
      n *= $data_states[i].maxhp_rate / 100.0
    end
    n = [[Integer(n), 1].max, 9999].min
    return n
  end

Same thing: Change 9999 to 99999.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

*******
Rep:
Level 90
Returned from the dead.
That's it! thaks Blizzard! :D
Sincerely,
Your conscience.