• Log in or sign up for an account here: https://www.sythe.org/login

Changing EXP rate (NPC TRAINING)

Joined
Mar 25, 2008
Sythe Gold
0
Messages
175
Alright Guys, This Is How To Change Your Exp Rate On Your Server, So Like Every 1 Damage You Do, You Get This Amount Of Exp.

Step 1:
Open Client.java, Press Ctrl + F And Search For..

Code:
combatexp


In Your First Find, It Should Look Something Like This...


Code:
           if (FightType != 3) {
               TotalExp = (double) (100 * hitDiff);
               TotalExp = (double) (TotalExp * CombatExpRate);
               addSkillXP((int) (TotalExp), SkillID);
           } else {
               TotalExp = (double) (100 * hitDiff);
               TotalExp = (double) (TotalExp * CombatExpRate);
               addSkillXP((int) (TotalExp), playerAttack);
               addSkillXP((int) (TotalExp), playerDefence);
               addSkillXP((int) (TotalExp), playerStrength);

If Not, Not To Worry, The Important Part Is,

Code:
TotalExp = (double) (100 * hitDiff);

Now, The "100" Is How Much Exp Per Damage You Get, Simply Change That To Whatever You Want.

Continue Searching The

Code:
combatexp

until you find about 6-7 of them and change them all, some you will be able to tell, are range and mage, controlled etc.

So Good Luck With Server!

Credits,
100% Me.

Thanks Guys.
 
duelarena.gg
Back
Top