mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 01:27:20 +00:00
[Experience] Change Exp Calculations to be 64 bit where needed. (#2677)
* [Experience] Change Exp Calculations to be 64 bit where needed. * Fix lua values * Formatting
This commit is contained in:
1 parent
f962466573
commit
9c3c5b5230
18 files changed
+92
-85
No files matched your search
+1
-1
@@ -2497,7 +2497,7 @@ bool NPC::Death(Mob* killer_mob, int64 damage, uint16 spell, EQ::skills::SkillTy
|
||||
Group *kg = entity_list.GetGroupByClient(give_exp_client);
|
||||
Raid *kr = entity_list.GetRaidByClient(give_exp_client);
|
||||
|
||||
int32 finalxp = give_exp_client->GetExperienceForKill(this);
|
||||
int64 finalxp = give_exp_client->GetExperienceForKill(this);
|
||||
finalxp = give_exp_client->mod_client_xp(finalxp, this);
|
||||
|
||||
// handle task credit on behalf of the killer
|
||||
|
||||
Reference in new issue
Block a user