Update almost all auras to move away from using globals to using aura_env

This commit is contained in:
2024-03-23 12:37:25 +01:00
parent 216d1c0e01
commit a6ddee60ae
29 changed files with 378 additions and 3451 deletions

View File

@@ -27,7 +27,7 @@ function(allstates, e, ...)
local targetLevel = aura_env.config[keykeyname] or 15
local leveldelta = level - targetLevel
local color, _ = Colorer.Interpolate(leveldelta)
local color, _ = aura_env.Colorer.Interpolate(leveldelta)
local r = math.floor(color.r * 255)
local g = math.floor(color.g * 255)
local b = math.floor(color.b * 255)