[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:
Aeadoin authored and GitHub committed 2022-12-30 22:03:30 -05:00
1 parent f962466573
commit 9c3c5b5230
18 files changed
+92 -85

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ void Lua_Group::CastGroupSpell(Lua_Mob caster, int spell_id) {
self->CastGroupSpell(caster, spell_id);
}
void Lua_Group::SplitExp(uint32 exp, Lua_Mob other) {
void Lua_Group::SplitExp(uint64 exp, Lua_Mob other) {
Lua_Safe_Call_Void();
self->SplitExp(exp, other);
}