Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
- # :: Alternative EXP Gain [RPG Maker VX Ace]
- # Version 1.00
- #------------------------------------------------------------------------------
- # The purpose of this script is to allow the user to change how much EXP
- # is required to level up.
- #==============================================================================
- # ; Version History
- #------------------------------------------------------------------------------
- # Version 1.00 ------------------------------------------------- (14-11-2012)
- # - Initial version
- # - Author: Legacy
- #
- #==============================================================================
- # ; Instructions
- #------------------------------------------------------------------------------
- # To instal the script, open you script editor and paste this script on
- # a new section bellow the Materials section.
- #==============================================================================
- # * Contact
- #------------------------------------------------------------------------------
- # Legacy, the author of this script, can be contacted through his
- # website, found at http://legacyscripts.wordpress.com/
- #
- # You may also find Legacy at http://www.rpgrevolution.com/
- #==============================================================================
- # * Usage
- #------------------------------------------------------------------------------
- # This script may be used with the following terms and conditions:
- #
- # 1. This script is free to use in any noncommercial project. If you wish to
- # use this script in a commercial (paid) project, please contact
- # Legacy at his website.
- # 2. This script may only be hosted at the following domains:
- # http://www.legacy-studios.org
- # http://www.save-point.org
- # http://www.rpgrevolution.com
- # http://www.rpgmakerweb.com
- # 3. If you wish to host this script elsewhere, please contact Legacy.
- # 4. If you wish to translate this script, please contact Legacy. He
- # will need the web address that you plan to host the script at, as well
- # as the language this script is being translated to.
- # 5. This header must remain intact at all times.
- # 6. Legacy remains the sole owner of this code. He may modify or
- # revoke this license at any time, for any reason.
- # 7. Any code derived from code within this script is owned by Legacy,
- # and you must have his permission to publish, host, or distribute his
- # code.
- # 8. This license applies to all code derived from the code within this
- # script.
- # 9. If you use this script within your project, you must include visible
- # credit to Legacy, within reason.
- #≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
- #==============================================================================
- # :: RPG::Class
- #==============================================================================
- class RPG::Class < RPG::BaseItem
- def exp_for_level(level)
- #--------------------------------------------------------------------------
- # ; @new_exp_gain = { level => exp_needed_to_level }
- #--------------------------------------------------------------------------
- @new_exp_gain = {
- 1 => 0,
- 2 => 51,
- 3 => 169,
- 4 => 386,
- 5 => 735,
- 6 => 1253,
- 7 => 1978,
- 8 => 2950,
- 9 => 4213,
- 10 => 5812,
- 11 => 7796,
- 12 => 10215,
- 13 => 13121,
- 14 => 16570,
- 15 => 20619,
- 16 => 25329,
- 17 => 30762,
- 18 => 36982,
- 19 => 44057,
- 20 => 53056,
- 21 => 61052,
- 22 => 71119,
- 23 => 82333,
- 24 => 94774,
- 25 => 108523,
- 26 => 123665,
- 27 => 140286,
- 28 => 158474,
- 29 => 178321,
- 30 => 199920,
- 31 => 223368,
- 32 => 248763,
- 33 => 276205,
- 34 => 305798,
- 35 => 337647,
- 36 => 371861,
- 37 => 408550,
- 38 => 447826,
- 39 => 489805,
- 40 => 534604,
- 41 => 582344,
- 42 => 633147,
- 43 => 687137,
- 44 => 744442,
- 45 => 805191,
- 46 => 869517,
- 47 => 937554,
- 48 => 1009438,
- 49 => 1085309,
- 50 => 1165308,
- 51 => 1249580,
- 52 => 1338271,
- 53 => 1431529,
- 54 => 1529506,
- 55 => 1632355,
- 56 => 1740233,
- 57 => 1853298,
- 58 => 1971710,
- 59 => 2095633,
- 60 => 2225232,
- 61 => 2360676,
- 62 => 2502135,
- 63 => 2649781,
- 64 => 2803790,
- 65 => 2964339,
- 66 => 3131609,
- 67 => 3305782,
- 68 => 3487042,
- 69 => 3675577,
- 70 => 3871576,
- 71 => 4075232,
- 72 => 4286739,
- 73 => 4506293,
- 74 => 4734094,
- 75 => 4970343,
- 76 => 5215245,
- 77 => 5469006,
- 78 => 5731834,
- 79 => 6003941,
- 80 => 6285540,
- 81 => 6576848,
- 82 => 6878083,
- 83 => 7189465,
- 84 => 7511218,
- 85 => 7843567,
- 86 => 8186741,
- 87 => 8540970,
- 88 => 8906486,
- 89 => 9283525,
- 90 => 9672324,
- 91 => 10073124,
- 92 => 10486167,
- 93 => 10911697,
- 94 => 11349962,
- 95 => 11801211,
- 96 => 12265697,
- 97 => 12743674,
- 98 => 13235398,
- 99 => 13741129
- }
- return @new_exp_gain[level]
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement