- Joined
- Nov 26, 2012
- Messages
- 156
- Reaction score
- 35
Hey there;
So I've been playing around with Solaxia's EXP rates and party exp rates but I can't seem to get it right. Now I read that if i remove worldz.getExpRate() completely and just put a static int it'll use that rate.
Now I want an exp rate of 5. I tested with a blue snail and i get 15xp but technically i should get 20exp since 4 exp by standard but a multiple of 5 to give 20xp.
My Server Constants:
Maple Character SetRates()
MapleCharacter Private rates:
Now comes the party exp: With my current exp if I create a party (1 Person); I'll get 10 exp, so yes i'm getting less when being in a party. Again i did experiment with the rates but still no luck.
Server Constants:
MapleMonster
Maple Packet Creator is just used to show the exp gained i guess but i checked the actual exp gained aswell but it made no difference
AbstractPlayerInteraction
So how exactly is the addtional party exp worked out; or in my case negative exp XD because below in the Abstract Player Interaction it says:
Which I believe is for Party Quests which shouldn't apply to the standard party rates?
Thanks
So I've been playing around with Solaxia's EXP rates and party exp rates but I can't seem to get it right. Now I read that if i remove worldz.getExpRate() completely and just put a static int it'll use that rate.
Now I want an exp rate of 5. I tested with a blue snail and i get 15xp but technically i should get 20exp since 4 exp by standard but a multiple of 5 to give 20xp.
My Server Constants:
Code:
public static final int EXP_RATE = 5;
Maple Character SetRates()
Code:
if ((haveItem(5211000) && hr > 17 && hr < 21) || (haveItem(5211014) && hr > 6 && hr < 12) || (haveItem(5211015) && hr > 9 && hr < 15) || (haveItem(5211016) && hr > 12 && hr < 18) || (haveItem(5211017) && hr > 15 && hr < 21) || (haveItem(5211018) && hr > 14) || (haveItem(5211039) && hr < 5) || (haveItem(5211042) && hr > 2 && hr < 8) || (haveItem(5211045) && hr > 5 && hr < 11) || haveItem(5211048)) {
if (isBeginnerJob()) {
this.expRate = 5; //Nerfed
} else {
this.expRate = 5; //Nerfed
}
} else {
if (isBeginnerJob()) {
this.expRate = 5;
} else {
this.expRate = 5;
}
}
MapleCharacter Private rates:
Code:
private int expRate = 5, mesoRate = 1, dropRate = 1;
Now comes the party exp: With my current exp if I create a party (1 Person); I'll get 10 exp, so yes i'm getting less when being in a party. Again i did experiment with the rates but still no luck.
Server Constants:
Code:
public static final int PARTY_EXPERIENCE_MOD = 2;
MapleMonster
Code:
final int partyModifier = numExpSharers > 1 ? (110 + (5 * (numExpSharers - 2))) : 0;
int partyExp = 0;
if (attacker.getHp() > 0) {
int personalExp = exp * attacker.getExpRate();
if (exp > 0) {
if (partyModifier > 0) {
partyExp = (int) (personalExp * ServerConstants.PARTY_EXPERIENCE_MOD * partyModifier / 1000f);
}
Maple Packet Creator is just used to show the exp gained i guess but i checked the actual exp gained aswell but it made no difference
AbstractPlayerInteraction
Code:
public void givePartyExp(int amount, List<MapleCharacter> party) {
for (MapleCharacter chr : party) {
chr.gainExp((amount * chr.getExpRate()), true, true);
}
}
So how exactly is the addtional party exp worked out; or in my case negative exp XD because below in the Abstract Player Interaction it says:
Code:
public void givePartyExp(String PQ, boolean instance) {
//1 player = 0% bonus (100)
//2 players = 0% bonus (100)
//3 players = +0% bonus (100)
//4 players = +10% bonus (110)
//5 players = +20% bonus (120)
//6 players = +30% bonus (130)
MapleParty party = getPlayer().getParty();
int size = party.getMembers().size();
Which I believe is for Party Quests which shouldn't apply to the standard party rates?
Thanks