<commit_before>﻿local R, L, P = unpack(select(2, ...)) --Import: Engine, Locales, ProfileDB, local

local positions = {
    player_buff_icon    = { "BOTTOMRIGHT", "RayUF_player", "TOPRIGHT", 0, 80 },	-- "玩家buff&debuff"
    target_buff_icon    = { "BOTTOMLEFT", "RayUF_target", "TOPLEFT", 0, 80 },	-- "目标buff&debuff"
    player_proc_icon    = { "BOTTOMRIGHT", "RayUF_player", "TOPRIGHT", 0, 33 },	-- "玩家重要buff&debuff"
    target_proc_icon    = { "BOTTOMLEFT", "RayUF_target", "TOPLEFT", 0, 33 },	-- "目标重要buff&debuff"
    focus_buff_icon     = { "BOTTOMLEFT", "RayUF_focus", "TOPLEFT", 0, 10 },	-- "焦点buff&debuff"
    cd_icon             = function() return R:IsDeveloper() and { "TOPLEFT", "RayUIActionBar1", "BOTTOMLEFT", 0, -6 } or { "TOPLEFT", "RayUIActionBar3", "BOTTOMRIGHT", -28, -6 } end,	-- "cd"
    player_special_icon = { "TOPRIGHT", "RayUF_player", "BOTTOMRIGHT", 0, -9 }, -- "玩家特殊buff&debuff"
    pve_player_icon     = { "BOTTOM", UIParent, "BOTTOM", -35, 350 }, -- "PVE/PVP玩家buff&debuff"
    pve_target_icon     = { "BOTTOM", UIParent, "BOTTOM", 35, 350 }, -- "PVE/PVP目标buff&debuff"
}

R["Watcher"] = {
    ["filters"] = {
        ["DRUID"] = {
            {
                name = "玩家buff&debuff",
                direction = "LEFT",
                setpoint = positions.player_buff_icon,
                size = 28,

                --生命之花
                { spellID = 33763, unitId = "player", caster = "player", filter = "BUFF" },
                --回春術
                { spellID = 774, unitId = "player", caster = "player", filter = "BUFF" },
                --癒合
                { spellID = 8936, unitId = "player", caster = "player", filter = "BUFF" },
                --共生
                { spellID = 100977, unitId = "player", caster = "player", filter = "BUFF" },
            },
            {
                name = "目标buff&debuff",
                direction = "RIGHT",
                setpoint = positions.target_buff_icon,
                size = 28,

                --生命之花
                { spellID = 33763, unitId = "target", caster = "player", filter = "BUFF" },
                --回春術
                { spellID = 774, unitId = "target", caster = "player", filter = "BUFF" },
                --癒合
                { spellID = 8936, unitId = "target", caster = "player", filter = "BUFF" },
                --精靈群襲
                { spellID = 102355, unitId = "target", caster = "all", filter = "DEBUFF" },
            },
            {
                name = "玩家重要buff&debuff",
                direction = "LEFT",
                setpoint = positions.player_proc_icon,
                size = 38,
                --日之巅
		{spellID = 171744, unitID = "player", caster = "player", filter = "BUFF"},
		--月之巅
		{spellID = 171743, unitID = "player", caster = "player", filter = "BUFF"},
		--月光增效
		{spellID = 164547, unitID = "player", caster = "player", filter = "BUFF"},
		--日光增效
		{spellID = 164545, unitID = "player", caster = "player", filter = "BUFF"},
                --流星
                { spellID = 93400, unitId = "player", caster = "player", filter = "BUFF" },
                --兇蠻咆哮
                { spellID = 52610, unitId = "player", caster = "player", filter = "BUFF" },
                --求生本能
                { spellID = 61336, unitId = "player", caster = "player", filter = "BUFF" },
                --節能施法
                { spellID = 16870, unitId = "player", caster = "player", filter = "BUFF" },
                --樹皮術
                { spellID = 22812, unitId = "player", caster = "player", filter = "BUFF" },
                --狂暴
                { spellID = 106951, unitId = "player", caster = "player", filter = "BUFF" },
                --狂暴恢復
                { spellID = 22842, unitId = "player", caster = "player", filter = "BUFF" },
                --猛獸迅捷
                { spellID = 69369, unitId = "player", caster = "player", filter = "BUFF" },
                --自然戒備
                { spellID = 124974, unitId = "player", caster = "player", filter = "BUFF" },
                --森林之魂
                { spellID = 114108, unitId = "player", caster = "player", filter = "BUFF" },
                --星殞術
                { spellID = 48505, unitId = "player", caster = "player", filter = "BUFF" },
                --星穹大連線
                { spellID = 112071, unitId = "player", caster = "player", filter = "BUFF" },
                --化身
                { spellID = 117679, unitId = "player", caster = "player", filter = "BUFF" },
                --野性之心
                { spellID = 108294, unitId = "player", caster = "player", filter = "BUFF" },
            },
            {
                name = "目标重要buff&debuff",
                direction = "RIGHT",
                setpoint = positions.target_proc_icon,
                size = 38,

                --糾纏根鬚
                { spellID = 339, unitId = "target", caster = "all", filter = "DEBUFF" },
                --颶風術
                { spellID = 33786, unitId = "target", caster = "all", filter = "DEBUFF" },
                --月火術
                { spellID = 8921, unitId = "target", caster = "player", filter = "DEBUFF" },
                --日炎術
                { spellID = 93402, unitId = "target", caster = "player", filter = "DEBUFF" },
                --掃擊
                { spellID = 1822, unitId = "target", caster = "player", filter = "DEBUFF" },
                --撕扯
                { spellID = 1079, unitId = "target", caster = "player", filter = "DEBUFF" },
                --割裂
                { spellID = 33745, unitId = "target", caster = "player", filter = "DEBUFF" },
                --痛擊
                { spellID = 106830, unitId = "target", caster = "player", filter = "DEBUFF" },
                --傷殘術
                { spellID = 22570, unitId = "target", caster = "player", filter = "DEBUFF" },
            },
            {
                name = "焦点buff&debuff",
                direction = "UP",
                setpoint = positions.focus_buff_icon,
                size = 24,
                mode = "BAR",
                iconSide = "LEFT",
                barWidth = 170,

                --糾纏根鬚
                { spellID = 339, unitId = "focus", caster = "all", filter = "DEBUFF" },
                --颶風術
                { spellID = 33786, unitId = "focus", caster = "all", filter = "DEBUFF" },
            },
            {
                name = "CD",
                iconSide = "LEFT",
                size = 28,
                barWidth = 170,
                direction = function() return R:IsDeveloper() and "RIGHT" or "DOWN" end,
                mode = function() return R:IsDeveloper() and "ICON" or "BAR" end,
                setpoint = positions.cd_icon,

                --狂暴
                { spellID = 50334, filter = "CD" },
                --狂暴恢復
                { spellID = 22842, filter = "CD" },
                --複生
                { spellID = 20484, filter = "CD" },
                --樹皮術
                { spellID = 22812, filter = "CD" },
                --寧靜
                { spellID = 740, filter = "CD" },
                --自然戒備
                { spellID = 124974, filter = "CD" },
                --星穹大連線
                { spellID = 112071, filter = "CD" },

                -- 物品
                -- 手套<commit_msg>完善喵德BUFF DEBUFF CD监控<commit_after>﻿local R, L, P = unpack(select(2, ...)) --Import: Engine, Locales, ProfileDB, local

local positions = {
    player_buff_icon    = { "BOTTOMRIGHT", "RayUF_player", "TOPRIGHT", 0, 80 },	-- "玩家buff&debuff"
    target_buff_icon    = { "BOTTOMLEFT", "RayUF_target", "TOPLEFT", 0, 80 },	-- "目标buff&debuff"
    player_proc_icon    = { "BOTTOMRIGHT", "RayUF_player", "TOPRIGHT", 0, 33 },	-- "玩家重要buff&debuff"
    target_proc_icon    = { "BOTTOMLEFT", "RayUF_target", "TOPLEFT", 0, 33 },	-- "目标重要buff&debuff"
    focus_buff_icon     = { "BOTTOMLEFT", "RayUF_focus", "TOPLEFT", 0, 10 },	-- "焦点buff&debuff"
    cd_icon             = function() return R:IsDeveloper() and { "TOPLEFT", "RayUIActionBar1", "BOTTOMLEFT", 0, -6 } or { "TOPLEFT", "RayUIActionBar3", "BOTTOMRIGHT", -28, -6 } end,	-- "cd"
    player_special_icon = { "TOPRIGHT", "RayUF_player", "BOTTOMRIGHT", 0, -9 }, -- "玩家特殊buff&debuff"
    pve_player_icon     = { "BOTTOM", UIParent, "BOTTOM", -35, 350 }, -- "PVE/PVP玩家buff&debuff"
    pve_target_icon     = { "BOTTOM", UIParent, "BOTTOM", 35, 350 }, -- "PVE/PVP目标buff&debuff"
}

R["Watcher"] = {
    ["filters"] = {
        ["DRUID"] = {
            {
                name = "玩家buff&debuff",
                direction = "LEFT",
                setpoint = positions.player_buff_icon,
                size = 28,

                --生命之花
                { spellID = 33763, unitId = "player", caster = "player", filter = "BUFF" },
                --回春術
                { spellID = 774, unitId = "player", caster = "player", filter = "BUFF" },
                --癒合
                { spellID = 8936, unitId = "player", caster = "player", filter = "BUFF" },
                --共生
                { spellID = 100977, unitId = "player", caster = "player", filter = "BUFF" },
            },
            {
                name = "目标buff&debuff",
                direction = "RIGHT",
                setpoint = positions.target_buff_icon,
                size = 28,

                --生命之花
                { spellID = 33763, unitId = "target", caster = "player", filter = "BUFF" },
                --回春術
                { spellID = 774, unitId = "target", caster = "player", filter = "BUFF" },
                --癒合
                { spellID = 8936, unitId = "target", caster = "player", filter = "BUFF" },
                --精靈群襲
                { spellID = 102355, unitId = "target", caster = "all", filter = "DEBUFF" },
            },
            {
                name = "玩家重要buff&debuff",
                direction = "LEFT",
                setpoint = positions.player_proc_icon,
                size = 38,
                --日之巅
		{spellID = 171744, unitID = "player", caster = "player", filter = "BUFF"},
		--月之巅
		{spellID = 171743, unitID = "player", caster = "player", filter = "BUFF"},
		--月光增效
		{spellID = 164547, unitID = "player", caster = "player", filter = "BUFF"},
		--日光增效
		{spellID = 164545, unitID = "player", caster = "player", filter = "BUFF"},
                --流星
                { spellID = 93400, unitId = "player", caster = "player", filter = "BUFF" },
                --兇蠻咆哮
                { spellID = 52610, unitId = "player", caster = "player", filter = "BUFF" },
                --求生本能
                { spellID = 61336, unitId = "player", caster = "player", filter = "BUFF" },
                --節能施法
                { spellID = 16870, unitId = "player", caster = "player", filter = "BUFF" },
                --樹皮術
                { spellID = 22812, unitId = "player", caster = "player", filter = "BUFF" },
                --狂暴
                { spellID = 106951, unitId = "player", caster = "player", filter = "BUFF" },
                --狂暴恢復
                { spellID = 22842, unitId = "player", caster = "player", filter = "BUFF" },
                --猛獸迅捷
                { spellID = 69369, unitId = "player", caster = "player", filter = "BUFF" },
                --自然戒備
                { spellID = 124974, unitId = "player", caster = "player", filter = "BUFF" },
                --森林之魂
                { spellID = 114108, unitId = "player", caster = "player", filter = "BUFF" },
                --星殞術
                { spellID = 48505, unitId = "player", caster = "player", filter = "BUFF" },
                --星穹大連線
                { spellID = 112071, unitId = "player", caster = "player", filter = "BUFF" },
                --化身:艾露恩之眷
                { spellID = 117679, unitId = "player", caster = "player", filter = "BUFF" },
                --野性之心
                { spellID = 108294, unitId = "player", caster = "player", filter = "BUFF" },
                --化身:丛林之王
                { spellID = 102543, unitId = "player", caster = "player", filter = "BUFF" },
                --猛虎之怒
                { spellID = 5217, unitId = "player", caster = "player", filter = "BUFF" },
                --野蛮咆哮雕文
                { spellID = 174544, unitId = "player", caster = "player", filter = "BUFF" },
            },
            {
                name = "目标重要buff&debuff",
                direction = "RIGHT",
                setpoint = positions.target_proc_icon,
                size = 38,

                --糾纏根鬚
                { spellID = 339, unitId = "target", caster = "all", filter = "DEBUFF" },
                --颶風術
                { spellID = 33786, unitId = "target", caster = "all", filter = "DEBUFF" },
                --月火術
                { spellID = 8921, unitId = "target", caster = "player", filter = "DEBUFF" },
                --日炎術
                { spellID = 93402, unitId = "target", caster = "player", filter = "DEBUFF" },
                --掃擊
                { spellID = 1822, unitId = "target", caster = "player", filter = "DEBUFF" },
                --撕扯
                { spellID = 1079, unitId = "target", caster = "player", filter = "DEBUFF" },
                --割裂
                { spellID = 33745, unitId = "target", caster = "player", filter = "DEBUFF" },
                --痛擊
                { spellID = 106830, unitId = "target", caster = "player", filter = "DEBUFF" },
                --傷殘術
                { spellID = 22570, unitId = "target", caster = "player", filter = "DEBUFF" },
                --斜掠
                { spellID = 155722, unitId = "target", caster = "player", filter = "DEBUFF" },
            },
            {
                name = "焦点buff&debuff",
                direction = "UP",
                setpoint = positions.focus_buff_icon,
                size = 24,
                mode = "BAR",
                iconSide = "LEFT",
                barWidth = 170,

                --糾纏根鬚
                { spellID = 339, unitId = "focus", caster = "all", filter = "DEBUFF" },
                --颶風術
                { spellID = 33786, unitId = "focus", caster = "all", filter = "DEBUFF" },
            },
            {
                name = "CD",
                iconSide = "LEFT",
                size = 28,
                barWidth = 170,
                direction = function() return R:IsDeveloper() and "RIGHT" or "DOWN" end,
                mode = function() return R:IsDeveloper() and "ICON" or "BAR" end,
                setpoint = positions.cd_icon,

                --狂暴
                { spellID = 50334, filter = "CD" },
                --狂暴恢復
                { spellID = 22842, filter = "CD" },
                --複生
                { spellID = 20484, filter = "CD" },
                --樹皮術
                { spellID = 22812, filter = "CD" },
                --寧靜
                { spellID = 740, filter = "CD" },
                --自然戒備
                { spellID = 124974, filter = "CD" },
                --星穹大連線
                { spellID = 112071, filter = "CD" },
                --野性位移
                { spellID = 102280, filter = "CD" },
                --化身
                { spellID = 102560, filter = "CD" },
                --野性位移
                { spellID = 102280, filter = "CD" },
                --狂奔怒吼
                { spellID = 106898, filter = "CD" },
                --急奔
                { spellID = 1850, filter = "CD" },
                --日光术
                { spellID = 78675, filter = "CD" },
                --猛虎之怒
                { spellID = 5217, filter = "CD" },
                --影遁
                { spellID = 58984, filter = "CD" },

                -- 物品
                -- 手套
{'fraction_non_alphanumeric': 0.1517427305988831, 'fraction_numerical': 0.03915527312407728, 'mean_word_length': 1.3524082741959838, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4733731', 'n_tokens_mistral': 5807, 'n_tokens_neox': 5153, 'n_words': 1143}