take this down
|
|
Hey guys,
Alot of people seem to not know how to do this, even though its fairly easy fix.
Im new to java, so correct if anything can be made better, but here goes:
1. Go to skills.java and find
2. then scroll down toCode:public void addXp(int skill, double exp)
Below it, add:if (player.getAuraManager().usingWisdom())
exp *= 1.025;
Then, replace 75 with any number (higher the number, the more exp gained..)Code:if (skill != PRAYER) exp *= 75;
What this does:
-The code you just added, will multiply exp gain by # you replaced 75 with, for all skills EXCEPT prayer, if you want to add more skills that exp will not increase by this number, replace " if (skill != PRAYER)" with:
Alternatively:Code:if (skill != PRAYER && skill !=SKILLNAMEHERE)
-We can also set the exact multiplier per each skill:
Replace "SKILLNAMEHERE" with an actual skill name... and there ya go...Code:if (skill == PRAYER) exp *= 70;
take this down
lol, isn't this in Settings.java?..
no that was for noobs. tr0ll...

The Settings.java was to troll people, and so people wouldn't know how. This is the correct way to do it. Will help people understand, so thank's for contributing in the community.
np, always glad to![]()

Might be time for me to release my Soulwar's on 667 >.< before someone else does
hey how would i edit the shop prices.
thanks was looking for it![]()
thanks for the tut will help out a lot of people!
| « 718 / 667 Adding Glacors to your Server! | Spawning Npc's » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |