local addonName, ZLAUTO = ...
ZLAUTO.mainFrame = CreateFrame("Frame", "ZLAUTOAUCTIONMAINFRAME", UIParent) --主框架
ZLAUTO.mainFrame:SetPoint("CENTER")
ZLAUTO.mainFrame:SetSize(5, 5)

local ZL = ZLAUTO.mainFrame
-- 依赖库: AceAddon-3.0, AceComm-3.0, LibSerialize, LibDeflate
local MyAddon = LibStub("AceAddon-3.0"):GetAddon("AutoAuction", true)
if not MyAddon then
    MyAddon = LibStub("AceAddon-3.0"):NewAddon("AutoAuction", "AceComm-3.0", 'LibClass-2.0', 'AceEvent-3.0')
end
ZL.MyAddon = MyAddon
ZLAUTO.MyAddon = MyAddon
ZL.GUI = LibStub('tdGUI-1.0')
ZL.LogoPath = "Interface\\AddOns\\" .. addonName .. "\\Images\\ZL.png"
ZL.LogoPath2 = "Interface\\AddOns\\" .. addonName .. "\\Images\\ZL2.png"
local GetCurrencyInfo = C_CurrencyInfo and C_CurrencyInfo.GetCurrencyInfo or GetCurrencyInfo

BINDING_HEADER_AUTOAUCTION = "|T" .. ZL.LogoPath .. ":15:15|t AutoAuction[|cffffffff金团拍卖助手AA|r]"
BINDING_NAME_AUCTIONFRAME = "打开/关闭 |cffffffff拍卖窗口|r"
BINDING_NAME_BILLOVERVIEWFRAME = "打开/关闭 |cffffffff账单总览窗口|r"
BINDING_NAME_BATHSTART = "批量拍卖 |cffffffff待拍卖|r物品"
BINDING_NAME_REPORTINCOMECONFIRM = "通报 |cffffffff详细收支|r"

ZL.setsItemLevelData = {
    --时光服开始
    --P1:MC
    ["260489"] = 213, ["260490"] = 213, ["260491"] = 213, ["260492"] = 213, ["260493"] = 213, ["260494"] = 213, ["260495"] = 213, ["260496"] = 213, --死亡骑士、法师、德鲁伊
    ["260497"] = 213, ["260498"] = 213, ["260499"] = 213, ["260500"] = 213, ["260501"] = 213, ["260502"] = 213, ["260503"] = 213, ["260504"] = 213, --骑士、盗贼、萨满
    ["260505"] = 213, ["260506"] = 213, ["260507"] = 213, ["260508"] = 213, ["260509"] = 213, ["260510"] = 213, ["260511"] = 213, ["260512"] = 213, --战士、猎人、牧师、术士
    --P2:风暴要塞、毒蛇神殿
    ["30236"] = 219, ["30248"] = 219, ["30239"] = 219, ["30245"] = 219, ["30242"] = 219,
    ["30237"] = 219, ["30249"] = 219, ["30240"] = 219, ["30246"] = 219, ["30243"] = 219,
    ["30238"] = 219, ["30250"] = 219, ["30241"] = 219, ["30247"] = 219, ["30244"] = 219,
    --P3:NAXX、黑曜石圣殿
    -- ["40637"] = 226, ["40625"] = 226, ["40634"] = 226, ["40631"] = 226, ["40628"] = 226,
    -- ["40638"] = 226, ["40626"] = 226, ["40635"] = 226, ["40632"] = 226, ["40629"] = 226,
    -- ["40639"] = 226, ["40627"] = 226, ["40636"] = 226, ["40633"] = 226, ["40630"] = 226,
    --P4:
    --P5:
    --时光服结束
    
    ["78847"] = 410, ["78850"] = 410, ["78853"] = 410, ["78856"] = 410, ["78859"] = 410, --T13 骑士、牧师、术士
    ["78848"] = 410, ["78851"] = 410, ["78854"] = 410, ["78857"] = 410, ["78860"] = 410, --T13 战士、猎人、萨满
    ["78849"] = 410, ["78852"] = 410, ["78855"] = 410, ["78858"] = 410, ["78861"] = 410, --T13 潜行者、死亡骑士、法师、德鲁伊

    ["52030"] = 277, --T10 骑士、牧师、术士
    ["52029"] = 277, --T10 战士、猎人、萨满
    ["52028"] = 277, --T10 潜行者、死亡骑士、法师、德鲁伊

    ["52027"] = 264, --T10 骑士、牧师、术士
    ["52026"] = 264, --T10 战士、猎人、萨满
    ["52025"] = 264, --T10 潜行者、死亡骑士、法师、德鲁伊

    ["47557"] = 258, --T9 258 骑士、牧师、术士
    ["47558"] = 258, --T9 258 战士、猎人、萨满
    ["47559"] = 258, --T9 258 潜行者、死亡骑士、法师、德鲁伊

    ["45641"] = 232, ["45656"] = 232, ["45653"] = 232, ["45632"] = 232, ["45638"] = 232, --T8 232 骑士、牧师、术士
    ["45642"] = 232, ["45657"] = 232, ["45654"] = 232, ["45633"] = 232, ["45639"] = 232, --T8 232 战士、猎人、萨满
    ["45643"] = 232, ["45658"] = 232, ["45655"] = 232, ["45634"] = 232, ["45640"] = 232, --T8 232 潜行者、死亡骑士、法师、德鲁伊

    ["45644"] = 225, ["45659"] = 225, ["45650"] = 225, ["45635"] = 225, ["45647"] = 225, --T8 225 骑士、牧师、术士
    ["45645"] = 225, ["45660"] = 225, ["45651"] = 225, ["45636"] = 225, ["45648"] = 225, --T8 225 战士、猎人、萨满
    ["45646"] = 225, ["45661"] = 225, ["45652"] = 225, ["45637"] = 225, ["45649"] = 225, --T8 225 潜行者、死亡骑士、法师、德鲁伊

    ["40628"] = 213, ["40634"] = 213, ["40637"] = 213, ["40631"] = 213, ["40625"] = 213, --T7 213 骑士、牧师、术士
    ["40629"] = 213, ["40635"] = 213, ["40638"] = 213, ["40632"] = 213, ["40626"] = 213, --T7 213 战士、猎人、萨满
    ["40630"] = 213, ["40636"] = 213, ["40639"] = 213, ["40633"] = 213, ["40627"] = 213, --T7 213 潜行者、死亡骑士、法师、德鲁伊

    ["40613"] = 200, ["40619"] = 200, ["40622"] = 200, ["40616"] = 200, ["40610"] = 200, --T7 200 骑士、牧师、术士
    ["40614"] = 200, ["40620"] = 200, ["40623"] = 200, ["40617"] = 200, ["40611"] = 200, --T7 200 战士、猎人、萨满
    ["40615"] = 200, ["40621"] = 200, ["40624"] = 200, ["40618"] = 200, ["40612"] = 200, --T7 200 潜行者、死亡骑士、法师、德鲁伊
}

ZL.itemSubType = {
    ["布甲"] = "布甲",
    ["皮甲"] = "皮甲",
    ["锁甲"] = "锁甲",
    ["板甲"] = "板甲",
    ["盾牌"] = "盾牌",
    ["容器"] = "包",
}
ZL.itemEquipLoc1 = {
    ["INVTYPE_HEAD"] = "头",  --1
    ["INVTYPE_NECK"] = "项链", --2
    ["INVTYPE_SHOULDER"] = "肩膀", --3
    ["INVTYPE_BODY"] = "衬衫", --4
    ["INVTYPE_CHEST"] = "胸", --5
    ["INVTYPE_ROBE"] = "胸", --5
    ["INVTYPE_WAIST"] = "腰带", --6
    ["INVTYPE_LEGS"] = "腿", --7
    ["INVTYPE_FEET"] = "鞋", --8
    ["INVTYPE_WRIST"] = "护腕", --9
    ["INVTYPE_HAND"] = "手", --10
    ["INVTYPE_FINGER"] = "戒指", --11,12
    ["INVTYPE_TRINKET"] = "饰品", --13,14
    ["INVTYPE_CLOAK"] = "披风", --15
    ["INVTYPE_RANGED"] = "远程武器", --16
    ["INVTYPE_THROWN"] = "投掷武器", --16
    ["INVTYPE_2HWEAPON"] = "双手", --16武器
    ["INVTYPE_WEAPONMAINHAND"] = "主手", --16主手武器
    ["INVTYPE_WEAPON"] = "单手", --16,17
    ["INVTYPE_SHIELD"] = "盾牌", --17
    ["INVTYPE_WEAPONOFFHAND"] = "副手", --17副手武器
    ["INVTYPE_HOLDABLE"] = "副手", --17法系副手物品
    ["INVTYPE_RELIC"] = "圣物", --18
    ["INVTYPE_RANGEDRIGHT"] = "魔杖", --18
    ["INVTYPE_TABARD"] = "战袍", --19
    ["INVTYPE_AMMO"] = "弹药", --0
    ["INVTYPE_QUIVER"] = "箭袋",
    ["INVTYPE_BAG"] = "包",
}
ZL.itemEquipLoc = {
    INVTYPE_HEAD = INVTYPE_HEAD,  --1
    INVTYPE_NECK = INVTYPE_NECK, --2
    INVTYPE_SHOULDER = INVTYPE_SHOULDER, --3
    INVTYPE_BODY = INVTYPE_BODY, --4
    INVTYPE_CHEST = INVTYPE_CHEST, --5
    INVTYPE_ROBE = INVTYPE_ROBE, --5
    INVTYPE_WAIST = INVTYPE_WAIST, --6
    INVTYPE_LEGS = INVTYPE_LEGS, --7
    INVTYPE_FEET = INVTYPE_FEET, --8
    INVTYPE_WRIST = INVTYPE_WRIST, --9
    INVTYPE_HAND = INVTYPE_HAND, --10
    INVTYPE_FINGER = INVTYPE_FINGER, --11,12
    INVTYPE_TRINKET = INVTYPE_TRINKET, --13,14
    INVTYPE_CLOAK = INVTYPE_CLOAK, --15
    INVTYPE_RANGED = INVTYPE_RANGED, --16
    INVTYPE_THROWN = INVTYPE_THROWN, --16
    INVTYPE_2HWEAPON = INVTYPE_2HWEAPON, --16武器
    INVTYPE_WEAPONMAINHAND = INVTYPE_WEAPONMAINHAND, --16主手武器
    INVTYPE_WEAPON = INVTYPE_WEAPON, --16,17
    INVTYPE_SHIELD = INVTYPE_SHIELD, --17
    INVTYPE_WEAPONOFFHAND = INVTYPE_WEAPONOFFHAND, --17副手武器
    INVTYPE_HOLDABLE = INVTYPE_HOLDABLE, --17法系副手物品
    INVTYPE_RELIC = INVTYPE_RELIC, --18
    INVTYPE_RANGEDRIGHT = INVTYPE_RANGEDRIGHT, --18
    INVTYPE_TABARD = INVTYPE_TABARD, --19
    INVTYPE_AMMO = INVTYPE_AMMO, --0
    INVTYPE_QUIVER = INVTYPE_QUIVER,
    INVTYPE_BAG = INVTYPE_BAG,
    INVTYPE_PROFESSION_TOOL = INVTYPE_PROFESSION_TOOL, --20, 23
    INVTYPE_PROFESSION_GEAR = INVTYPE_PROFESSION_GEAR, --21, 22, 24, 25
    INVTYPE_EQUIPABLESPELL_OFFENSIVE = INVTYPE_EQUIPABLESPELL_OFFENSIVE,
    INVTYPE_EQUIPABLESPELL_UTILITY = INVTYPE_EQUIPABLESPELL_UTILITY,
    INVTYPE_EQUIPABLESPELL_DEFENSIVE = INVTYPE_EQUIPABLESPELL_DEFENSIVE,
    INVTYPE_EQUIPABLESPELL_WEAPON = INVTYPE_EQUIPABLESPELL_WEAPON,
}
ZL.invTypeToSlotId = {
    [1] = 1, [2] = 2, [3] = 3, [4] = 4, [5] = 5, [6] = 6, [7] = 7, [8] = 8, [9] = 9, [10] = 10,
    [11] = 11, [12] = 13, [13] = 16, [14] = 17, [15] = 16, [16] = 15, [17] = 16, [19] = 19, [20] = 5, [21] = 16,
    [22] = 16, [23] = 17, [25] = 16, [26] = 16, [28] = 18, [29] = 20, [30] = 21,
}
ZL.itemStats = {
    ["ITEM_MOD_ARMOR_PENETRATION_RATING"] = "护甲穿透",
    ["ITEM_MOD_ATTACK_POWER"] = "攻强",
    ["ITEM_MOD_BLOCK_RATING"] = "格挡",
    ["ITEM_MOD_BLOCK_VALUE"] = "格挡值",
    ["ITEM_MOD_CRIT_MELEE_RATING"] = "近战暴击",
    ["ITEM_MOD_CRIT_RANGED_RATING"] = "远程暴击",
    ["ITEM_MOD_CRIT_RATING"] = "暴击",
    ["ITEM_MOD_CRIT_SPELL_RATING"] = "法术暴击",
    ["ITEM_MOD_CRIT_TAKEN_MELEE_RATING"] = "近战爆击躲闪",
    ["ITEM_MOD_CRIT_TAKEN_RANGED_RATING"] = "远程暴击躲闪",
    ["ITEM_MOD_CRIT_TAKEN_RATING"] = "暴击躲闪",
    ["ITEM_MOD_CRIT_TAKEN_SPELL_RATING"] = "法术爆击躲闪",
    ["ITEM_MOD_DEFENSE_SKILL_RATING"] = "防御",
    ["ITEM_MOD_DODGE_RATING"] = "躲闪",
    ["ITEM_MOD_EXPERTISE_RATING"] = "精准",
    ["ITEM_MOD_EXTRA_ARMOR"] = "护甲",
    ["ITEM_MOD_HASTE_RATING"] = "急速",
    ["ITEM_MOD_FERAL_ATTACK_POWER"] = "变形攻强",
    ["ITEM_MOD_HEALTH_REGEN"] = "5回血",
    ["ITEM_MOD_HEALTH_REGENERATION"] = "5回血",
    ["ITEM_MOD_HIT_MELEE_RATING"] = "近战命中",
    ["ITEM_MOD_HIT_RANGED_RATING"] = "远程命中",
    ["ITEM_MOD_HIT_RATING"] = "命中",
    ["ITEM_MOD_HIT_SPELL_RATING"] = "法术命中",
    ["ITEM_MOD_HIT_TAKEN_MELEE_RATING"] = "近战命中躲闪",
    ["ITEM_MOD_HIT_TAKEN_RANGED_RATING"] = "远程命中躲闪",
    ["ITEM_MOD_HIT_TAKEN_RATING"] = "命中躲闪",
    ["ITEM_MOD_HIT_TAKEN_SPELL_RATING"] = "法术命中躲闪",
    ["ITEM_MOD_MANA_REGENERATION"] = "5回蓝",
    ["ITEM_MOD_MASTERY_RATING"] = "精通",
    ["ITEM_MOD_PARRY_RATING"] = "招架",
    ["ITEM_MOD_PVP_POWER"] = "PvP强度",
    ["ITEM_MOD_RANGED_ATTACK_POWER"] = "远程攻强",
    ["ITEM_MOD_RESILIENCE_RATING"] = "PVP韧性",
    ["ITEM_MOD_SPELL_DAMAGE_DONE"] = "法术伤害加成",
    ["ITEM_MOD_SPELL_HEALING_DONE"] = "治疗加成",
    ["ITEM_MOD_SPELL_PENETRATION"] = "法术穿透",
    ["ITEM_MOD_SPELL_POWER"] = "法强",
    ["MELEE_ATTACK_POWER_TOOLTIP"] = "近战秒伤",
    ["RANGED_ATTACK_POWER_TOOLTIP"] = "远程秒伤",
}
ZL.socketStats = {
    EMPTY_SOCKET_BLUE = "蓝色插槽",
    EMPTY_SOCKET_COGWHEEL = "齿轮插槽",
    EMPTY_SOCKET_CYPHER = "晶态插槽",
    EMPTY_SOCKET_DOMINATION = "统御插槽",
    EMPTY_SOCKET_FRAGRANCE = "芬芳镶孔",
    EMPTY_SOCKET_HYDRAULIC = "染煞",
    EMPTY_SOCKET_META = "多彩插槽",
    EMPTY_SOCKET_NO_COLOR = "棱彩插槽",
    EMPTY_SOCKET_PRIMORDIAL = "始源镶孔",
    EMPTY_SOCKET_PRISMATIC = "棱彩插槽",
    EMPTY_SOCKET_PUNCHCARDBLUE = "蓝色打孔卡插槽",
    EMPTY_SOCKET_PUNCHCARDRED = "红色打孔卡插槽",
    EMPTY_SOCKET_PUNCHCARDYELLOW = "黄色打孔卡插槽",
    EMPTY_SOCKET_RED = "红色插槽",
    EMPTY_SOCKET_TINKER = "匠械插槽",
    EMPTY_SOCKET_YELLOW = "黄色插槽",
}

ZL.numToChinese = {
    ["0"] = "零",
    ["1"] = "一",
    ["2"] = "二",
    ["3"] = "三",
    ["4"] = "四",
    ["5"] = "五",
    ["6"] = "六",
    ["7"] = "七",
    ["8"] = "八",
    ["9"] = "九"
}
--首领战名称列表
ZL.encounterNameList = {
    --MC
    "鲁西弗隆", "玛格曼达", "基赫纳斯", "加尔", "沙斯拉尔", "迦顿男爵", "焚化者古雷曼格", "萨弗隆先驱者", "管理者埃克索图斯", "拉格纳罗斯",
    --BWL
    "狂野的拉佐格尔", "堕落的瓦拉斯塔兹", "勒什雷尔", "费尔默", "埃博诺克", "弗莱格尔", "克洛玛古斯", "奈法利安",
    --祖尔格拉布
    "高阶祭司耶克里克", "高阶祭司温诺希斯", "高阶祭司玛尔里", "血领主曼多基尔", "疯狂之缘", "格里雷克", "哈札拉尔",
    "雷纳塔基", "乌苏雷", "加兹兰卡", "高阶祭司塞卡尔", "高阶祭司娅尔罗", "妖术师金度", "哈卡",
    --安其拉废墟
    "库林纳克斯", "拉贾克斯将军", "莫阿姆", "吞咽者布鲁", "狩猎者阿亚米斯", "无疤者奥斯里安",
    --安其拉神殿
    "预言者斯克拉姆", "安其拉三宝", "沙尔图拉", "顽强的范克瑞斯",
    "维希度斯", "哈霍兰公主", "双子皇帝", "奥罗", "克苏恩",
    --纳克萨玛斯
    "阿努布雷坎", "黑女巫法琳娜", "迈克斯纳", "瘟疫使者诺斯", "肮脏的希尔盖",
    "洛欧塞布", "教官拉苏维奥斯", "收割者戈提克", "天启四骑士", "帕奇维克",
    "格罗布鲁斯", "格拉斯", "塔迪乌斯", "萨菲隆", "克尔苏加德",
    --卡拉赞
    "猎手阿图门", "蹂躏者洛卡德", "滑翔者沙德基斯", "潜伏者希亚其斯", "莫罗斯", "贞节圣女", "歌剧院", "绿野仙踪", "大灰狼",
    "罗密欧与朱丽叶", "馆长", "特雷斯坦·邪蹄", "埃兰之影", "虚空幽龙", "国际象棋赛事", "玛克扎尔王子", "夜之魇",
    --格鲁尔的巢穴
    "莫加尔大王", "屠龙者格鲁尔",
    --玛瑟里顿的巢穴‌
    "玛瑟里顿",
    --毒蛇神殿
    "不稳定的海度斯", "鱼斯拉", "盲眼者莱欧瑟拉斯", "深水领主卡拉瑟雷斯", "莫洛格里·踏潮者", "瓦丝琪",
    --风暴要塞‌
    "奥", "空灵机甲", "大星术师索兰莉安", "凯尔萨斯·逐日者",
    --海加尔峰
    "雷基·冬寒", "安纳塞隆", "卡兹洛加", "阿兹加洛", "阿克蒙德",
    --黑暗神殿
    "高阶督军纳因图斯", "苏普雷姆斯", "阿卡玛之影", "古尔图格·血沸",
    "迷失者的圣骨匣", "塔隆·血魔", "莎赫拉丝主母", "伊利达雷议会", "伊利丹·怒风",
    --祖阿曼‌
    "埃基尔松", "纳洛拉克", "加亚莱", "哈尔拉兹", "妖术领主玛拉卡斯", "祖尔金",
    --太阳之井高地‌
    "卡雷苟斯", "布鲁塔卢斯", "菲米丝", "艾瑞达双子", "穆鲁", "基尔加丹",
    --‌黑曜石圣殿
    "萨塔里奥",
    --永恒之眼
    "玛里苟斯",
    --阿尔卡冯的宝库
    "岩石看守者阿尔卡冯", "风暴看守者埃玛尔隆", "火焰看守者科拉隆", "寒冰看守者图拉旺",
    --奥杜尔
    "烈焰巨兽", "掌炉者伊格尼斯", "锋鳞", "拆解者", "钢铁议会", "科隆加恩", "欧尔莉亚", "霍迪尔", "托里姆", "弗蕾亚", "米米尔隆", "维扎克斯将军", "尤格-萨隆", "观察者奥尔加隆",
    --TOC
    "诺森德猛兽", "加拉克苏斯大王", "阵营冠军", "瓦格里双子", "阿努巴拉克", "银色北伐军嘉奖宝箱",
    --黑龙MM
    "奥妮克希亚",
    --ICC冰冠堡垒
    "玛洛加尔领主", "亡语者女士", "冰冠冰川炮舰战", "死亡使者萨鲁法尔", "烂肠", "腐面",
    "普崔塞德教授", "鲜血议会", "兰娜瑟尔女王", "踏梦者瓦莉瑟瑞娅", "辛达苟萨", "巫妖王",
    --RS红玉圣殿
    "海里昂",
    --黑翼血环
    "艾卓曼德斯", "奇美隆", "熔喉", "马洛拉克", "奈法利安的末日", "全能防御系统",
    --暮光堡垒
    "元素议会", "古加尔", "哈尔弗斯·碎龙者", "瑟纳利昂和瓦里昂娜", "希奈丝特拉",
    --风神王座
    "奥拉基尔", "风之议会", "欧库塔尔",
    --巴拉丁监狱
    "阿丽萨巴尔", "阿尔加洛斯", "欧库塔尔",
    --火焰之地
    "管理者鹿盔", "贝丝缇拉克", "贝尔洛克", "拉格纳罗斯", "雷奥利斯领主", "沙恩诺克斯", "奥利瑟拉佐尔",
    --巨龙之魂
    "莫卓克", "督军佐诺兹", "不眠的约萨希", "哈格拉", "奥卓克希昂", "战争大师黑角", "死亡之翼的背脊", "疯狂的死亡之翼",

    --正式服
    --卡兹阿加
    "電什诺尔·无抱者", "考尔送克·休眠的保护者", "惊魂聚合体",
    "修拉伊·地渊之海的暴虐者", "欧尔塔·破碎山峦",
    --法力熔炉：欧米伽
    "集能哨兵", "卢米萨尔", "缚魂者娜欣达利", "熔炉编织者阿拉兹",
    "狩魂猎手", "弗兰克提鲁斯", "节点之王萨哈达尔", "诸界吞噬者迪门修斯",
    --至暗之夜
    "鲁阿夏尔", "索姆贝兰", "普雷达萨斯", "克拉格平",
    --虚影尖塔
    "元首阿福扎恩", "弗拉希乌斯", "陨落之王萨哈达尔", "威厄高尔和艾佐拉克", "光盲先锋军", "宇宙之冕",
    --梦境裂隙
    "奇美鲁斯，未梦之神",
    --进军奎尔丹纳斯
    "贝洛朗，奥的子嗣", "至暗之夜降临",
    --孢陨幽境
    "腐沼",
    --其他
    "其他", "打包拍卖", "手动添加", "补贴支出", "欠款名单", "收支总览", "工资分配", "拍卖合计"
}
--首领战ID与首领战名称对应列表，在CTM后可以直接通过API获取对应关系
ZL.encounterData = {
    --熔火之心MC
    [663] = "鲁西弗隆", [664] = "玛格曼达", [665] = "基赫纳斯", [666] = "加尔", [667] = "沙斯拉尔",
    [668] = "迦顿男爵", [669] = "萨弗隆先驱者", [670] = "焚化者古雷曼格", [671] = "管理者埃克索图斯", [672] = "拉格纳罗斯",
    --黑翼之巢BWL
    [610] = "狂野的拉佐格尔", [611] = "堕落的瓦拉斯塔兹", [612] = "勒什雷尔", [613] = "费尔默", [614] = "埃博诺克",
    [615] = "弗莱格尔", [616] = "克洛玛古斯", [617] = "奈法利安",
    --祖尔格拉布ZG
    [784] = "高阶祭司温诺希斯", [785] = "高阶祭司耶克里克", [786] = "高阶祭司玛尔里", [787] = "血领主曼多基尔", [788] = "疯狂之缘",
    [789] = "高阶祭司塞卡尔", [790] = "加兹兰卡", [791] = "高阶祭司娅尔罗", [792] = "妖术师金度", [793] = "哈卡",
    --安其拉废墟
    [718] = "库林纳克斯", [719] = "拉贾克斯将军", [720] = "莫阿姆", [721] = "吞咽者布鲁", [722] = "狩猎者阿亚米斯", [723] = "无疤者奥斯里安",
    --安其拉神殿
    [709] = "预言者斯克拉姆", [710] = "安其拉三宝", [711] = "沙尔图拉", [712] = "顽强的范克瑞斯", [713] = "维希度斯",
    [714] = "哈霍兰公主", [715] = "双子皇帝", [716] = "奥罗", [717] = "克苏恩",
    --纳克萨玛斯NAXX
    [1107] = "阿努布雷坎", [1110] = "黑女巫法琳娜", [1116] = "迈克斯纳", [1117] = "瘟疫使者诺斯", [1112] = "肮脏的希尔盖",
    [1115] = "洛欧塞布", [1113] = "教官拉苏维奥斯", [1109] = "收割者戈提克", [1121] = "天启四骑士", [1118] = "帕奇维克",
    [1111] = "格罗布鲁斯", [1108] = "格拉斯", [1120] = "塔迪乌斯", [1119] = "萨菲隆", [1114] = "克尔苏加德",
    --卡拉赞
    [652] = "猎手阿图门", [653] = "莫罗斯", [654] = "贞节圣女", [655] = "歌剧院", [656] = "馆长",
    [657] = "特雷斯坦·邪蹄", [658] = "埃兰之影", [659] = "虚空幽龙", [660] = "国际象棋赛事", [661] = "玛克扎尔王子", [662] = "夜之魇",
    --格鲁尔的巢穴
    [649] = "莫加尔大王", [650] = "屠龙者格鲁尔",
    --玛瑟里顿的巢穴‌
    [651] = "玛瑟里顿",
    --毒蛇神殿
    [623] = "不稳定的海度斯", [624] = "鱼斯拉", [625] = "盲眼者莱欧瑟拉斯", [626] = "深水领主卡拉瑟雷斯", [627] = "莫洛格里·踏潮者",
    [628] = "瓦丝琪",
    --风暴要塞‌
    [730] = "奥", [731] = "空灵机甲", [732] = "大星术师索兰莉安", [733] = "凯尔萨斯·逐日者",
    --海加尔峰
    [618] = "雷基·冬寒", [619] = "安纳塞隆", [620] = "卡兹洛加", [621] = "阿兹加洛", [622] = "阿克蒙德",
    --黑暗神殿
    [601] = "高阶督军纳因图斯", [602] = "苏普雷姆斯", [603] = "阿卡玛之影", [604] = "塔隆·血魔", [605] = "古尔图格·血沸",
    [606] = "迷失者的圣骨匣", [607] = "莎赫拉丝主母", [608] = "伊利达雷议会", [609] = "伊利丹·怒风",
    --祖阿曼‌
    [1189] = "埃基尔松", [1190] = "纳洛拉克", [1191] = "加亚莱", [1192] = "哈尔拉兹", [1193] = "妖术领主玛拉卡斯", [1194] = "祖尔金",
    --太阳之井高地‌
    [724] = "卡雷苟斯", [725] = "布鲁塔卢斯", [726] = "菲米丝", [727] = "艾瑞达双子", [728] = "穆鲁", [729] = "基尔加丹",
    --‌黑曜石圣殿
    [742] = "萨塔里奥",
    --永恒之眼
    [734] = "玛里苟斯",
    --阿尔卡冯的宝库
    [772] = "岩石看守者阿尔卡冯", [774] = "风暴看守者埃玛尔隆", [776] = "火焰看守者科拉隆", [885] = "寒冰看守者图拉旺",
    --奥杜尔
    [744] = "烈焰巨兽", [745] = "掌炉者伊格尼斯", [746] = "锋鳞", [747] = "拆解者", [748] = "钢铁议会",
    [749] = "科隆加恩", [750] = "欧尔莉亚", [751] = "霍迪尔", [752] = "托里姆", [753] = "弗蕾亚",
    [754] = "米米尔隆", [755] = "维扎克斯将军", [756] = "尤格-萨隆", [757] = "观察者奥尔加隆",
    --十字军的试炼TOC
    [629] = "诺森德猛兽", [633] = "加拉克苏斯大王", [637] = "阵营冠军", [641] = "瓦格里双子", [645] = "阿努巴拉克",
    --黑龙MM
    [1084] = "奥妮克希亚",
    --冰冠堡垒ICC
    [845] = "玛洛加尔领主", [846] = "亡语者女士", [847] = "冰冠冰川炮舰战", [848] = "死亡使者萨鲁法尔", [849] = "烂肠",
    [850] = "腐面", [851] = "普崔塞德教授", [852] = "鲜血议会", [853] = "兰娜瑟尔女王", [854] = "踏梦者瓦莉瑟瑞娅",
    [855] = "辛达苟萨", [856] = "巫妖王",
    --RS红玉圣殿
    [887] = "海里昂",
    --黑翼血环
    [1022] = "艾卓曼德斯", [1023] = "奇美隆", [1024] = "熔喉", [1025] = "马洛拉克", [1026] = "奈法利安的末日", [1027] = "全能防御系统",
    --暮光堡垒
    [1028] = "元素议会", [1029] = "古加尔", [1030] = "哈尔弗斯·碎龙者", [1032] = "瑟纳利昂和瓦里昂娜", [1082] = "希奈丝特拉", [1083] = "希奈丝特拉",
    --风神王座
    [1034] = "奥拉基尔", [1035] = "风之议会",
    --巴拉丁监狱
    [1033] = "阿尔加洛斯", [1250] = "欧库塔尔", [1332] = "阿丽萨巴尔",
    --火焰之地
    [1185] = "管理者鹿盔", [1197] = "贝丝缇拉克", [1200] = "贝尔洛克", [1203] = "拉格纳罗斯", [1204] = "雷奥利斯领主",
    [1205] = "沙恩诺克斯", [1206] = "奥利瑟拉佐尔",
    --巨龙之魂
    [1291] = "死亡之翼的背脊", [1292] = "莫卓克", [1294] = "督军佐诺兹", [1295] = "不眠的约萨希", [1296] = "哈格拉",
    [1297] = "奥卓克希昂", [1298] = "战争大师黑角", [1299] = "疯狂的死亡之翼",

    --正式服
    --卡兹阿加
    [3184] = "電什诺尔·无抱者", [2997] = "考尔送克·休眠的保护者", [2988] = "惊魂聚合体",
    [2994] = "修拉伊·地渊之海的暴虐者", [2984] = "欧尔塔·破碎山峦",
    --法力熔炉：欧米伽
    [3129] = "集能哨兵", [3131] = "卢米萨尔", [3130] = "缚魂者娜欣达利", [3132] = "熔炉编织者阿拉兹",
    [3122] = "狩魂猎手", [3133] = "弗兰克提鲁斯", [3134] = "节点之王萨哈达尔", [3135] = "诸界吞噬者迪门修斯",
}
--拾取来源ID，需提前手动获取
ZL.BossLootInfo = {
    --MC
    [12118] = "鲁西弗隆", [11982] = "玛格曼达", [12259] = "基赫纳斯", [12057] = "加尔", [12264] = "沙斯拉尔",
    [12056] = "迦顿男爵", [11988] = "焚化者古雷曼格", [12098] = "萨弗隆先驱者", [179703] = "管理者埃克索图斯", [11592] = "拉格纳罗斯",
    --BWL
    [12435] = "狂野的拉佐格尔", [13020] = "堕落的瓦拉斯塔兹", [12017] = "勒什雷尔", [11983] = "费尔默",
    [14601] = "埃博诺克", [11981] = "弗莱格尔", [14020] = "克洛玛古斯", [11583] = "奈法利安",
    --祖尔格拉布
    [14517] = "高阶祭司耶克里克", [14507] = "高阶祭司温诺希斯", [14510] = "高阶祭司玛尔里", [11382] = "血领主曼多基尔", [15082] = "疯狂之缘", [15083] = "疯狂之缘",
    [15084] = "疯狂之缘", [15085] = "疯狂之缘", [15114] = "加兹兰卡", [14509] = "高阶祭司塞卡尔", [14515] = "高阶祭司娅尔罗", [11380] = "妖术师金度", [14834] = "哈卡",
    --安其拉废墟
    [15348] = "库林纳克斯", [15341] = "拉贾克斯将军", [15340] = "莫阿姆", [15370] = "吞咽者布鲁", [15369] = "狩猎者阿亚米斯", [15339] = "无疤者奥斯里安",
    --安其拉神殿
    [15263] = "预言者斯克拉姆", [15511] = "安其拉三宝", [15543] = "安其拉三宝", [15544] = "安其拉三宝", [15516] = "沙尔图拉", [15510] = "顽强的范克瑞斯",
    [15299] = "维希度斯", [15509] = "哈霍兰公主", [15275] = "双子皇帝", [15276] = "双子皇帝", [15517] = "奥罗", [15727] = "克苏恩",
    --纳克萨玛斯
    [15956] = "阿努布雷坎", [29249] = "阿努布雷坎", [15953] = "黑女巫法琳娜", [29268] = "黑女巫法琳娜", [15952] = "迈克斯纳", [29278] = "迈克斯纳",
    [15954] = "瘟疫使者诺斯", [29615] = "瘟疫使者诺斯", [15936] = "肮脏的希尔盖", [29701] = "肮脏的希尔盖", [16011] = "洛欧塞布", [29718] = "洛欧塞布",
    [16061] = "教官拉苏维奥斯", [29940] = "教官拉苏维奥斯", [16060] = "收割者戈提克", [29955] = "收割者戈提克", [181366] = "天启四骑士", [193426] = "天启四骑士",
    [16028] = "帕奇维克", [29324] = "帕奇维克", [15931] = "格罗布鲁斯", [29373] = "格罗布鲁斯", [15932] = "格拉斯", [29417] = "格拉斯",
    [15928] = "塔迪乌斯", [29448] = "塔迪乌斯", [15989] = "萨菲隆", [29991] = "萨菲隆", [15990] = "克尔苏加德", [30061] = "克尔苏加德",
    --卡拉赞
    [16152] = "猎手阿图门", [16181] = "蹂躏者洛卡德", [16180] = "滑翔者沙德基斯", [16179] = "潜伏者希亚其斯",
    [15687] = "莫罗斯", [16457] = "贞节圣女", [18168] = "绿野仙踪", [17521] = "大灰狼",
    [17533] = "罗密欧与朱丽叶", [17534] = "罗密欧与朱丽叶", [15691] = "馆长", [15688] = "特雷斯坦·邪蹄",
    [16524] = "埃兰之影", [15689] = "虚空幽龙", [185119] = "国际象棋赛事", [15690] = "玛克扎尔王子", [17225] = "夜之魇",
    --格鲁尔的巢穴
    [18831] = "莫加尔大王", [19044] = "屠龙者格鲁尔",
    --玛瑟里顿的巢穴‌
    [17257] = "玛瑟里顿",
    --毒蛇神殿
    [21216] = "不稳定的海度斯", [21217] = "鱼斯拉", [21215] = "盲眼者莱欧瑟拉斯",
    [21214] = "深水领主卡拉瑟雷斯", [21213] = "莫洛格里·踏潮者", [21212] = "瓦丝琪",
    --风暴要塞‌
    [19514] = "奥", [19516] = "空灵机甲", [18805] = "大星术师索兰莉安", [19622] = "凯尔萨斯·逐日者",
    --海加尔峰
    [17767] = "雷基·冬寒", [17808] = "安纳塞隆", [17888] = "卡兹洛加", [17842] = "阿兹加洛", [17968] = "阿克蒙德",
    --黑暗神殿
    [22887] = "高阶督军纳因图斯", [22898] = "苏普雷姆斯", [22841] = "阿卡玛之影", [22948] = "古尔图格·血沸", [22856] = "迷失者的圣骨匣",
    [23420] = "迷失者的圣骨匣", [22871] = "塔隆·血魔", [22947] = "莎赫拉丝主母", [22950] = "伊利达雷议会", [22949] = "伊利达雷议会",
    [22952] = "伊利达雷议会", [22951] = "伊利达雷议会", [22917] = "伊利丹·怒风",
    --祖阿曼‌
    [23574] = "埃基尔松", [23576] = "纳洛拉克", [23578] = "加亚莱",
    [23577] = "哈尔拉兹", [24239] = "妖术领主玛拉卡斯", [23863] = "祖尔金",
    --太阳之井高地‌
    [24850] = "卡雷苟斯", [24882] = "布鲁塔卢斯", [25038] = "菲米丝",
    [25165] = "艾瑞达双子", [25166] = "艾瑞达双子", [25741] = "穆鲁", [25315] = "基尔加丹",
    --‌黑曜石圣殿
    [28860] = "萨塔里奥", [31311] = "萨塔里奥",
    --永恒之眼
    [193905] = "玛里苟斯", [193967] = "玛里苟斯",
    --阿尔卡冯的宝库
    [31125] = "岩石看守者阿尔卡冯", [31722] = "岩石看守者阿尔卡冯", [33993] = "风暴看守者埃玛尔隆", [33994] = "风暴看守者埃玛尔隆",
    [35013] = "火焰看守者科拉隆", [35360] = "火焰看守者科拉隆", [38433] = "寒冰看守者图拉旺", [38462] = "寒冰看守者图拉旺",
    --奥杜尔
    [33113] = "烈焰巨兽", [34003] = "烈焰巨兽",
    [33118] = "掌炉者伊格尼斯", [33190] = "掌炉者伊格尼斯",
    [33186] = "锋鳞", [33724] = "锋鳞",
    [33293] = "拆解者", [33885] = "拆解者",
    [32867] = "钢铁议会", [32927] = "钢铁议会", [32857] = "钢铁议会", [33694] = "钢铁议会", [33693] = "钢铁议会", [33692] = "钢铁议会",
    [195046] = "科隆加恩", [195047] = "科隆加恩",
    [194200] = "霍迪尔", [194201] = "霍迪尔", [194307] = "霍迪尔", [194308] = "霍迪尔",
    [194821] = "观察者奥尔加隆", [194822] = "观察者奥尔加隆",
    [33515] = "欧尔莉亚", [34175] = "欧尔莉亚",
    [194312] = "托里姆", [194313] = "托里姆", [194314] = "托里姆", [194315] = "托里姆",
    [194324] = "弗蕾亚", [194325] = "弗蕾亚", [194326] = "弗蕾亚", [194327] = "弗蕾亚",
    [194328] = "弗蕾亚", [194329] = "弗蕾亚", [194330] = "弗蕾亚", [194331] = "弗蕾亚",
    [194789] = "米米尔隆", [194956] = "米米尔隆", [194957] = "米米尔隆", [194958] = "米米尔隆",
    [33271] = "维扎克斯将军", [33449] = "维扎克斯将军",
    [33288] = "尤格-萨隆", [33955] = "尤格-萨隆", [33890] = "尤格-萨隆",
    --十字军的试炼
    [34797] = "诺森德猛兽", [35447] = "诺森德猛兽", [35448] = "诺森德猛兽", [35449] = "诺森德猛兽",
    [34780] = "加拉克苏斯大王", [35216] = "加拉克苏斯大王", [35268] = "加拉克苏斯大王", [35269] = "加拉克苏斯大王",
    [195631] = "阵营冠军", [195632] = "阵营冠军", [195633] = "阵营冠军", [195635] = "阵营冠军",
    [34497] = "瓦格里双子", [35350] = "瓦格里双子", [35351] = "瓦格里双子", [35352] = "瓦格里双子",
    [34496] = "瓦格里双子", [35347] = "瓦格里双子", [35348] = "瓦格里双子", [35349] = "瓦格里双子",
    [34564] = "阿努巴拉克", [34566] = "阿努巴拉克", [35615] = "阿努巴拉克", [35616] = "阿努巴拉克",
    [195665] = "银色北伐军嘉奖宝箱", [195666] = "银色北伐军嘉奖宝箱", [195667] = "银色北伐军嘉奖宝箱", [195668] = "银色北伐军嘉奖宝箱",
    [195669] = "银色北伐军嘉奖宝箱", [195670] = "银色北伐军嘉奖宝箱", [195671] = "银色北伐军嘉奖宝箱", [195672] = "银色北伐军嘉奖宝箱",
    --奥妮克希亚的巢穴
    [10184] = "奥妮克希亚", [36538] = "奥妮克希亚",
    --ICC冰冠堡垒
    [36612] = "玛洛加尔领主", [36855] = "亡语者女士", [201872] = "冰冠冰川炮舰战", [201873] = "冰冠冰川炮舰战", [201874] = "冰冠冰川炮舰战",
    [201875] = "冰冠冰川炮舰战", [202177] = "冰冠冰川炮舰战", [202178] = "冰冠冰川炮舰战", [202179] = "冰冠冰川炮舰战", [202180] = "冰冠冰川炮舰战",
    [202238] = "死亡使者萨鲁法尔", [202239] = "死亡使者萨鲁法尔", [202240] = "死亡使者萨鲁法尔", [202241] = "死亡使者萨鲁法尔", [36626] = "烂肠",
    [36627] = "腐面", [36678] = "普崔塞德教授", [37970] = "鲜血议会", [37955] = "兰娜瑟尔女王", [201959] = "踏梦者瓦莉瑟瑞娅",
    [202338] = "踏梦者瓦莉瑟瑞娅", [202339] = "踏梦者瓦莉瑟瑞娅", [202340] = "踏梦者瓦莉瑟瑞娅", [36853] = "辛达苟萨", [36597] = "巫妖王",
    --RS红玉圣殿
    [39863] = "海里昂",
    --黑翼血环
    [41442] = "艾卓曼德斯", [43296] = "奇美隆", [41570] = "熔喉", [41378] = "马洛拉克", [41376] = "奈法利安的末日", [42180] = "全能防御系统",
    [42178] = "全能防御系统", [42166] = "全能防御系统",
    --暮光堡垒
    [43735] = "元素议会",  [43324] = "古加尔",  [44600] = "哈尔弗斯·碎龙者",  [45992] = "瑟纳利昂和瓦里昂娜",  [45993] = "瑟纳利昂和瓦里昂娜",
    [208044] = "希奈丝特拉", [208045] = "希奈丝特拉",
    --风神王座
    [46753] = "奥拉基尔",  [45871] = "风之议会",
    --巴拉丁监狱
    [47120] = "阿尔加洛斯", [52363] = "欧库塔尔", [55869] = "阿丽萨巴尔",
    --火焰之地
    [52571] = "管理者鹿盔", [53856] = "管理者鹿盔", [53857] = "管理者鹿盔", [53858] = "管理者鹿盔", [52498] = "贝丝缇拉克",
    [53494] = "贝尔洛克", [52409] = "拉格纳罗斯", [52558] = "雷奥利斯领主",[53691] = "沙恩诺克斯", [52530] = "奥利瑟拉佐尔",
    --巨龙之魂
    [209894] = "死亡之翼的背脊", [209895] = "死亡之翼的背脊", [209896] = "死亡之翼的背脊", [209897] = "死亡之翼的背脊", [55265] = "莫卓克",
    [55308] = "督军佐诺兹", [55312] = "不眠的约萨希", [55689] = "哈格拉", [210160] = "奥卓克希昂", [210161] = "奥卓克希昂",
    [210162] = "奥卓克希昂", [210163] = "奥卓克希昂", [210221] = "奥卓克希昂", [56427] = "战争大师黑角", [56173] = "疯狂的死亡之翼",
    [210079] = "疯狂的死亡之翼", [210217] = "疯狂的死亡之翼", [210218] = "疯狂的死亡之翼", [210219] = "疯狂的死亡之翼",
    --虚影尖塔
    [240435] = "元首阿福扎恩", [241685] = "元首阿福扎恩", [241254] = "元首阿福扎恩", [240434] = "弗拉希乌斯", [240431] = "光盲先锋军", [242056] = "威厄高尔和艾佐拉克",
    [240432] = "陨落之王萨哈达尔", [546729] = "宇宙之冕",
    --梦境裂隙
    [245569] = "奇美鲁斯，未梦之神",
    --进军奎尔丹纳斯
    [240387] = "贝洛朗，奥的子嗣", [240391] = "至暗之夜降临",
    --孢陨幽境
    [238693] = "腐沼",
}

ZL.RolesTypes = {
    --角色
    {name="|cfffa8da5玩家名字|r", fullName="角色", isShow=function() return "colorName" end}, --强制显示
    {name="|cfffa8da5服务器|r", fullName="服务器", isShow=function() return ZL.glb.realmName and "realmName" end, hide=function() ZL.glb.realmName = nil end},
    {name="|cfffa8da5等级|r", fullName="角色等级", isShow=function() return ZL.glb.unitLevel and "UnitLevel" end},
    {name="|cfffa8da5装等|r", fullName="装备等级", isShow=function() return ZL.glb.itemLevel and "itemLevel" end},
    ---------团本----------
    ---CTM大灾变
    {name="巨龙25", fullName="巨龙之魂", isShow=function() return ZL.glb.JLZH25 and "instance:967:25" end},
    {name="巨龙10", fullName="巨龙之魂", isShow=function() return ZL.glb.JLZH10 and "instance:967:10" end},
    {name="火焰25", fullName="火焰之地", isShow=function() return ZL.glb.HYZD25 and "instance:720:25" end},
    {name="火焰10", fullName="火焰之地", isShow=function() return ZL.glb.HYZD10 and "instance:720:10" end},
    {name="监狱25", fullName="巴拉丁监狱", isShow=function() return ZL.glb.BLDJY25 and "instance:757:25" end},
    {name="监狱10", fullName="巴拉丁监狱", isShow=function() return ZL.glb.BLDJY10 and "instance:757:10" end},
    {name="风神25", fullName="风神王座", isShow=function() return ZL.glb.FSWZ25 and "instance:754:25" end},
    {name="风神10", fullName="风神王座", isShow=function() return ZL.glb.FSWZ10 and "instance:754:10" end},
    {name="堡垒25", fullName="暮光堡垒", isShow=function() return ZL.glb.MGBL25 and "instance:671:25" end},
    {name="堡垒10", fullName="暮光堡垒", isShow=function() return ZL.glb.MGBL10 and "instance:671:10" end},
    {name="血环25", fullName="黑翼血环", isShow=function() return ZL.glb.HYXH25 and "instance:669:25" end},
    {name="血环10", fullName="黑翼血环", isShow=function() return ZL.glb.HYXH10 and "instance:669:10" end},
    --WLK
    {name="|cff9dcf9f红玉|r25", fullName="红玉圣殿", isShow=function() return ZL.glb.RS25 and "instance:724:25" end},
    {name="|cff9dcf9f红玉|r10", fullName="红玉圣殿", isShow=function() return ZL.glb.RS10 and "instance:724:10" end},
    {name="|cff9dcf9fICC|r25", fullName="冰冠堡垒", isShow=function() return ZL.glb.ICC25 and "instance:631:25" end},
    {name="|cff9dcf9fICC|r10", fullName="冰冠堡垒", isShow=function() return ZL.glb.ICC10 and "instance:631:10" end},
    {name="|cff9dcf9fTOC|r25", fullName="十字军的试炼", isShow=function() return ZL.glb.TOC25 and "instance:649:25" end},
    {name="|cff9dcf9fTOC|r10", fullName="十字军的试炼", isShow=function() return ZL.glb.TOC10 and "instance:649:10" end},
    {name="|cff9dcf9f黑龙|r25", fullName="奥妮克希亚的巢穴", isShow=function() return ZL.glb.OL25 and "instance:249:25" end},
    {name="|cff9dcf9f黑龙|r10", fullName="奥妮克希亚的巢穴", isShow=function() return ZL.glb.OL10 and "instance:249:10" end},
    {name="|cff9dcf9fULD|r25", fullName="奥杜尔", isShow=function() return ZL.glb.ULD25 and "instance:603:25" end},
    {name="|cff9dcf9fULD|r10", fullName="奥杜尔", isShow=function() return ZL.glb.ULD10 and "instance:603:10" end},
    {name="|cff9dcf9fNAXX|r25", fullName="纳克萨玛斯", isShow=function() return ZL.glb.NAXX25 and "instance:533:25" end},
    {name="|cff9dcf9fNAXX|r10", fullName="纳克萨玛斯", isShow=function() return ZL.glb.NAXX10 and "instance:533:10" end},
    {name="|cff9dcf9f蓝龙|r25", fullName="魔枢：永恒之眼", isShow=function() return ZL.glb.EOE25 and "instance:616:25" end},
    {name="|cff9dcf9f蓝龙|r10", fullName="魔枢：永恒之眼", isShow=function() return ZL.glb.EOE10 and "instance:616:10" end},
    {name="|cff9dcf9f黑曜石|r25", fullName="黑曜石圣殿", isShow=function() return ZL.glb.OS25 and "instance:615:25" end},
    {name="|cff9dcf9f黑曜石|r10", fullName="黑曜石圣殿", isShow=function() return ZL.glb.OS10 and "instance:615:10" end},
    {name="|cff9dcf9f宝库|r25", fullName="阿尔卡冯的宝库", isShow=function() return ZL.glb.VOA25 and "instance:624:25" end},
    {name="|cff9dcf9f宝库|r10", fullName="阿尔卡冯的宝库", isShow=function() return ZL.glb.VOA10 and "instance:624:10" end},
    --TBC
    {name="|cfffeb6fb太阳井|r", fullName="太阳之井高地", isShow=function() return ZL.glb.SW25 and "instance:580:25" end},
    {name="|cfffeb6fb黑庙|r", fullName="黑暗神殿", isShow=function() return ZL.glb.BT25 and "instance:564:25" end},
    {name="|cfffeb6fb海山|r", fullName="海加尔峰", isShow=function() return ZL.glb.HS25 and "instance:534:25" end},
    {name="|cfffeb6fb风暴|r", fullName="风暴要塞", isShow=function() return ZL.glb.TK25 and "instance:550:25" end},
    {name="|cfffeb6fb毒蛇|r", fullName="毒蛇神殿", isShow=function() return ZL.glb.SSC25 and "instance:548:25" end},
    {name="|cfffeb6fb格鲁尔|r", fullName="格鲁尔的巢穴", isShow=function() return ZL.glb.GLR25 and "instance:565:25" end},
    {name="|cfffeb6fb玛胖|r", fullName="玛瑟里顿的巢穴", isShow=function() return ZL.glb.ML25 and "instance:544:25" end},
    {name="|cfffeb6fb祖阿曼|r", fullName="祖阿曼", instanceID=568, maxPlayers=10, isShow=function() return ZL.glb.ZAM10 and "instance:568:10" end},
    {name="|cfffeb6fb卡拉赞|r", fullName="卡拉赞", isShow=function() return ZL.glb.KLZ10 and "instance:532:10" end},
    --60年代
    {name="|cff39fe63NAXX|r", fullName="纳克萨玛斯", isShow=function() return ZL.glb.NAXX40 and "instance:533:40" end},
    {name="|cff39fe63TAQ|r", fullName="安其拉", isShow=function() return ZL.glb.TAQ40 and "instance:531:40" end},
    {name="|cff39fe63废墟|r", fullName="安其拉废墟", isShow=function() return ZL.glb.FX20 and "instance:509:20" end},
    {name="|cff39fe63祖格|r", fullName="祖尔格拉布", isShow=function() return ZL.glb.ZG20 and "instance:309:20" end},
    {name="|cff39fe63BWL|r", fullName="黑翼之巢", isShow=function() return ZL.glb.BWL40 and "instance:469:40" end},
    {name="|cff39fe63MC|r", fullName="熔火之心", isShow=function() return ZL.glb.MC40 and "instance:409:40" end},
    {name="|cff39fe63黑龙|r", fullName="奥妮克希亚的巢穴", isShow=function() return ZL.glb.OL40 and "instance:249:40" end},
    ---------5人英雄本----------
    ---CTM大灾变
    ---新三本
    {name="|cff8bd193时光|r", fullName="时光之末", isShow=function() return ZL.glb.SGZM5 and "instance:938:5" end},
    {name="|cff8bd193永恒|r", fullName="永恒之井", isShow=function() return ZL.glb.YHZJ5 and "instance:939:5" end},
    {name="|cff8bd193暮光|r", fullName="暮光审判", isShow=function() return ZL.glb.MGSP5 and "instance:940:5" end},
    --WLK
    {name="|cff8bd193洪炉|r", fullName="灵魂洪炉", isShow=function() return ZL.glb.HL5 and "instance:632:5" end},
    {name="|cff8bd193矿坑|r", fullName="萨隆矿坑", isShow=function() return ZL.glb.KK5 and "instance:658:5" end},
    {name="|cff8bd193映像|r", fullName="映像大厅", isShow=function() return ZL.glb.YX5 and "instance:668:5" end},
    {name="|cff8bd193冠军|r", fullName="冠军的试炼", isShow=function() return ZL.glb.GJ5 and "instance:650:5" end},
    {name="|cff8bd193乌下|r", fullName="乌特加德城堡", isShow=function() return ZL.glb.WX5 and "instance:574:5" end},
    {name="|cff8bd193乌巅|r", fullName="乌特加德之巅", isShow=function() return ZL.glb.WS5 and "instance:575:5" end},
    {name="|cff8bd193魔枢|r", fullName="魔枢", isShow=function() return ZL.glb.MS5 and "instance:576:5" end},
    {name="|cff8bd193魔环|r", fullName="魔环", isShow=function() return ZL.glb.MH5 and "instance:578:5" end},
    {name="|cff8bd193蜘蛛|r", fullName="艾卓-尼鲁布", isShow=function() return ZL.glb.ZZ5 and "instance:601:5" end},
    {name="|cff8bd193王国|r", fullName="安卡赫特：古代王国", isShow=function() return ZL.glb.WG5 and "instance:619:5" end},
    {name="|cff8bd193要塞|r", fullName="达克萨隆要塞", isShow=function() return ZL.glb.YS5 and "instance:600:5" end},
    {name="|cff8bd193古达克|r", fullName="古达克", isShow=function() return ZL.glb.GDK5 and "instance:604:5" end},
    {name="|cff8bd193岩石|r", fullName="岩石大厅", isShow=function() return ZL.glb.YSDT5 and "instance:599:5" end},
    {name="|cff8bd193闪电|r", fullName="闪电大厅", isShow=function() return ZL.glb.SDDT5 and "instance:602:5" end},
    {name="|cff8bd193监狱|r", fullName="紫罗兰监狱", isShow=function() return ZL.glb.ZLLJY5 and "instance:608:5" end},
    {name="|cff8bd193STSM|r", fullName="净化斯坦索姆", isShow=function() return ZL.glb.STSM5 and "instance:595:5" end},
    --TBC
    {name="|cffc0cf18城墙|r", fullName="地狱火城墙", isShow=function() return ZL.glb.DYHCQ5 and "instance:543:5" end},
    {name="|cffc0cf18熔炉|r", fullName="鲜血熔炉", isShow=function() return ZL.glb.XXRL5 and "instance:542:5" end},
    {name="|cffc0cf18破碎|r", fullName="破碎大厅", isShow=function() return ZL.glb.PSDT5 and "instance:540:5" end},
    {name="|cffc0cf18法力|r", fullName="法力陵墓", isShow=function() return ZL.glb.FLLM5 and "instance:557:5" end},
    {name="|cffc0cf18地穴|r", fullName="奥金尼地穴", isShow=function() return ZL.glb.AJNDX5 and "instance:558:5" end},
    {name="|cffc0cf18赛泰克|r", fullName="塞泰克大厅", isShow=function() return ZL.glb.STKDT5 and "instance:556:5" end},
    {name="|cffc0cf18迷宫|r", fullName="暗影迷宫", isShow=function() return ZL.glb.AYMG5 and "instance:555:5" end},
    {name="|cffc0cf18围栏|r", fullName="奴隶围栏", isShow=function() return ZL.glb.NLWL5 and "instance:547:5" end},
    {name="|cffc0cf18幽暗|r", fullName="幽暗沼泽", isShow=function() return ZL.glb.YAZZ5 and "instance:546:5" end},
    {name="|cffc0cf18蒸汽|r", fullName="蒸汽地窟", isShow=function() return ZL.glb.ZQDJ5 and "instance:545:5" end},
    {name="|cffc0cf18救萨尔|r", fullName="旧希尔斯布莱德丘陵", isShow=function() return ZL.glb.SR5 and "instance:560:5" end},
    {name="|cffc0cf1818M|r", fullName="黑色沼泽", isShow=function() return ZL.glb.HSZZ5 and "instance:269:5" end},
    {name="|cffc0cf18监狱|r", fullName="禁魔监狱", isShow=function() return ZL.glb.JMJY5 and "instance:552:5" end},
    {name="|cffc0cf18生态船|r", fullName="生态船", isShow=function() return ZL.glb.STC5 and "instance:553:5" end},
    {name="|cffc0cf18能源舰|r", fullName="能源舰", isShow=function() return ZL.glb.NYJ5 and "instance:554:5" end},
    {name="|cffc0cf18平台|r", fullName="魔导师平台", isShow=function() return ZL.glb.MDSPT5 and "instance:585:5" end},

    --周常
    {name="|cfff58cba周常|r", fullName="周长", isShow=function() return ZL.glb.weekQuest and "weekQuest" end},
    --日常
    {name="|cfff58cba英雄日常|r", fullName="英雄副本日常", isShow=function() return ZL.glb.heroDayQuest and "heroDayQuest" end},
    {name="|cfff58cba泰坦日常|r", fullName="泰坦符文协议日常", isShow=function() return ZL.glb.taiTanDayQuest and "taiTanDayQuest" end},
    {name="|cfff58cba珠宝日常|r", fullName="珠宝日常", isShow=function() return ZL.glb.zhuBaoDayQuest and "zhuBaoDayQuest" end},
    {name="|cfff58cba钓鱼日常|r", fullName="钓鱼日常", isShow=function() return ZL.glb.fishingDayQuest and "fishingDayQuest" end},
    {name="|cfff58cba烹饪日常|r", fullName="烹饪日常", isShow=function() return ZL.glb.cookingDayQuest and "cookingDayQuest" end},

    --专业技能CD
    --炼金
    {name="|cff0070de炼金转化|r", fullName="炼金转化", isShow=function() return ZL.glb.alchemyTransmute and "alchemyTransmute" end}, --WLK39个共享CD
    {name="|cff0070de炼金研究|r", fullName="诺森德炼金研究", isShow=function() return ZL.glb.northrendAlchemyResearch and "profession:60893" end},
    --裁缝
    {name="|cff0070de月布|r", fullName="洗月布", isShow=function() return ZL.glb.yueBuProfession and "profession:18560" end},
    {name="|cff0070de法纹布|r", fullName="洗法纹布", isShow=function() return ZL.glb.faWenBuProfession and "profession:56003" end},
    {name="|cff0070de乌纹布|r", fullName="洗乌纹布", isShow=function() return ZL.glb.wuWenBuProfession and "profession:56002" end},
    {name="|cff0070de月影布|r", fullName="洗月影布", isShow=function() return ZL.glb.yueYingBuProfession and "profession:56001" end},
    {name="|cff0070de冰川背包|r", fullName="冰川背包", isShow=function() return ZL.glb.bingChuanBeiBaoProfession and "profession:56005" end},
    --雕文
    {name="|cff0070de大雕文|r", fullName="诺森德铭文研究", isShow=function() return ZL.glb.daDiaoWenProfession and "profession:61177" end},
    {name="|cff0070de小雕文|r", fullName="小型雕文研究", isShow=function() return ZL.glb.xiaoDiaoWenProfession and "profession:61288" end},
    --珠宝
    {name="|cff0070de冰冻棱柱|r", fullName="冰冻棱柱", isShow=function() return ZL.glb.bingDongLingZhuProfession and "profession:62242" end},
    --采矿
    {name="|cff0070de泰坦精钢|r", fullName="熔炼泰坦精钢", isShow=function() return ZL.glb.taiTanJingGangProfession and "profession:55208" end},

}
ZL.CurrencyRoles = {
    --角色
    {name="|cfffa8da5玩家名字|r", fullName="角色", isShow=function() return "colorName" end}, --强制显示
    {name="|cfffa8da5服务器|r", fullName="服务器", isShow=function() return ZL.glb.realmName and "realmName" end, hide=function() ZL.glb.realmName = nil end},
    {name="|cfffa8da5等级|r", fullName="角色等级", isShow=function() return ZL.glb.unitLevel and "UnitLevel" end},
    {name="|cfffa8da5装等|r", fullName="装备等级", isShow=function() return ZL.glb.itemLevel and "itemLevel" end},
    --货币
    {
        name = GetCurrencyInfo(395) and ("|cff40c7eb正义点数|r|T" .. GetCurrencyInfo(395).iconFileID .. ":0:0:2:0|t") or "|cff40c7eb正义点数|r",
        fullName = "正义点数",
        isShow = function() return ZL.glb.zhengYiDianShuCurrency and "currency:395" end,
    },
    {
        name = GetCurrencyInfo(396) and ("|cff40c7eb勇气点数|r|T" .. GetCurrencyInfo(396).iconFileID .. ":0:0:2:0|t") or "|cff40c7eb勇气点数|r",
        fullName = "勇气点数",
        isShow = function() return ZL.glb.yongQiDianShuCurrency and "currency:396" end
    },
    {
        name = GetCurrencyInfo(341) and ("|cff40c7eb寒冰纹章|r|T" .. GetCurrencyInfo(341).iconFileID .. ":0:0:2:0|t") or "|cff40c7eb寒冰纹章|r",
        fullName = "寒冰纹章",
        isShow = function() return ZL.glb.hanBingCurrency and "currency:341" end,
    },
    {
        name = GetCurrencyInfo(301) and ("|cff40c7eb凯旋纹章|r|T" .. GetCurrencyInfo(301).iconFileID .. ":0:0:2:0|t") or "|cff40c7eb凯旋纹章|r",
        fullName = "凯旋纹章",
        isShow = function() return ZL.glb.kaiXuanCurrency and "currency:301" end
    },
    {
        name = GetCurrencyInfo(221) and ("|cff40c7eb征服纹章|r|T" .. GetCurrencyInfo(221).iconFileID .. ":0:0:2:0|t") or "|cff40c7eb征服纹章|r",
        fullName = "征服纹章",
        isShow = function() return ZL.glb.zhengFuCurrency and "currency:221" end
    },
    {
        name = GetCurrencyInfo(102) and ("|cff40c7eb勇气纹章|r|T" .. GetCurrencyInfo(102).iconFileID .. ":0:0:2:0|t") or "|cff40c7eb勇气纹章|r",
        fullName = "勇气纹章",
        isShow = function() return ZL.glb.yongQiCurrency and "currency:102" end
    },
    {
        name = GetCurrencyInfo(101) and ("|cff40c7eb英雄纹章|r|T" .. GetCurrencyInfo(101).iconFileID .. ":0:0:2:0|t") or "|cff40c7eb英雄纹章|r",
        fullName = "英雄纹章",
        isShow = function() return ZL.glb.yingXiongCurrency and "currency:101" end
    },
    {
        name = GetCurrencyInfo(42) and ("|cff40c7eb公正徽章|r|T" .. GetCurrencyInfo(42).iconFileID .. ":0:0:2:0|t") or "|cff40c7eb公正徽章|r",
        fullName = "公正徽章",
        isShow = function() return ZL.glb.gongZhengCurrency and "currency:42" end
    },
    {
        name = GetCurrencyInfo(61) and ("|cff40c7eb珠宝硬币|r|T" .. GetCurrencyInfo(61).iconFileID .. ":0:0:2:0|t") or "|cff40c7eb珠宝硬币|r",
        fullName = "达拉然珠宝匠硬币",
        isShow = function() return ZL.glb.zhuBaoCurrency and "currency:61" end
    },
    {
        name = GetCurrencyInfo(2711) and ("|cff40c7eb亵渎者|r|T" .. GetCurrencyInfo(2711).iconFileID .. ":0:0:2:0|t") or "|cff40c7eb亵渎者|r",
        fullName = "亵渎者的天灾石",
        isShow = function() return ZL.glb.xieDuZheCurrency and "currency:2711" end
    },
    {
        name = GetCurrencyInfo(2589) and ("|cff40c7eb赛德里尔|r|T" .. GetCurrencyInfo(2589).iconFileID .. ":0:0:2:0|t") or "|cff40c7eb赛德里尔|r",
        fullName = "赛德里尔精华",
        isShow = function() return ZL.glb.saiDeLiErCurrency and "currency:2589" end
    },
    {
        name = GetCurrencyInfo(3281) and ("|cff40c7eb裂隙石大|r|T" .. GetCurrencyInfo(3281).iconFileID .. ":0:0:2:0|t") or "|cff40c7eb裂隙石大|r",
        fullName = "裂隙石碎片(大)",
        isShow = function() return ZL.glb.lieXiShiCurrency and "currency:3281" end
    },
    {
        name = GetCurrencyInfo(3148) and ("|cff40c7eb裂隙石小|r|T" .. GetCurrencyInfo(3148).iconFileID .. ":0:0:2:0|t") or "|cff40c7eb裂隙石小|r",
        fullName = "裂隙石碎片(小)",
        isShow = function() return ZL.glb.lieXiShiCurrency2 and "currency:3148" end
    },
    {
        name = GetCurrencyInfo(241) and ("|cff40c7eb冠军微记|r|T" .. GetCurrencyInfo(241).iconFileID .. ":0:0:2:0|t") and "|cff40c7eb冠军微记|r",
        fullName = "冠军的微记",
        isShow = function() return ZL.glb.guanJunCurrency and "currency:241" end
    },
    {
        name = GetCurrencyInfo(81) and ("|cff40c7eb美食奖章|r|T" .. GetCurrencyInfo(81).iconFileID .. ":0:0:2:0|t") or "|cff40c7eb美食奖章|r",
        fullName = "美食家奖章",
        isShow = function() return ZL.glb.meiShiJiaCurrency and "currency:81" end
    },
    {
        name = GetCurrencyInfo(161) and ("|cff40c7eb岩石守卫|r|T" .. GetCurrencyInfo(161).iconFileID .. ":0:0:2:0|t") or "|cff40c7eb岩石守卫|r",
        fullName = "岩石守卫者的碎片",
        isShow = function() return ZL.glb.yanShiShouWeiCurrency and "currency:161" end
    },
    {
        name = GetCurrencyInfo(1900) and ("|cff40c7eb竞技场|r|T" .. GetCurrencyInfo(1900).iconFileID .. ":0:0:2:0|t") or "|cff40c7eb竞技场|r",
        fullName = "竞技场点数",
        isShow = function() return ZL.glb.jingJiChangCurrency and "currency:1900" end
    },
    {
        name = GetCurrencyInfo(1901) and ("|cff40c7eb  荣誉点数|r|T" .. GetCurrencyInfo(1901).iconFileID .. ":0:0:2:0|t") or "|cff40c7eb  荣誉点数|r",
        fullName = "荣誉点数",
        isShow = function() return ZL.glb.rongYuCurrency and "currency:1901" end
    },
    {
        name = GetCurrencyInfo(121) and ("|cff40c7eb奥特兰克|r|T" .. GetCurrencyInfo(121).iconFileID .. ":0:0:2:0|t") or "|cff40c7eb奥特兰克|r",
        fullName = "奥特兰克山谷荣誉奖章",
        isShow = function() return ZL.glb.aoTeLanKeCurrency and "currency:121" end
    },
    {
        name = GetCurrencyInfo(122) and ("|cff40c7eb阿拉希|r|T" .. GetCurrencyInfo(122).iconFileID .. ":0:0:2:0|t") or "|cff40c7eb阿拉希|r",
        fullName = "阿拉希盆地荣誉奖章",
        isShow = function() return ZL.glb.aLaXiCurrency and "currency:122" end
    },
    {
        name = GetCurrencyInfo(125) and ("|cff40c7eb战歌|r|T" .. GetCurrencyInfo(125).iconFileID .. ":0:0:2:0|t") or "|cff40c7eb战歌|r",
        fullName = "战歌峡谷荣誉奖章",
        isShow = function() return ZL.glb.zhanGeCurrency and "currency:125" end
    },
    {
        name = GetCurrencyInfo(3403) and ("|cff40c7eb泰坦余烬|r|T" .. GetCurrencyInfo(3403).iconFileID .. ":0:0:2:0|t") or "|cff40c7eb泰坦余烬|r",
        fullName = "泰坦余烬",
        isShow = function() return ZL.glb.taiTanYuJinCurrency and "currency:3403" end
    },
    {
        name = GetCurrencyInfo(3406) and ("|cff40c7eb泰坦碎片|r|T" .. GetCurrencyInfo(3406).iconFileID .. ":0:0:2:0|t") or "|cff40c7eb泰坦碎片|r",
        fullName = "泰坦碎片",
        isShow = function() return ZL.glb.taiTanSuiPianCurrency and "currency:3406" end
    },
    {name="|cff40c7eb金币|r", fullName="金币", isShow=function() return ZL.glb.jinBiCurrency and "jinBiCurrency" end },
}

ZL.historyDaysList = {15, 30, 60, 90, 180}

ZL.SoundTypeList = {"甜美女声", "天津话男声"}

ZL.commandInfoKeyList = {"", "help", "config", "price", "concern"} --, "roles"

ZL.commandInfo = {
    [""] = {
        key = "",
        label = "打开拍卖清单窗口",
        callback = function (args)
            if ZL.AuctionFrame2:IsShown() then
                ZL.AuctionFrame2:Hide()
                ZL.opt.ZLAuctionFrameIsShown = false
            else
                ZL.AuctionFrame2:Show()
                ZL.opt.ZLAuctionFrameIsShown = true
            end
        end,
    },
    ["help"] = {
        key = "help",
        label = "输出斜杠命令帮助列表",
        callback = function (args)
            ZL.PrintHelp()
        end,
    },
    ["roles"] = {
        key = "roles",
        label = "打开角色信息总览窗口",
        callback = function (args)
            ZL.RolesOverViewFrame.locked = true
            ZL.opt.ZLRolesOverViewFrameIsShown = true
            ZL.GetOwnRolesData()
            ZL.RolesOverViewFrame:Show()
        end
    },
    ["config"] = {
        key = "config",
        label = "打开配置窗口",
        callback = function (args)
            ZL.OpenAceConfigDialog("金团拍卖助手")
        end
    },
    ["price"] = {
        key = "price",
        label = "打开物品拍卖设置窗口",
        callback = function (args)
            ZL.ItemSettingFrame:Show()
        end
    },
    ["concern"] = {
        key = "concern",
        label = "打开关注物品窗口",
        callback = function (args)
            ZL.ConcernFrame:Show()
        end
    },
}

ZL.ClassTalentDB = {
    WARRIOR = {
        {
            talentName = "武器",
            talentIcon = 132292,
            talentSpellName = {
                "强化英勇打击",
                "偏斜",
                "强化撕裂",
                "强化冲锋",
                "钢铁意志",
                "战术掌握",
                "强化压制",
                "愤怒掌控",
                "穿刺",
                "重伤",
                "双手武器专精",
                "血之气息",
                "长柄专精",
                "横扫攻击",
                "锤类武器专精",
                "剑类武器专精",
                "武器掌握",
                "强化断筋",
                "创伤",
                "复苏之风",
                "致死打击",
                "神兵之力",
                "强化猛击",
                "主宰",
                "强化致死打击",
                "冷酷突击",
                "猝死",
                "无尽怒气",
                "血性狂乱",
                "破坏能手",
                "利刃风暴",
            },
        },
        {
            talentName = "狂怒",
            talentIcon = 132347,
            talentSpellName = {
                "全副武装",
                "震耳嗓音",
                "残忍",
                "强化挫志怒吼",
                "怒不可遏",
                "强化顺劈斩",
                "刺耳怒吼",
                "血之狂热",
                "统御之力",
                "双武器专精",
                "强化斩杀",
                "激怒",
                "精确",
                "死亡之愿",
                "强化拦截",
                "强化狂暴之怒",
                "乱舞",
                "怒发冲冠",
                "嗜血",
                "强化旋风斩",
                "狂暴攻击",
                "强化狂暴姿态",
                "英勇之怒",
                "暴怒",
                "血涌",
                "无尽狂怒",
                "泰坦之握",
            },
        },
        {
            talentName = "防护",
            talentIcon = 132341,
            talentSpellName = {
                "强化血性狂暴",
                "盾牌专精",
                "强化雷霆一击",
                "激动",
                "预知",
                "破釜沉舟",
                "强化复仇",
                "盾牌掌握",
                "坚韧",
                "强化法术反射",
                "强化缴械",
                "刺穿",
                "强化戒律",
                "震荡猛击",
                "禁令",
                "单手武器专精",
                "强化防御姿态",
                "警戒",
                "怒火专注",
                "活力",
                "捍卫",
                "战神",
                "毁灭打击",
                "精确格挡",
                "剑盾猛攻",
                "盾牌反伤",
                "震荡波",
            },
        },
    },
    PALADIN = {
		{
            talentName = "神圣",
            talentIcon = 135920,
            talentSpellName = {
                "精神集中",
                "纯净圣印",
                "治疗之光",
                "神圣智慧",
                "不灭信仰",
                "光环掌握",
                "启发",
                "强化圣疗术",
                "强化专注光环",
                "强化智慧祝福",
                "神宠之手",
                "纯净心灵",
                "神恩术",
                "神圣光芒",
                "净化之力",
                "神圣能量",
                "光之优雅",
                "神圣震击",
                "神佑之体",
                "神圣净化",
                "神圣指引",
                "神启",
                "纯洁审判",
                "圣光灌注",
                "开明审判",
                "圣光道标",
            },
        },
        {
            talentName = "防护",
            talentIcon = 135893,
            talentSpellName ={
                "圣洁",
                "神圣之力",
                "淡泊",
                "守护者的宠爱",
                "预知",
                "神圣牺牲",
                "强化正义之怒",
                "坚韧",
                "神圣守护者",
                "强化制裁之锤",
                "强化虔诚光环",
                "庇护祝福",
                "清算",
                "神圣使命",
                "单手武器专精",
                "灵魂协调",
                "神圣之盾",
                "炽热防御者",
                "盾牌壁垒",
                "战斗精准",
                "圣光之触",
                "复仇者之盾",
                "圣光守护",
                "圣殿骑士之盾",
                "正义审判",
                "正义之锤",
            },
        },
        {
            talentName = "惩戒",
            talentIcon = 135873,
            talentSpellName = {
                "偏斜",
                "祈福",
                "强化审判",
                "十字军之心",
                "强化力量祝福",
                "辩护",
                "定罪",
                "命令圣印",
                "正义追击",
                "以眼还眼",
                "战斗的圣洁",
                "征伐",
                "双手武器专精",
                "圣洁惩戒",
                "复仇",
                "神圣意志",
                "战争艺术",
                "忏悔",
                "智者审判",
                "狂热",
                "圣洁怒火",
                "迅捷惩戒",
                "十字军打击",
                "圣光出鞘",
                "正义复仇",
                "神圣风暴",
            },
        },
	},
    HUNTER = {
        {
            talentName = "野兽控制",
            talentIcon = 132164,
            talentSpellName = {
                "强化雄鹰守护",
                "耐久训练",
                "火力集中",
                "强化灵猴守护",
                "厚皮",
                "强化复活宠物",
                "寻路",
                "守护掌握",
                "狂怒释放",
                "强化治疗宠物",
                "凶暴",
                "灵魂联结",
                "胁迫",
                "野兽戒律",
                "驭兽者",
                "狂乱",
                "凶猛灵感",
                "狂野怒火",
                "猎豹反射",
                "鼓舞",
                "蛇之迅捷",
                "资历",
                "野兽之心",
                "眼镜蛇打击",
                "志趣相投",
                "野兽主宰",
            },
        },
        {
            talentName = "射击",
            talentIcon = 132222,
            talentSpellName = {
                "强化震荡射击",
                "专注瞄准",
                "夺命射击",
                "精确瞄准",
                "强化猎人印记",
                "致死射击",
                "直取要害",
                "强化奥术射击",
                "瞄准射击",
                "疾速杀戮",
                "强化钉刺",
                "效率",
                "冲击弹幕",
                "准备就绪",
                "弹幕",
                "战斗经验",
                "远程武器专精",
                "穿刺射击",
                "强击光环",
                "强化弹幕",
                "狙击高手",
                "急速恢复",
                "急速抽箭",
                "沉默射击",
                "强化稳固射击",
                "死亡标记",
                "奇美拉射击",
            },
        },
        {
            talentName = "生存",
            talentIcon = 132215,
            talentSpellName = {
                "强化追踪",
                "鹰眼",
                "野蛮打击",
                "稳固",
                "诱捕",
                "陷阱掌握",
                "生存本能",
                "生存专家",
                "驱散射击",
                "偏斜",
                "生存战术",
                "T.N.T.",
                "荷枪实弹",
                "荒野猎手",
                "杀戮本能",
                "反击",
                "闪电反射",
                "足智多谋",
                "破甲虚弱",
                "翼龙钉刺",
                "狩猎刺激",
                "战术大师",
                "毒性钉刺",
                "无路可逃",
                "黑箭",
                "狙击训练",
                "狩猎小队",
                "爆炸射击",
            },
        },
    },
    ROGUE = {
        {
            talentName = "刺杀",
            talentIcon = 132292,
            talentSpellName = {
                "强化刺骨",
                "冷酷攻击",
                "恶意",
                "无情",
                "鲜血飞溅",
                "穿刺之伤",
                "精力",
                "强化破甲",
                "致命偷袭",
                "剧毒",
                "强化药膏",
                "健步如飞",
                "冷血",
                "强化肾击",
                "快速恢复",
                "封印命运",
                "密谋",
                "致命酝酿",
                "灭绝",
                "勇气衰竭",
                "专注攻击",
                "寻找弱点",
                "奇毒",
                "毁伤",
                "扭转局势",
                "穷追猛砍",
                "血之饥渴",
            },
        },
        {
            talentName = "奇袭",
            talentIcon = 132090,
            talentSpellName = {
                "强化凿击",
                "强化影袭",
                "双武器专精",
                "强化切割",
                "偏斜",
                "精确",
                "耐久",
                "还击",
                "近身格斗",
                "强化脚踢",
                "强化疾跑",
                "闪电反射",
                "侵犯",
                "锤类武器专精",
                "剑刃乱舞",
                "劈斩",
                "武器专家",
                "利刃漩涡",
                "活力",
                "冲动",
                "钢铁勇气",
                "投掷专精",
                "作战潜能",
                "压倒优势",
                "突袭",
                "野蛮战斗",
                "欺凌",
                "杀戮盛筵",
            },
        },
        {
            talentName = "敏锐",
            talentIcon = 132089,
            talentSpellName = {
                "无情打击",
                "欺诈高手",
                "伺机而动",
                "狡诈",
                "邪恶计谋",
                "伪装",
                "飘忽不定",
                "鬼魅攻击",
                "锯齿利刃",
                "调整",
                "先发制人",
                "强化伏击",
                "察觉",
                "伺机待发",
                "卑鄙",
                "出血",
                "敏锐大师",
                "极致",
                "覆体之影",
                "预谋",
                "装死",
                "邪恶召唤",
                "打劫",
                "盗贼的尊严",
                "暗影步",
                "恶毒诡计",
                "暗影杀手",
                "暗影之舞",
            },
        },
    },
    PRIEST = {
        {
            talentName = "戒律",
            talentIcon = 135987,
            talentSpellName = {
                "坚定意志",
                "双生戒律",
                "无声消退",
                "强化心灵之火",
                "强化真言术：韧",
                "殉难",
                "冥想",
                "心灵专注",
                "强化真言术：盾",
                "赦免",
                "精神敏锐",
                "强化法力燃烧",
                "反射护盾",
                "心灵之力",
                "灵魂守护",
                "能量集中",
                "启迪",
                "专注意志",
                "能量灌注",
                "强化快速治疗",
                "新生希望",
                "全神贯注",
                "渴望",
                "神圣庇护",
                "痛苦压制",
                "恩赐",
                "争分夺秒",
                "苦修",
            },
        },
        {
            talentName = "神圣",
            talentIcon = 135920,
            talentSpellName = {
                "治疗专注",
                "强化恢复",
                "神圣专精",
                "法术屏障",
                "神圣之怒",
                "绝望祷言",
                "神恩回复",
                "灵感",
                "神圣延伸",
                "强化治疗术",
                "灼热之光",
                "治疗祈祷",
                "救赎之魂",
                "精神指引",
                "圣光涌动",
                "精神治疗",
                "神圣专注",
                "光明之泉",
                "神佑之韧",
                "全心全意",
                "治疗增效",
                "好运",
                "恢复增效",
                "治疗之环",
                "信仰试炼",
                "神圣眷顾",
                "守护之魂",
            },
        },
        {
            talentName = "暗影",
            talentIcon = 136207,
            talentSpellName = {
                "精神分流",
                "强化精神分流",
                "黑暗",
                "暗影亲和",
                "强化暗言术：痛",
                "暗影集中",
                "强化心灵尖啸",
                "强化心灵震爆",
                "精神鞭笞",
                "遮蔽之影",
                "暗影延伸",
                "暗影交织",
                "沉默",
                "吸血鬼的拥抱",
                "强化吸血鬼的拥抱",
                "心灵集中",
                "心灵熔化",
                "强化噬灵疫病",
                "暗影形态",
                "暗影能量",
                "强化暗影形态",
                "悲惨",
                "心灵惊骇",
                "吸血鬼之触",
                "饱受折磨",
                "扭曲信仰",
                "消散",
            },
        },
    },
    DEATHKNIGHT = {
        {
            talentName = "鲜血",
            talentIcon = 135770,
            talentSpellName = {
                "杀戮",
                "瓦解",
                "利刃屏障",
                "刀锋护甲",
                "血之气息",
                "双手武器专精",
                "符文分流",
                "黑暗定罪",
                "死亡符文掌握",
                "强化符文分流",
                "法术偏斜",
                "仇杀",
                "血腥打击",
                "战争精英",
                "鲜血印记",
                "鲜血复仇",
                "憎恶之力",
                "血虫",
                "邪恶狂热",
                "强化鲜血灵气",
                "强化灵界打击",
                "末日突降",
                "吸血鬼之血",
                "大墓地的意志",
                "心脏打击",
                "莫格莱尼之力",
                "啜血",
                "符文刃舞",
            },
        },
        {
            talentName = "冰霜",
            talentIcon = 135773,
            talentSpellName = {
                "强化冰冷触摸",
                "符文能量掌握",
                "坚韧",
                "寒冰延伸",
                "黑冰",
                "坚若精钢",
                "冰冷之爪",
                "巫妖之躯",
                "灭绝",
                "杀戮机器",
                "墓穴之寒",
                "无尽寒冬",
                "严寒邪铠",
                "冰川腐烂",
                "黑锋冰寒",
                "强化冰冷之爪",
                "无情战斗",
                "白霜",
                "冻疮",
                "饥饿之寒",
                "强化冰霜灵气",
                "萨萨里安的威胁",
                "北地之血",
                "铜墙铁壁",
                "魔法适应",
                "冰霜打击",
                "血魔的狡诈",
                "苔原猎手",
                "凛风冲击",
            },
        },
        {
            talentName = "邪恶",
            talentIcon = 135775,
            talentSpellName = {
                "险恶攻击",
                "恶毒",
                "预知",
                "蔓延",
                "病变",
                "邪恶命令",
                "贪婪亡者",
                "爆发",
                "骨疽",
                "邪爆",
                "死神降临",
                "血染之刃",
                "亡者之夜",
                "邪恶虫群",
                "不纯",
                "挽歌",
                "亵渎",
                "魔法压制",
                "收割",
                "食尸鬼主宰",
                "孤寂",
                "反魔法领域",
                "强化邪恶灵气",
                "食尸鬼狂乱",
                "墓穴热病",
                "白骨之盾",
                "游荡疫病",
                "黑色热疫使者",
                "天灾打击",
                "瑞文戴尔之怒",
                "召唤石像鬼",
            },
        },
    },
    SHAMAN = {
        {
            talentName = "元素",
            talentIcon = 136048,
            talentSpellName = {
                "传导",
                "震荡",
                "烈焰召唤",
                "元素防护",
                "元素浩劫",
                "回响",
                "元素集中",
                "元素之怒",
                "强化火焰新星",
                "风暴之眼",
                "元素射程",
                "雷霆召唤",
                "冷酷风暴",
                "元素精准",
                "闪电掌握",
                "元素掌握",
                "风暴、大地与火焰",
                "震耳回音",
                "元素之誓",
                "闪电过载",
                "星界转移",
                "天怒图腾",
                "熔岩涌动",
                "萨满教义",
                "雷霆风暴",
            },
        },
        {
            talentName = "增强",
            talentIcon = 136051,
            talentSpellName = {
                "强化图腾",
                "大地之握",
                "先祖知识",
                "守护图腾",
                "雷鸣猛击",
                "强化幽灵狼",
                "强化护盾",
                "元素武器",
                "萨满专注",
                "预知",
                "乱舞",
                "坚韧",
                "强化风怒图腾",
                "灵魂武器",
                "聪慧",
                "怒火释放",
                "武器掌握",
                "冰霜之力",
                "双武器专精",
                "双武器",
                "风暴打击",
                "静电震击",
                "熔岩猛击",
                "强化风暴打击",
                "精神敏锐",
                "萨满之怒",
                "土灵之力",
                "漩涡武器",
                "野性狼魂",
            },
        },
        {
            talentName = "恢复",
            talentIcon = 136042,
            talentSpellName = {
                "强化治疗波",
                "图腾集中",
                "强化复生",
                "治疗之赐",
                "潮汐集中",
                "强化水之护盾",
                "治疗专注",
                "潮汐之力",
                "先祖治疗",
                "恢复图腾",
                "潮汐掌握",
                "治疗之道",
                "自然迅捷",
                "心灵专注",
                "净化",
                "自然的守护者",
                "法力之潮图腾",
                "净化灵魂",
                "永恒祝福",
                "强化治疗链",
                "自然的祝福",
                "先祖复苏",
                "大地之盾",
                "强化大地之盾",
                "波涛汹涌",
                "激流",
            },
        },
    },
    MAGE = {
        {
            talentName = "奥术",
            talentIcon = 134416,
            talentSpellName = {
                "奥术精妙",
                "奥术集中",
                "奥术稳定",
                "奥术坚韧",
                "魔法吸收",
                "奥术专注",
                "魔法协调",
                "法术冲撞",
                "心灵学者",
                "专注魔法",
                "奥术护盾",
                "强化法术反制",
                "奥术冥想",
                "欺凌弱小",
                "强化闪现术",
                "气定神闲",
                "奥术心智",
                "多彩屏障",
                "奥术动荡",
                "奥术潜能",
                "奥术增效",
                "奥术强化",
                "咒术吸收",
                "奥术涌动",
                "心灵掌握",
                "减速",
                "飞弹速射",
                "灵风拂面",
                "法术能量",
                "奥术弹幕",
            },
        },
        {
            talentName = "火焰",
            talentIcon = 135810,
            talentSpellName = {
                "强化火焰冲击",
                "烧尽",
                "强化火球术",
                "点燃",
                "燃烧意志",
                "烈焰世界",
                "烈焰投掷",
                "冲击",
                "炎爆术",
                "燃烧之魂",
                "强化灼烧",
                "熔岩护盾",
                "元素大师",
                "玩火自焚",
                "火焰重击",
                "冲击波",
                "炽热疾速",
                "火焰强化",
                "纵火",
                "燃烧",
                "熔岩之怒",
                "炽热报复",
                "火焰增效",
                "一触即燃",
                "龙息术",
                "法术连击",
                "燃尽",
                "活动炸弹",
            },
        },
        {
            talentName = "冰霜",
            talentIcon = 135846,
            talentSpellName = {
                "霜寒刺骨",
                "强化寒冰箭",
                "浮冰",
                "寒冰碎片",
                "冰霜障壁",
                "精准",
                "极寒冰霜",
                "刺骨寒冰",
                "冰冷血脉",
                "强化暴风雪",
                "极寒延伸",
                "冰霜导能",
                "碎冰",
                "急速冷却",
                "强化冰锥术",
                "冰冻之心",
                "冷若冰霜",
                "深冬之寒",
                "碎裂屏障",
                "寒冰护体",
                "极寒之风",
                "寒冰箭增效",
                "寒冰指",
                "思维冷却",
                "召唤水元素",
                "漫长寒冬",
                "透骨之寒",
                "深度冻结",
            },
        },
    },
    WARLOCK = {
        {
            talentName = "痛苦",
            talentIcon = 136145,
            talentSpellName = {
                "强化痛苦诅咒",
                "镇压",
                "强化腐蚀术",
                "强化虚弱诅咒",
                "强化吸取灵魂",
                "强化生命分流",
                "灵魂虹吸",
                "强化恐惧",
                "恶魔专注",
                "诅咒增幅",
                "无情延伸",
                "夜幕",
                "腐蚀增效",
                "暗影之拥",
                "生命虹吸",
                "疲劳诅咒",
                "强化地狱猎犬",
                "暗影掌握",
                "根除",
                "传染",
                "黑暗契约",
                "强化恐惧嚎叫",
                "邪咒",
                "死亡之拥",
                "痛苦无常",
                "疫病肆虐",
                "持久痛苦",
                "鬼影缠身",
            },
        },
        {
            talentName = "恶魔学识",
            talentIcon = 136172,
            talentSpellName = {
                "强化治疗石",
                "强化小鬼",
                "恶魔之拥",
                "邪能共效",
                "强化生命通道",
                "恶魔蛮力",
                "邪能活力",
                "强化萨亚德",
                "灵魂链接",
                "恶魔支配",
                "恶魔庇护",
                "邪恶强化",
                "召唤大师",
                "法力喂食",
                "魔石大师",
                "恶魔学识大师",
                "熔火之心",
                "恶魔韧性",
                "恶魔增效",
                "恶魔知识",
                "恶魔战术",
                "灭杀",
                "强化恶魔战术",
                "召唤恶魔卫士",
                "复仇女神",
                "恶魔契约",
                "恶魔变形",
            },
        },
        {
            talentName = "毁灭",
            talentIcon = 136186,
            talentSpellName = {
                "强化暗影箭",
                "灾祸",
                "清算",
                "熔铸皮肤",
                "灾变",
                "恶魔之能",
                "暗影灼烧",
                "毁灭",
                "强烈",
                "毁灭延伸",
                "强化灼热之痛",
                "反冲",
                "强化献祭",
                "毁坏",
                "虚空防护",
                "灰烬风暴",
                "燃烧",
                "灵魂榨取",
                "火焰冲撞",
                "暗影烈焰",
                "强化灵魂榨取",
                "爆燃",
                "暗影之怒",
                "小鬼增效",
                "硫磺烈火",
                "混乱之箭",
            },
        },
    },
    DRUID = {
        {
            talentName = "平衡",
            talentIcon = 136096,
            talentSpellName = {
                "星光之怒",
                "起源",
                "月光",
                "自然的威严",
                "强化月火术",
                "荆刺",
                "自然之赐",
                "壮丽自然",
                "自然延伸",
                "复仇",
                "星空专注",
                "月神指引",
                "虫群",
                "强化虫群",
                "梦境",
                "月怒",
                "能量平衡",
                "枭兽形态",
                "强化枭兽形态",
                "强化精灵之火",
                "枭兽狂乱",
                "塞纳留斯之怒",
                "月蚀",
                "台风",
                "自然之力",
                "强风",
                "大地与月亮",
                "星辰坠落",
            },
        },
        {
            talentName = "野性战斗",
            talentIcon = 132276,
            talentSpellName = {
                "凶暴",
                "野性侵略",
                "野性本能",
                "野蛮暴怒",
                "厚皮",
                "豹之迅捷",
                "生存本能",
                "锋利兽爪",
                "撕碎攻击",
                "猛兽攻击",
                "原始狂怒",
                "原始精准",
                "野蛮冲撞",
                "野性冲锋",
                "治愈本能",
                "自然反射",
                "野性之心",
                "适者生存",
                "兽群领袖",
                "强化兽群领袖",
                "原始坚韧",
                "兽群卫士",
                "狩猎天性",
                "感染伤口",
                "丛林之王",
                "裂伤",
                "强化裂伤",
                "狂乱撕扯",
                "原始血瘀",
                "狂暴",
            },
        },
        {
            talentName = "恢复",
            talentIcon = 136041,
            talentSpellName = {
                "强化野性印记",
                "自然集中",
                "激怒",
                "自然主义",
                "微妙",
                "自然变形",
                "强烈",
                "清晰预兆",
                "变形大师",
                "宁静之魂",
                "强化回春术",
                "自然迅捷",
                "自然赐福",
                "强化宁静",
                "治疗之触增效",
                "自然的慷慨",
                "生命之魂",
                "迅捷治愈",
                "天然完美",
                "回春增效",
                "生命之种",
                "新生",
                "生命之树",
                "强化生命之树",
                "强化树皮",
                "大地母亲的恩赐",
                "野性成长",
            },
        },
    },
}
ZL.ROLESLIST = {
    DAMAGER = DAMAGER,
    TANK = TANK,
    HEALER = HEALER,
}
ZL.ClassFileList = {
    "WARRIOR", "PALADIN", "HUNTER", "ROGUE", "PRIEST", "DEATHKNIGHT",
    "SHAMAN", "MAGE", "WARLOCK", "MONK", "DRUID", "DEMONHUNTER", "EVOKER",
}
ZL.WOW_PROJECT = {
    "至暗之夜", "地心之战", "巨龙时代", "暗影国度", "争霸艾泽拉斯", "军团再临",
    "德拉诺之王", "熊猫人之谜", "大地的裂变", "巫妖王之怒", "燃烧的远征", "经典旧世",
}
ZL.INSTANCEINFOLIST = {
    "团队副本", "野外BOSS"
}
--史诗-弹性团队副本
ZL.RaidMythicFlexibleInstance = {
    [1305] = true,  --"孢陨幽境"
}
ZL.INSTANCEINFO = {
    --journalInstanceID查询链接：https://wago.tools/db2/journalinstance?locale=zhCN&page=1
--[=[
    1、EJ_GetNumTiers()获取资料片的数量，最后一个为当前赛季，跟倒数第二个一样
    2、EJ_SelectTier(index) 选择资料片
    3、EJ_GetTierInfo(index) 资料片名字
    4、EJ_GetInstanceByIndex(index, isRaid)  获取选择资料片副本信息journalInstanceID, index循环一直到返回为nil
    5、先调用EJ_SelectInstance(journalInstanceID) 选择副本
    6、获取instanceID和BOSS信息：EJ_GetEncounterInfoByIndex(index , journalInstanceID)
    7、获取副本名字：EJ_GetInstanceInfo(journalInstanceID)
    8、获取副本所有难度EJ_IsValidInstanceDifficulty 循环判断difficultyID ====> ZL.EJ_GetInstanceDifficultyIDS()
    9、通过GetDifficultyInfo(difficultyID)获取难度信息
    10、EJ_SelectEncounter(encounterID)：选择BOSS
    11、EJ_GetCreatureInfo(index [, encounterID]) 获取BOSS的iconImage
]=]
    ["至暗之夜"] = {
        {
            journalInstanceID = 1305, --"孢陨幽境"
            difficultyId = {14, 15, 233},
        },
        {
            journalInstanceID = 1308, --"进军奎尔丹纳斯"
            difficultyId = {14, 15, 16},
        },
        {
            journalInstanceID = 1314, --"梦境裂隙"
            difficultyId = {14, 15, 16},
        },
        {
            journalInstanceID = 1307, --"虚影尖塔"
            difficultyId = {14, 15, 16},
        },
    }
    -- ["野外BOSS"] = {
    --     ["至暗之夜"] = {
    --         {
    --             worldBossID = 1,
    --             name = 2
    --         }
    --     }
    -- },
}
ZL.NON_DISENCHANTABLE_ITEMS = {
	["11287"] = true, ["186163"] = true, ["186058"] = true, ["186056"] = true,
	["11288"] = true, ["109262"] = true, ["97832"] = true, ["97831"] = true,
	["11289"] = true, ["97830"] = true, ["97829"] = true, ["97828"] = true,
	["11290"] = true, ["97827"] = true, ["97826"] = true, ["89586"] = true,
	["20406"] = true, ["84661"] = true, ["75274"] = true, ["60223"] = true,
	["20407"] = true, ["52488"] = true, ["52487"] = true, ["52486"] = true,
	["20408"] = true, ["52485"] = true, ["52252"] = true, ["21766"] = true,
}


