Untitled

mail@pastecode.io avatar
unknown
plain_text
11 days ago
462 B
2
Indexable
Never
function (self, unitId, unitFrame, envTable, scriptTable)
    if envTable.shatteringBlade then
        if envTable._StackCount == 5 then
            envTable.razoriceGlow:Show()
            Plater.SetNameplateColor(unitFrame, 0.5, 0, 0.5)  -- RGB for purple
            
        else
            envTable.razoriceGlow:Hide()
            Plater.SetNameplateColor(unitFrame, nil, nil, nil)  -- Reset to default color
            
        end      
    end
    
end
Leave a Comment