FIX UPDATE: Group Experience & Greens
Greetings!
This fix addresses the issue of players receiving experience when killing green-conned mobs. Please Re-Evaluate the code, couple things I had to fix This fix emulates EQLive in three aspects: 1. Players will no longer receive experience when killing green-conned mobs if grouped. 2. Players will not receive experience if another member of the group is too high level. 3. Mobs which still con higher than green to members of the group will give experience to those members only. in zone\groups.h - around line 46, change: Code:
void SplitExp(uint32 exp, int16); Code:
void SplitExp(uint32 exp, Mob* other); Code:
void Group::SplitExp(uint32 exp, Mob* other) in zone\attack.cpp - around line 1804, change line: Code:
entity_list.GetGroupByClient(killer->CastToClient())->SplitExp((uint32)(level*level*75*3.5f), GetLevel() ); Code:
entity_list.GetGroupByClient(killer->CastToClient())->SplitExp((uint32)(level*level*75*3.5f), this ); |
Committed to CVS.
|
This compiled perfectly, thanks!
|
All times are GMT -4. The time now is 04:56 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.