introduce premium account system as a real premmium account for donators while regular features like travling and spells are free

This commit is contained in:
ErikasKontenis
2021-04-17 17:33:22 +03:00
parent 37aedf0555
commit 6fda4d4663
15 changed files with 78 additions and 95 deletions

View File

@@ -343,6 +343,10 @@ function Player:onGainExperience(source, exp, rawExp)
end
end
if self:isPremium() then
exp = exp * (1 + 10 / 100)
end
return exp
end