AdiButtonAuras

AdiButtonAuras

404k Downloads

plz add flash charged combo for rogues

SlivaNilow opened this issue · 1 comments

commented

my variant

Configure {
            "ChargedComboFlash",
            "Show flash on charge combo",
            {
                196819, -- Потрошение
				  1943, --Рваная рана
				319175, --Черный порох
				315341, --Промеж глаз
				  2098, --Устранение
				 32645, --Отравление
            },
            "target",
            "UNIT_POWER_UPDATE",
            function(_, model)
                local cur = UnitPower("player", 4, true)

                if (cur == 2 and GetBuff("player", 323558)) then
                    model.highlight = "flash";
                end

                if (cur == 3 and GetBuff("player", 323559)) then
                    model.highlight = "flash";
                end

                if (cur == 4 and GetBuff("player", 323560)) then
                    model.highlight = "flash";
                end
            end,
        },
commented

Is 323547 the correct provider for this rule?