Thread: Max Stat Help (Rep++)

Results 1 to 5 of 5
  1. #1 Max Stat Help (Rep++) 
    Tetris
    Guest
    How do I change the maximum level that you can have in a skill from 100 to 99?

    The base I'm using lets you go up to 100 in all skills and 127 combat, but I want the maximum to be 99 and 126 combat.

    If you know how to fix this, post here (will rep++ for the fix).

    ~ Tetris
    Reply With Quote  
     

  2. #2  
    power_on
    Guest
    Search for public int getLevelForXP in client.java
    and change


    for (int lvl = 1; lvl <= 100; lvl++) {
    points += Math.floor(
    (double) lvl + 150.0 * Math.pow(2.0, (double) lvl / 7.0));
    output = (int) Math.floor(points / 4);
    if (output >= exp) {
    return lvl;
    }
    }
    return 100;
    }


    To


    for (int lvl = 1; lvl <= 99; lvl++) {
    points += Math.floor(
    (double) lvl + 150.0 * Math.pow(2.0, (double) lvl / 7.0));
    output = (int) Math.floor(points / 4);
    if (output >= exp) {
    return lvl;
    }
    }
    return 99;
    }
    Reply With Quote  
     

  3. #3  
    Austin_
    Guest
    Ty power on, ima use it to make my max stats on my server 100 =P
    Reply With Quote  
     

  4. #4  
    power_on
    Guest
    Quote Originally Posted by Pew Pewed View Post
    Ty power on, ima use it to make my max stats on my server 100 =P
    nice! when i found the code 2 days ago i changed stats to max stat to 9999999 and did master a couple times worked a treat lel
    Reply With Quote  
     

  5. #5  
    Tetris
    Guest
    Thanks power! + Rep to you!
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •