mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-17 15:53:26 +02:00
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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user