Skip to content

Commit

Permalink
LUA error fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
NoobTaco committed Aug 19, 2024
1 parent 333d65b commit 0907dc9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions modules/UnitFrames/UnitframesPlayer.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
local NoobTacoUI, E, L, V, P, G = unpack(select(2, ...))

function NoobTacoUI:UnitframePlayer()

E.db["unitframe"]["units"]["player"]["debuffs"]["anchorPoint"] = "TOPRIGHT"
E.db["unitframe"]["units"]["player"]["debuffs"]["growthX"] = "LEFT"
E.db["unitframe"]["units"]["player"]["debuffs"]["sizeOverride"] = 40
Expand Down Expand Up @@ -51,10 +50,11 @@ function NoobTacoUI:UnitframePlayer()
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["fontOutline"] = "NONE"
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["justifyH"] = "RIGHT"
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["size"] = 15
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["text_format"] = "[health:current-percent:shortvalue]"
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["text_format"] =
"[health:current-percent:shortvalue]"
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["xOffset"] = -5
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerHealth"]["yOffset"] = -5
--
--
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerPower"]["attachTextTo"] = "Power"
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerPower"]["xOffset"] = -5
E.db["unitframe"]["units"]["player"]["customTexts"]["PlayerPower"]["text_format"] = "[power:current]"
Expand Down
6 changes: 3 additions & 3 deletions modules/UnitFrames/UnitframesTarget.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
local NoobTacoUI, E, L, V, P, G = unpack(select(2, ...))

function NoobTacoUI:UnitframeTarget()

E.db["unitframe"]["units"]["target"]["buffs"]["anchorPoint"] = "TOPLEFT"
E.db["unitframe"]["units"]["target"]["buffs"]["attachTo"] = "FRAME"
E.db["unitframe"]["units"]["target"]["buffs"]["countFont"] = "Exo2-Bold"
Expand All @@ -17,10 +16,11 @@ function NoobTacoUI:UnitframeTarget()
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetHealth"]["fontOutline"] = "NONE"
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetHealth"]["justifyH"] = "LEFT"
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetHealth"]["size"] = 15
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetHealth"]["text_format"] = "[health:current-percent:shortvalue]"
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetHealth"]["text_format"] =
"[health:current-percent:shortvalue]"
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetHealth"]["xOffset"] = 5
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetHealth"]["yOffset"] = -10
--
--
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetLevel"]["attachTextTo"] = "Health"
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetLevel"]["enable"] = true
E.db["unitframe"]["units"]["target"]["customTexts"]["TargetLevel"]["font"] = "Exo2-Bold"
Expand Down

0 comments on commit 0907dc9

Please sign in to comment.