From 80471afb3b5d30c6c2aff6e48e274f13addfcbbe Mon Sep 17 00:00:00 2001 From: d87 Date: Sat, 3 Feb 2024 02:53:17 +0700 Subject: [PATCH] Added LunarPower etc. power handlers --- Aptechka.lua | 3 +++ frame.lua | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/Aptechka.lua b/Aptechka.lua index 3317719..a3b0bee 100644 --- a/Aptechka.lua +++ b/Aptechka.lua @@ -1492,6 +1492,9 @@ local PowerTypeHandlers = { RUNIC_POWER = MakeForcedPowerHandlerForType(Enum.PowerType.RunicPower), FURY = MakeForcedPowerHandlerForType(Enum.PowerType.Fury), PAIN = MakeForcedPowerHandlerForType(Enum.PowerType.Fury), -- Pain was merged with Fury in DF + INSANITY = MakeForcedPowerHandlerForType(Enum.PowerType.Insanity), + LUNAR_POWER = MakeForcedPowerHandlerForType(Enum.PowerType.LunarPower), + MAELSTROM = MakeForcedPowerHandlerForType(Enum.PowerType.Maelstrom), } function Aptechka.FrameUpdatePower(frame, unit, ptype) diff --git a/frame.lua b/frame.lua index e4890a2..212dc8d 100644 --- a/frame.lua +++ b/frame.lua @@ -717,7 +717,11 @@ end local forcedStandardFillPowerTypes = { RAGE = true, FURY = true, + PAIN = true, RUNIC_POWER = true, + INSANITY = true, + MAELSTROM = true, + LUNAR_POWER = true, } local PowerBar_OnPowerTypeChange = function(powerbar, powerType, hidePower)