Nice TuT.. nicely done
|
Purpose: To change the max lvl of a skill.
Difficulty: 1 realy easy
Assumed Knowledge: copy and a brain
Server Base: Satan's isle
Classes Modified:Client.java
Procedure OPen up client.java
Step 1: FindStep 2: Edit it so its like this,public int getLevelForXP(int exp) {
int points = 0;
int output = 0;
for (int lvl = 1; lvl <= 99; lvl++) {
points += Math.floor((double)lvl + 300.0 * Math.pow(2.0, (double)lvl / 7.0));
output = (int)Math.floor(points / 4);
if (output >= exp) {
return lvl;
}
}
return 99;Step 3: So in the end it looks like this ( I changed it from 99 to 135)public int getLevelForXP(int exp) {
int points = 0;
int output = 0;
for (int lvl = 1; lvl <= THE MAX LVL YOU WANT; lvl++) {
points += Math.floor((double)lvl + 300.0 * Math.pow(2.0, (double)lvl / 7.0));
output = (int)Math.floor(points / 4);
if (output >= exp) {
return lvl;
}
}
return THE MAX LVL YOU WANT!;public int getLevelForXP(int exp) {
int points = 0;
int output = 0;
for (int lvl = 1; lvl <= 135; lvl++) {
points += Math.floor((double)lvl + 300.0 * Math.pow(2.0, (double)lvl / 7.0));
output = (int)Math.floor(points / 4);
if (output >= exp) {
return lvl;
}
}
return 135;
Credits: me
EDIT: if you cant find what i told you to in step one, change the 99s to the max lvl you have on your source.
Nice TuT.. nicely done
yea nice tut repp for u
=o bumped from like the 3rd page thx pac man also thx p hats
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |