Code format

This commit is contained in:
2025-05-15 19:35:43 +02:00
parent 1d5284bd81
commit ac4de9a0ab
9 changed files with 960 additions and 969 deletions

View File

@@ -2,7 +2,7 @@
aura_env.fn = {}
aura_env.damageHistory = {}
aura_env.historyCurrent = {}
aura_env.playerGUID = UnitGUID("player")
aura_env.playerGUID = UnitGUID "player"
aura_env.lastCleanup = 0
aura_env.historyWindow = 10
aura_env.cleanupInterval = 1
@@ -35,7 +35,7 @@ aura_env.iconz[aura_env.types.BLEED] = 1033474
--
-- Returns players current max health
--
aura_env.fn.getMaxHealth = function() return UnitHealthMax("player") end
aura_env.fn.getMaxHealth = function() return UnitHealthMax "player" end
aura_env.fn.isEnabled = function(damageType)
local enabled = damageType == aura_env.types.SWING and aura_env.config.enableSwing