Fomar0153

Fomar0153 - Infinite Levels 1.0

Mar 12th, 2012
598
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 1.15 KB | None | 0 0
  1. =begin
  2. Infinite Levels
  3. by Fomar0153
  4. Version 1.0
  5. ----------------------
  6. Notes
  7. ----------------------
  8. Default is 200
  9. ----------------------
  10. Instructions
  11. ----------------------
  12. In the class tab of the database you will need to set the stats up
  13. differantly to what you're used to, the stat at level one is the base
  14. stat for a level one character as you would expect.
  15. But the stat for level two is now how much you would like the stat to
  16. go up by each level.
  17.  
  18. Also edit max level below to your liking.
  19. ----------------------
  20. Known bugs
  21. ----------------------
  22. None
  23. =end
  24. class Game_Actor < Game_Battler
  25.   #--------------------------------------------------------------------------
  26.   # ● Feel free to edit
  27.   #--------------------------------------------------------------------------
  28.   def max_level
  29.     return 200
  30.   end
  31.   #--------------------------------------------------------------------------
  32.   # ● Formula for stats
  33.   #--------------------------------------------------------------------------
  34.   def param_base(param_id)
  35.     b = self.class.params[param_id, 1]
  36.     i = self.class.params[param_id, 2]
  37.     return b + i * (@level - 1)
  38.   end
  39. end
Advertisement
Add Comment
Please, Sign In to add comment