EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Increase Solo Experience (https://www.eqemulator.org/forums/showthread.php?t=38293)

Krran 05-13-2014 02:51 PM

Increase Solo Experience
 
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
Code:

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!


All times are GMT -4. The time now is 11:46 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.