XP bonuses per zone
Heres the code for adding seperate xp bonuses to each zone. It defaults at 100 which is no bonus. For 2x experience rate set it to 200 for that particular zone.
Source this into your database Code:
alter table zone add column xpmod int(4) NOT NULL default 100; Code:
int32 Database::SetZoneXPBonus(int32 zoneid) { Code:
int32 SetZoneXPBonus(int32); Replace Code:
Code:
int32 exp = GetEXP() + (int32)((zone->GetEXPMod()) * (database.SetZoneXPBonus(zone->GetZoneID())/100) * (add_exp - add_aaxp)); |
Once again man you are a god and are in deserve of Jr Dev
|
Thanks for that comment Xabob, knowing that I'm making peoples servers a more enjoyable experience to play on is why I make these fixes/additions and makes it more enjoyable to continue making them.
|
Roxor
|
<3 Rich
|
<3
|
All times are GMT -4. The time now is 02:54 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.