1
0
Fork 0
forked from Simnation/Main
Main/resources/[standalone]/tgiann-core/client/functions/skillCheck.lua

16 lines
375 B
Lua
Raw Normal View History

2025-07-09 14:25:50 +02:00
local tgiann_skillbar = GetResourceState("tgiann-skillbar") == "started"
tgiCore.skillCheck = function(time)
if tgiann_skillbar then
return exports["tgiann-skillbar"]:taskBar(6500, true)
end
local dif = "easy"
if time < 2000 then
dif = "hard"
elseif time < 5000 then
dif = "medium"
end
return lib.skillCheck({ dif })
end