mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-14 14:44:55 +02:00
introduce raid sacrifices and bonus exp if you eat sabrehaven talon
This commit is contained in:
@@ -184,7 +184,7 @@ function Player:onGainExperience(source, exp, rawExp)
|
||||
useStamina(self)
|
||||
|
||||
local staminaMinutes = self:getStamina()
|
||||
if staminaMinutes > 2400 and self:isPremium() then
|
||||
if staminaMinutes > 2400 and self:getStorageValue(17582) > os.time() then
|
||||
exp = exp * 1.5
|
||||
elseif staminaMinutes <= 840 then
|
||||
exp = exp * 0.5
|
||||
|
Reference in New Issue
Block a user