Cod: Selectaţi tot
quest daily_login_buff_simple begin
state start begin
function today()
return math.floor(get_time() / 86400)
end
when login begin
local t = daily_login_buff_simple.today()
if pc.getqf("dlb_day") == t then
return
end
pc.setqf("dlb_day", t)
affect.add(apply.MAX_HP, 100, 60*60*24)
affect.add(apply.ATT_GRADE_BONUS, 10, 60*60*24)
syschat("[Buff] Ai primit buff zilnic (24h)!")
end
end
end
