Log in

View Full Version : Increase Solo Experience


Krran
05-13-2014, 02:51 PM
Maybe a weird and simple question:

What would be a good way to increase the solo experience gained, but keep the group experience the same?

I play on a private server and would like to create greater rewards for defeating enemies without the need to box.

Trubles
05-13-2014, 03:02 PM
Theres no possible way to differentiate between grouped and ungrouped.

demonstar55
05-13-2014, 03:28 PM
It most certainly is able to tell if it's grouped or not (and it does do some bonus, but I think you want unlive like bonuses, so ..)

I would recommend modifying the Client::mod_client_xp function in zone/mod_functions.cpp. After all, that's what it's there for.

Basically you'll need to do something like
int32 Client::mod_client_xp(int32 in_xp, NPC *npc) {
if (!HasGroup() && !HasRaid())
in_xp += in_xp * 0.25;
return in_xp;
}

Or something similar (that should give a 25% bonus if not grouped/raided

Krran
05-13-2014, 10:07 PM
Groovy. I will give that a try and explore the file a bit. Thanks!