use these functions as an example:as title says
In that case, isn't the function in compat.lua wrong? I mean, it will multiply twice if useMulti is true (one in that function and the other in onGainExperience event)Yes, but no. player:addExperience will call onGainExperience event, which takes care of using stages.
yes that funcition badIn that case, isn't the function in compat.lua wrong? I mean, it will multiply twice if useMulti is true (one in that function and the other in onGainExperience event)
![]()
forgottenserver/data/lib/compat/compat.lua at 58c5deba36d86858308baf51640cca88cd103a57 · otland/forgottenserver
A free and open-source MMORPG server emulator written in C++ - otland/forgottenservergithub.com