my rule and my type of HIGHLIGHT
mateuszgrochowski opened this issue ยท 2 comments
How can i modify this code to HIGHLIGHT as "FLASH" not "GREEN". I know there is global option but I have two buffs shown on the same spell stacking...
return SelfBuffAliases {315496, 121153}
I assume you want to show a flash on Slcie and Dice when Blindside is on the player. If so, something like that should work:
return Configure {
'BlindslideSlice',
BuildDesc('HELPFUL PLAYER', 'flash', 'player', 121153),
315496, -- Slice and Dice
'player',
'UNIT_AURA',
function(_, model)
local hasBlindside = GetPlayerBuff('player', 121153)
if hasBlindside then
model.flash = true
end
end,
121153, -- Blindside
}