Main Menu
  • Welcome to The RPG Maker Resource Kit.

99999 HP and SP? [RESOLVED]

Started by Rune, March 25, 2007, 01:10:35 PM

0 Members and 1 Guest are viewing this topic.

Rune

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  ;)
Sincerely,
Your conscience.

Blizzard

In Game_Battler 1 find:

  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:

  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!

Rune

That's it! thaks Blizzard! :D
Sincerely,
Your conscience.