📄 tipbuddy_initialize.lua
字号:
{ frame = "TB_Op_Check21", text = TB_OPTION_CLS, type = "pc_enemy", var = "cls", tooltipText = TB_OPTION_CLS_TOOLTIP },
{ frame = "TB_Op_Check22", text = TB_OPTION_FAC, type = "pc_enemy", var = "fac", tooltipText = TB_OPTION_FAC_TOOLTIP },
{ frame = "TB_Op_Check23", text = TB_OPTION_BFF, type = "pc_enemy", var = "bff", tooltipText = TB_OPTION_BFF_TOOLTIP },
{ frame = "TB_Op_Check24", text = TB_OPTION_RNK, type = "pc_enemy", var = "rnk", tooltipText = TB_OPTION_RNK_TOOLTIP },
{ frame = "TB_Op_Check25", text = TB_OPTION_OFF, type = "npc_friend", var = "off", tooltipText = TB_OPTION_OFF_TOOLTIP },
{ frame = "TB_Op_Check26", text = TB_OPTION_GLD_TITLE, type = "npc_friend", var = "gld", tooltipText = TB_OPTION_GLD_TITLE_TOOLTIP },
{ frame = "TB_Op_Check27", text = TB_OPTION_HTH, type = "npc_friend", var = "hth", tooltipText = TB_OPTION_HTH_TOOLTIP },
{ frame = "TB_Op_Check28", text = TB_OPTION_CFC, type = "npc_friend", var = "cfc", tooltipText = TB_OPTION_CFC_TOOLTIP },
{ frame = "TB_Op_Check29", text = TB_OPTION_CLS_TYPE, type = "npc_friend", var = "cls", tooltipText = TB_OPTION_CLS_TYPE_TOOLTIP },
{ frame = "TB_Op_Check30", text = TB_OPTION_FAC, type = "npc_friend", var = "fac", tooltipText = TB_OPTION_FAC_TOOLTIP },
{ frame = "TB_Op_Check31", text = TB_OPTION_BFF, type = "npc_friend", var = "bff", tooltipText = TB_OPTION_BFF_TOOLTIP },
{ frame = "TB_Op_Check32", text = TB_OPTION_XTR, type = "npc_friend", var = "xtr", tooltipText = TB_OPTION_XTR_TOOLTIP },
{ frame = "TB_Op_Check33", text = TB_OPTION_OFF, type = "npc_enemy", var = "off", tooltipText = TB_OPTION_OFF_TOOLTIP },
{ frame = "TB_Op_Check34", text = TB_OPTION_GLD_TITLE, type = "npc_enemy", var = "gld", tooltipText = TB_OPTION_GLD_TITLE_TOOLTIP },
{ frame = "TB_Op_Check35", text = TB_OPTION_HTH, type = "npc_enemy", var = "hth", tooltipText = TB_OPTION_HTH_TOOLTIP },
{ frame = "TB_Op_Check36", text = TB_OPTION_CFC, type = "npc_enemy", var = "cfc", tooltipText = TB_OPTION_CFC_TOOLTIP },
{ frame = "TB_Op_Check37", text = TB_OPTION_CLS_TYPE, type = "npc_enemy", var = "cls", tooltipText = TB_OPTION_CLS_TYPE_TOOLTIP },
{ frame = "TB_Op_Check38", text = TB_OPTION_FAC, type = "npc_enemy", var = "fac", tooltipText = TB_OPTION_FAC_TOOLTIP },
{ frame = "TB_Op_Check39", text = TB_OPTION_BFF, type = "npc_enemy", var = "bff", tooltipText = TB_OPTION_BFF_TOOLTIP },
{ frame = "TB_Op_Check40", text = TB_OPTION_XTR, type = "npc_enemy", var = "xtr", tooltipText = TB_OPTION_XTR_TOOLTIP },
{ frame = "TB_Op_Check41", text = TB_OPTION_OFF, type = "pet_friend", var = "off", tooltipText = TB_OPTION_OFF_TOOLTIP },
{ frame = "TB_Op_Check42", text = TB_OPTION_GLD_TITLE, type = "pet_friend", var = "gld", tooltipText = TB_OPTION_GLD_TITLE_TOOLTIP },
{ frame = "TB_Op_Check43", text = TB_OPTION_HTH, type = "pet_friend", var = "hth", tooltipText = TB_OPTION_HTH_TOOLTIP },
{ frame = "TB_Op_Check44", text = TB_OPTION_CFC, type = "pet_friend", var = "cfc", tooltipText = TB_OPTION_CFC_TOOLTIP },
{ frame = "TB_Op_Check45", text = TB_OPTION_CLS_TYPE, type = "pet_friend", var = "cls", tooltipText = TB_OPTION_CLS_TYPE_TOOLTIP },
{ frame = "TB_Op_Check46", text = TB_OPTION_FAC, type = "pet_friend", var = "fac", tooltipText = TB_OPTION_FAC_TOOLTIP },
{ frame = "TB_Op_Check47", text = TB_OPTION_BFF, type = "pet_friend", var = "bff", tooltipText = TB_OPTION_BFF_TOOLTIP },
{ frame = "TB_Op_Check48", text = TB_OPTION_XTR, type = "pet_friend", var = "xtr", tooltipText = TB_OPTION_XTR_TOOLTIP },
{ frame = "TB_Op_Check49", text = TB_OPTION_OFF, type = "pet_enemy", var = "off", tooltipText = TB_OPTION_OFF_TOOLTIP },
{ frame = "TB_Op_Check50", text = TB_OPTION_GLD_TITLE, type = "pet_enemy", var = "gld", tooltipText = TB_OPTION_GLD_TITLE_TOOLTIP },
{ frame = "TB_Op_Check51", text = TB_OPTION_HTH, type = "pet_enemy", var = "hth", tooltipText = TB_OPTION_HTH_TOOLTIP },
{ frame = "TB_Op_Check52", text = TB_OPTION_CFC, type = "pet_enemy", var = "cfc", tooltipText = TB_OPTION_CFC_TOOLTIP },
{ frame = "TB_Op_Check53", text = TB_OPTION_CLS_TYPE, type = "pet_enemy", var = "cls", tooltipText = TB_OPTION_CLS_TYPE_TOOLTIP },
{ frame = "TB_Op_Check54", text = TB_OPTION_FAC, type = "pet_enemy", var = "fac", tooltipText = TB_OPTION_FAC_TOOLTIP },
{ frame = "TB_Op_Check55", text = TB_OPTION_BFF, type = "pet_enemy", var = "bff", tooltipText = TB_OPTION_BFF_TOOLTIP },
{ frame = "TB_Op_Check56", text = TB_OPTION_XTR, type = "pet_enemy", var = "xtr", tooltipText = TB_OPTION_XTR_TOOLTIP },
{ frame = "TB_Op_Check57", text = TB_OPTION_ANCHORED, type = "general", var = "anchored", tooltipText = TB_OPTION_ANCHORED_TOOLTIP },
{ frame = "TB_Op_Check58", text = TB_OPTION_CLASSCOLOR, type = "general", var = "classcolor", tooltipText = TB_OPTION_CLASSCOLOR_TOOLTIP },
{ frame = "TB_Op_Check59", text = TB_OPTION_FADEDEFAULT, type = "general", var = "gtt_fade", tooltipText = TB_OPTION_FADEDEFAULT_TOOLTIP },
{ frame = "TB_Op_Check60", text = TB_OPTION_BLIZZARDDEFAULT, type = "general", var = "blizdefault", tooltipText = TB_OPTION_BLIZZARDDEFAULT_TOOLTIP },
{ frame = "TB_Op_Check61", text = TB_OPTION_UBERTIPANCH, type = "general", var = "c", tooltipText = TB_OPTION_UBERTIPANCH_TOOLTIP },
{ frame = "TB_Op_Check62", text = TB_OPTION_DIFFBACKGROUND, type = "general", var = "diff_bg", tooltipText = TB_OPTION_DIFFBACKGROUND_TOOLTIP },
{ frame = "TB_Op_Check63", text = TB_OPTION_RNM, type = "pc_friend", var = "rnm", tooltipText = TB_OPTION_RNM_TOOLTIP },
{ frame = "TB_Op_Check64", text = TB_OPTION_RNM, type = "pc_party", var = "rnm", tooltipText = TB_OPTION_RNM_TOOLTIP },
{ frame = "TB_Op_Check65", text = TB_OPTION_RNM, type = "pc_enemy", var = "rnm", tooltipText = TB_OPTION_RNM_TOOLTIP },
{ frame = "TB_Op_Check66", text = "", type = "general", var = "c", tooltipText = "" },
{ frame = "TB_Op_Check67", text = "", type = "general", var = "c", tooltipText = "" },
{ frame = "TB_Op_Check68", text = "", type = "general", var = "c", tooltipText = "" },
{ frame = "TB_Op_Check69", text = "", type = "general", var = "c", tooltipText = "" },
{ frame = "TB_Op_Check70", text = TB_OPTION_OFF, type = "npc_neutral", var = "off", tooltipText = TB_OPTION_OFF_TOOLTIP },
{ frame = "TB_Op_Check71", text = TB_OPTION_GLD_TITLE, type = "npc_neutral", var = "gld", tooltipText = TB_OPTION_GLD_TITLE_TOOLTIP },
{ frame = "TB_Op_Check72", text = TB_OPTION_HTH, type = "npc_neutral", var = "hth", tooltipText = TB_OPTION_HTH_TOOLTIP },
{ frame = "TB_Op_Check73", text = TB_OPTION_CFC, type = "npc_neutral", var = "cfc", tooltipText = TB_OPTION_CFC_TOOLTIP },
{ frame = "TB_Op_Check74", text = TB_OPTION_CLS_TYPE, type = "npc_neutral", var = "cls", tooltipText = TB_OPTION_CLS_TYPE_TOOLTIP },
{ frame = "TB_Op_Check75", text = TB_OPTION_FAC, type = "npc_neutral", var = "fac", tooltipText = TB_OPTION_FAC_TOOLTIP },
{ frame = "TB_Op_Check76", text = TB_OPTION_BFF, type = "npc_neutral", var = "bff", tooltipText = TB_OPTION_BFF_TOOLTIP },
{ frame = "TB_Op_Check77", text = TB_OPTION_XTR, type = "npc_neutral", var = "xtr", tooltipText = TB_OPTION_XTR_TOOLTIP },
{ frame = "TB_Op_Check78", text = TB_OPTION_TRG, type = "pc_friend", var = "trg", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_Op_Check79", text = TB_OPTION_TRG, type = "pc_party", var = "trg", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_Op_Check80", text = TB_OPTION_TRG, type = "pc_enemy", var = "trg", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_Op_Check81", text = TB_OPTION_TRG, type = "npc_friend", var = "trg", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_Op_Check82", text = TB_OPTION_TRG, type = "npc_neutral", var = "trg", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_Op_Check83", text = TB_OPTION_TRG, type = "npc_enemy", var = "trg", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_Op_Check84", text = TB_OPTION_TRG, type = "pet_friend", var = "trg", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_Op_Check85", text = TB_OPTION_TRG, type = "pet_enemy", var = "trg", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_Op_Check86", text = TB_OPTION_OFF, type = "corpse", var = "off", tooltipText = TB_OPTION_OFF_TOOLTIP },
{ frame = "TB_Op_Check87", text = TB_OPTION_GLD_TITLE, type = "corpse", var = "gld", tooltipText = TB_OPTION_GLD_TITLE_TOOLTIP },
{ frame = "TB_Op_Check88", text = TB_OPTION_CFC, type = "corpse", var = "cfc", tooltipText = TB_OPTION_CFC_TOOLTIP },
{ frame = "TB_Op_Check89", text = TB_OPTION_CLS_TYPE, type = "corpse", var = "cls", tooltipText = TB_OPTION_CLS_TYPE_TOOLTIP },
{ frame = "TB_Op_Check78_PlusPopup_1", text = TB_OPTION_TRG_PL, type = "pc_friend", var = "trg_pl", tooltipText = TB_OPTION_TRG_PL_TOOLTIP },
{ frame = "TB_Op_Check78_PlusPopup_2", text = TB_OPTION_TRG_EN, type = "pc_friend", var = "trg_en", tooltipText = TB_OPTION_TRG_EN_TOOLTIP },
{ frame = "TB_Op_Check78_PlusPopup_3", text = TB_OPTION_TRG_NP, type = "pc_friend", var = "trg_np", tooltipText = TB_OPTION_TRG_NP_TOOLTIP },
{ frame = "TB_Op_Check78_PlusPopup_4", text = TB_OPTION_TRG_PA, type = "pc_friend", var = "trg_pa", tooltipText = TB_OPTION_TRG_PA_TOOLTIP },
{ frame = "TB_Op_Check78_PlusPopup_5", text = TB_OPTION_TRG_2L, type = "pc_friend", var = "trg_2l", tooltipText = TB_OPTION_TRG_2L_TOOLTIP },
{ frame = "TB_Op_Check79_PlusPopup_1", text = TB_OPTION_TRG_PL, type = "pc_party", var = "trg_pl", tooltipText = TB_OPTION_TRG_PL_TOOLTIP },
{ frame = "TB_Op_Check79_PlusPopup_2", text = TB_OPTION_TRG_EN, type = "pc_party", var = "trg_en", tooltipText = TB_OPTION_TRG_EN_TOOLTIP },
{ frame = "TB_Op_Check79_PlusPopup_3", text = TB_OPTION_TRG_NP, type = "pc_party", var = "trg_np", tooltipText = TB_OPTION_TRG_NP_TOOLTIP },
{ frame = "TB_Op_Check79_PlusPopup_4", text = TB_OPTION_TRG_PA, type = "pc_party", var = "trg_pa", tooltipText = TB_OPTION_TRG_PA_TOOLTIP },
{ frame = "TB_Op_Check79_PlusPopup_5", text = TB_OPTION_TRG_2L, type = "pc_party", var = "trg_2l", tooltipText = TB_OPTION_TRG_2L_TOOLTIP },
{ frame = "TB_Op_Check80_PlusPopup_1", text = TB_OPTION_TRG_PL, type = "pc_enemy", var = "trg_pl", tooltipText = TB_OPTION_TRG_PL_TOOLTIP },
{ frame = "TB_Op_Check80_PlusPopup_2", text = TB_OPTION_TRG_EN, type = "pc_enemy", var = "trg_en", tooltipText = TB_OPTION_TRG_EN_TOOLTIP },
{ frame = "TB_Op_Check80_PlusPopup_3", text = TB_OPTION_TRG_NP, type = "pc_enemy", var = "trg_np", tooltipText = TB_OPTION_TRG_NP_TOOLTIP },
{ frame = "TB_Op_Check80_PlusPopup_4", text = TB_OPTION_TRG_PA, type = "pc_enemy", var = "trg_pa", tooltipText = TB_OPTION_TRG_PA_TOOLTIP },
{ frame = "TB_Op_Check80_PlusPopup_5", text = TB_OPTION_TRG_2L, type = "pc_enemy", var = "trg_2l", tooltipText = TB_OPTION_TRG_2L_TOOLTIP },
{ frame = "TB_Op_Check81_PlusPopup_1", text = TB_OPTION_TRG_PL, type = "npc_friend", var = "trg_pl", tooltipText = TB_OPTION_TRG_PL_TOOLTIP },
{ frame = "TB_Op_Check81_PlusPopup_2", text = TB_OPTION_TRG_EN, type = "npc_friend", var = "trg_en", tooltipText = TB_OPTION_TRG_EN_TOOLTIP },
{ frame = "TB_Op_Check81_PlusPopup_3", text = TB_OPTION_TRG_NP, type = "npc_friend", var = "trg_np", tooltipText = TB_OPTION_TRG_NP_TOOLTIP },
{ frame = "TB_Op_Check81_PlusPopup_4", text = TB_OPTION_TRG_PA, type = "npc_friend", var = "trg_pa", tooltipText = TB_OPTION_TRG_PA_TOOLTIP },
{ frame = "TB_Op_Check81_PlusPopup_5", text = TB_OPTION_TRG_2L, type = "npc_friend", var = "trg_2l", tooltipText = TB_OPTION_TRG_2L_TOOLTIP },
{ frame = "TB_Op_Check82_PlusPopup_1", text = TB_OPTION_TRG_PL, type = "npc_neutral", var = "trg_pl", tooltipText = TB_OPTION_TRG_PL_TOOLTIP },
{ frame = "TB_Op_Check82_PlusPopup_2", text = TB_OPTION_TRG_EN, type = "npc_neutral", var = "trg_en", tooltipText = TB_OPTION_TRG_EN_TOOLTIP },
{ frame = "TB_Op_Check82_PlusPopup_3", text = TB_OPTION_TRG_NP, type = "npc_neutral", var = "trg_np", tooltipText = TB_OPTION_TRG_NP_TOOLTIP },
{ frame = "TB_Op_Check82_PlusPopup_4", text = TB_OPTION_TRG_PA, type = "npc_neutral", var = "trg_pa", tooltipText = TB_OPTION_TRG_PA_TOOLTIP },
{ frame = "TB_Op_Check82_PlusPopup_5", text = TB_OPTION_TRG_2L, type = "npc_neutral", var = "trg_2l", tooltipText = TB_OPTION_TRG_2L_TOOLTIP },
{ frame = "TB_Op_Check83_PlusPopup_1", text = TB_OPTION_TRG_PL, type = "npc_enemy", var = "trg_pl", tooltipText = TB_OPTION_TRG_PL_TOOLTIP },
{ frame = "TB_Op_Check83_PlusPopup_2", text = TB_OPTION_TRG_EN, type = "npc_enemy", var = "trg_en", tooltipText = TB_OPTION_TRG_EN_TOOLTIP },
{ frame = "TB_Op_Check83_PlusPopup_3", text = TB_OPTION_TRG_NP, type = "npc_enemy", var = "trg_np", tooltipText = TB_OPTION_TRG_NP_TOOLTIP },
{ frame = "TB_Op_Check83_PlusPopup_4", text = TB_OPTION_TRG_PA, type = "npc_enemy", var = "trg_pa", tooltipText = TB_OPTION_TRG_PA_TOOLTIP },
{ frame = "TB_Op_Check83_PlusPopup_5", text = TB_OPTION_TRG_2L, type = "npc_enemy", var = "trg_2l", tooltipText = TB_OPTION_TRG_2L_TOOLTIP },
{ frame = "TB_Op_Check84_PlusPopup_1", text = TB_OPTION_TRG_PL, type = "pet_friend", var = "trg_pl", tooltipText = TB_OPTION_TRG_PL_TOOLTIP },
{ frame = "TB_Op_Check84_PlusPopup_2", text = TB_OPTION_TRG_EN, type = "pet_friend", var = "trg_en", tooltipText = TB_OPTION_TRG_EN_TOOLTIP },
{ frame = "TB_Op_Check84_PlusPopup_3", text = TB_OPTION_TRG_NP, type = "pet_friend", var = "trg_np", tooltipText = TB_OPTION_TRG_NP_TOOLTIP },
{ frame = "TB_Op_Check84_PlusPopup_4", text = TB_OPTION_TRG_PA, type = "pet_friend", var = "trg_pa", tooltipText = TB_OPTION_TRG_PA_TOOLTIP },
{ frame = "TB_Op_Check84_PlusPopup_5", text = TB_OPTION_TRG_2L, type = "pet_friend", var = "trg_2l", tooltipText = TB_OPTION_TRG_2L_TOOLTIP },
{ frame = "TB_Op_Check85_PlusPopup_1", text = TB_OPTION_TRG_PL, type = "pet_enemy", var = "trg_pl", tooltipText = TB_OPTION_TRG_PL_TOOLTIP },
{ frame = "TB_Op_Check85_PlusPopup_2", text = TB_OPTION_TRG_EN, type = "pet_enemy", var = "trg_en", tooltipText = TB_OPTION_TRG_EN_TOOLTIP },
{ frame = "TB_Op_Check85_PlusPopup_3", text = TB_OPTION_TRG_NP, type = "pet_enemy", var = "trg_np", tooltipText = TB_OPTION_TRG_NP_TOOLTIP },
{ frame = "TB_Op_Check85_PlusPopup_4", text = TB_OPTION_TRG_PA, type = "pet_enemy", var = "trg_pa", tooltipText = TB_OPTION_TRG_PA_TOOLTIP },
{ frame = "TB_Op_Check85_PlusPopup_5", text = TB_OPTION_TRG_2L, type = "pet_enemy", var = "trg_2l", tooltipText = TB_OPTION_TRG_2L_TOOLTIP },
{ frame = "TB_Op_Check3_PlusPopup_1", text = "", type = "pc_friend", var = "txt_hth", tooltipText = "" },
{ frame = "TB_Op_Check3_PlusPopup_2", text = "", type = "pc_friend", var = "txt_mna", tooltipText = "" },
{ frame = "TB_Op_Check11_PlusPopup_1", text = "", type = "pc_party", var = "txt_hth", tooltipText = "" },
{ frame = "TB_Op_Check11_PlusPopup_2", text = "", type = "pc_party", var = "txt_mna", tooltipText = "" },
{ frame = "TB_Op_Check19_PlusPopup_1", text = "", type = "pc_enemy", var = "txt_hth", tooltipText = "" },
{ frame = "TB_Op_Check19_PlusPopup_2", text = "", type = "pc_enemy", var = "txt_mna", tooltipText = "" },
{ frame = "TB_Op_Check27_PlusPopup_1", text = "", type = "npc_friend", var = "txt_hth", tooltipText = "" },
{ frame = "TB_Op_Check27_PlusPopup_2", text = "", type = "npc_friend", var = "txt_mna", tooltipText = "" },
{ frame = "TB_Op_Check72_PlusPopup_1", text = "", type = "npc_neutral", var = "txt_hth", tooltipText = "" },
{ frame = "TB_Op_Check72_PlusPopup_2", text = "", type = "npc_neutral", var = "txt_mna", tooltipText = "" },
{ frame = "TB_Op_Check35_PlusPopup_1", text = "", type = "npc_enemy", var = "txt_hth", tooltipText = "" },
{ frame = "TB_Op_Check35_PlusPopup_2", text = "", type = "npc_enemy", var = "txt_mna", tooltipText = "" },
{ frame = "TB_Op_Check43_PlusPopup_1", text = "", type = "pet_friend", var = "txt_hth", tooltipText = "" },
{ frame = "TB_Op_Check43_PlusPopup_2", text = "", type = "pet_friend", var = "txt_mna", tooltipText = "" },
{ frame = "TB_Op_Check51_PlusPopup_1", text = "", type = "pet_enemy", var = "txt_hth", tooltipText = "" },
{ frame = "TB_Op_Check51_PlusPopup_2", text = "", type = "pet_enemy", var = "txt_mna", tooltipText = "" },
--Faction/PvP text
{ frame = "TB_Op_Check6_PlusPopup_1", text = "", type = "pc_friend", var = "txt_pvp", tooltipText = "" },
{ frame = "TB_Op_Check14_PlusPopup_1", text = "", type = "pc_party", var = "txt_pvp", tooltipText = "" },
{ frame = "TB_Op_Check22_PlusPopup_1", text = "", type = "pc_enemy", var = "txt_pvp", tooltipText = "" },
{ frame = "TB_Op_Check30_PlusPopup_1", text = "", type = "npc_friend", var = "txt_pvp", tooltipText = "" },
{ frame = "TB_Op_Check75_PlusPopup_1", text = "", type = "npc_neutral", var = "txt_pvp", tooltipText = "" },
{ frame = "TB_Op_Check38_PlusPopup_1", text = "", type = "npc_enemy", var = "txt_pvp", tooltipText = "" },
{ frame = "TB_Op_Check46_PlusPopup_1", text = "", type = "pet_friend", var = "txt_pvp", tooltipText = "" },
{ frame = "TB_Op_Check54_PlusPopup_1", text = "", type = "pet_enemy", var = "txt_pvp", tooltipText = "" },
};
TB_EditBoxes = {
{ frame = "TB_EditBox_01_1", text = TB_OPTION_TRG, type = "pc_friend", var = "ebx1", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_EditBox_01_2", text = TB_OPTION_TRG, type = "pc_friend", var = "ebx2", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_EditBox_02_1", text = TB_OPTION_TRG, type = "pc_party", var = "ebx1", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_EditBox_02_2", text = TB_OPTION_TRG, type = "pc_party", var = "ebx2", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_EditBox_03_1", text = TB_OPTION_TRG, type = "pc_enemy", var = "ebx1", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_EditBox_03_2", text = TB_OPTION_TRG, type = "pc_enemy", var = "ebx2", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_EditBox_04_1", text = TB_OPTION_TRG, type = "npc_friend", var = "ebx1", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_EditBox_04_2", text = TB_OPTION_TRG, type = "npc_friend", var = "ebx2", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_EditBox_05_1", text = TB_OPTION_TRG, type = "npc_neutral", var = "ebx1", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_EditBox_05_2", text = TB_OPTION_TRG, type = "npc_neutral", var = "ebx2", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_EditBox_06_1", text = TB_OPTION_TRG, type = "npc_enemy", var = "ebx1", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_EditBox_06_2", text = TB_OPTION_TRG, type = "npc_enemy", var = "ebx2", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_EditBox_07_1", text = TB_OPTION_TRG, type = "pet_friend", var = "ebx1", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_EditBox_07_2", text = TB_OPTION_TRG, type = "pet_friend", var = "ebx2", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_EditBox_08_1", text = TB_OPTION_TRG, type = "pet_enemy", var = "ebx1", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_EditBox_08_2", text = TB_OPTION_TRG, type = "pet_enemy", var = "ebx2", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_EditBox_09_1", text = TB_OPTION_TRG, type = "corpse", var = "ebx1", tooltipText = TB_OPTION_TRG_TOOLTIP },
{ frame = "TB_EditBox_09_2", text = TB_OPTION_TRG, type = "corpse", var = "ebx2", tooltipText = TB_OPTION_TRG_TOOLTIP },
};
-- I hate doing this, but Bliz won't give us a function to look up an NPC's Faction.
-- This list will certainly break down at some point if/when more get added by Bliz. :(
TB_Factions = {
[0] = "铁炉堡",
[1] = "暴风城",
[2] = "奥格瑞玛",
[3] = "幽暗城",
[4] = "达纳苏斯",
[5] = "诺莫瑞根流亡者",
[6] = "暗矛巨魔",
[7] = "雷霆崖",
[8] = "藏宝海湾",
[9] = "永望镇",
[10] = "加基森",
[11] = "棘齿城",
[12] = "阿拉索联军",
[13] = "铁炉堡",
[14] = "银翼要塞",
[15] = "污染者",
[16] = "霜狼氏族",
[17] = "战歌氏族",
[18] = "银色黎明",
[19] = "血帆海盗",
[20] = "塞纳里奥会议",
[21] = "吉尔吉斯半人马",
[22] = "海达希亚水元素",
[23] = "玛格拉姆半人马",
[24] = "拉文霍德",
[25] = "恶齿巨魔",
[26] = "辛德拉",
[27] = "辛迪加",
[28] = "瑟银兄弟会",
[29] = "木喉要塞",
[30] = "蛮锤部族",
[31] = "冬刃豹训练师",
[32] = "雷矛卫队",
[33] = "暗月马戏团",
[34] = "赞达拉部族",
[35] = "诺兹多姆的子嗣",
};
function TipBuddy_Variable_Initialize()
if ( TipBuddy_SavedVars and TipBuddy_SavedVars["version"] == TIPBUDDY_VERSION ) then
return;
end
if (not TipBuddy_SavedVars) then
TipBuddy_SavedVars = { };
end
if ( tonumber(TipBuddy_SavedVars["version"]) ~= nil and tonumber(TipBuddy_SavedVars["version"]) < 1.55 ) then
TipBuddy_ResetOffState();
elseif ( tonumber(TipBuddy_SavedVars["version"]) ~= nil and tonumber(TipBuddy_SavedVars["version"]) < 1.74 ) then
end
TipBuddy_SavedVars["version"] = TIPBUDDY_VERSION;
DEFAULT_CHAT_FRAME:AddMessage("|cff3366ff初始化Tipbuddy设置");
--/script DEFAULT_CHAT_FRAME:AddMessage(tonumber(TipBuddy_SavedVars["version"]));
if ( TipBuddy_SavedVars["pc_friend"] ) then
if ( TipBuddy_SavedVars["pc_friend"]["bgcolor"] == nil ) then
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -