introduce raid sacrifices and bonus exp if you eat sabrehaven talon

This commit is contained in:
ErikasKontenis
2020-01-05 17:15:09 +02:00
parent dd17e6c42e
commit 1af3466453
16 changed files with 196 additions and 6387 deletions

View File

@@ -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