使用前
使用后
恢复到原来的连击点的方法:
在目标头像上显示连击点,输入下面这条命令,然后小退即可:
/run SetCVar("comboPointLocation",1)
如需恢复默认设置(即显示在自己头像下),输入下面这条命令,然后小退即可:
/run SetCVar("comboPointLocation",GetCVarDefault("comboPointLocation"))
注:该命令是游戏本身的设置,该设置参数是保存在游戏文件夹WTF\Config.wtf中的,同一电脑输入一次即可,会对所有账号生效,无需再次输入。
此帖终结!
此帖终结!
此帖终结!
重要的话说三遍,已经无需任何插件了。
附送几个其他还原命令:
1、血条显示距离还原成40码,超过40码则隐藏(7.0默认是60码):
/run SetCVar("nameplateMaxDistance",40)
如需恢复默认,则输入:
/run SetCVar("nameplateMaxDistance",GetCVarDefault("nameplateMaxDistance"))
2、血条固定(不会漂移、乱动):
/run SetCVar("nameplateOtherTopInset",-1)SetCVar("nameplateOtherBottomInset",-1)
如需恢复默认,则输入:
/run SetCVar("nameplateOtherTopInset",GetCVarDefault("nameplateOtherTopInset"))SetCVar("nameplateOtherBottomInset",GetCVarDefault("nameplateOtherBottomInset"))
3、在目标头像下显示所有DeBuff(7.0默认只显示与自己相关的)
/run SetCVar("noBuffDebuffFilterOnTarget",1)
如需恢复默认,则输入:
/run SetCVar("noBuffDebuffFilterOnTarget",GetCVarDefault("noBuffDebuffFilterOnTarget"))
注:以上3个命令是游戏本身的设置,该设置参数是保存在服务器上的,同一账号输入一次即可,无需再次输入。
7.0的新版连击点是显示在玩家自己头像下面,十分不习惯,特制作一段Lua脚本,恢复到以前的样子,有需要的拿走。
7月24日晚,更新到v1.2版,修复了与队友决斗时不显示连击点的BUG。
效果:
5星:
6星:
8星:
Code lua:
1:localMCP = CreateFrame("Frame")
2:
3:MCP:RegisterEvent("PLAYER_ENTERING_WORLD")
4:MCP:RegisterEvent("PLAYER_TARGET_CHANGED")
5:MCP:RegisterEvent("PLAYER_TALENT_UPDATE")
6:MCP:RegisterEvent("UPDATE_SHAPESHIFT_FORM")
7:MCP:RegisterEvent("UNIT_POWER_FREQUENT")
8:MCP:RegisterEvent("UNIT_MAXPOWER")
9:functionMCPF(self, event)
10:ifevent =="PLAYER_ENTERING_WORLD"then
11:TargetFrame:SetToplevel()
12:PlayerFrame:Hide()
13:PlayerFrame:Show()
14:end
15:ifnotUnitExists("target")or(UnitIsFriend("player","target")andnotUnitIsEnemy("player","target"))then
16:ComboPointPlayerFrame.Combo1:SetAlpha(0)
17:ComboPointPlayerFrame.Combo2:SetAlpha(0)
18:ComboPointPlayerFrame.Combo3:SetAlpha(0)
19:ComboPointPlayerFrame.Combo4:SetAlpha(0)
20:ComboPointPlayerFrame.Combo6:SetAlpha(0)
21:ComboPointPlayerFrame.ComboBonus1:SetAlpha(0)
22:ComboPointPlayerFrame.ComboBonus2:SetAlpha(0)
23:ComboPointPlayerFrame.ComboBonus3:SetAlpha(0)
24:else
25:ComboPointPlayerFrame.Combo1:ClearAllPoints()
26:ComboPointPlayerFrame.Combo1:SetPoint("CENTER", TargetFrame,"CENTER", 102, 54)
27:ComboPointPlayerFrame.Combo1:SetScale(0.65)
28:ComboPointPlayerFrame.Combo1:SetAlpha(1)
29:ComboPointPlayerFrame.Combo2:ClearAllPoints()
30:ComboPointPlayerFrame.Combo2:SetPoint("CENTER", ComboPointPlayerFrame.Combo1,"CENTER", 12, -13)
31:ComboPointPlayerFrame.Combo2:SetScale(0.65)
32:ComboPointPlayerFrame.Combo2:SetAlpha(1)
33:ComboPointPlayerFrame.Combo3:ClearAllPoints()
34:ComboPointPlayerFrame.Combo3:SetPoint("CENTER", ComboPointPlayerFrame.Combo2,"CENTER", 7, -16)
35:ComboPointPlayerFrame.Combo3:SetScale(0.65)
36:ComboPointPlayerFrame.Combo3:SetAlpha(1)
37:ComboPointPlayerFrame.Combo4:ClearAllPoints()
38:ComboPointPlayerFrame.Combo4:SetPoint("CENTER", ComboPointPlayerFrame.Combo3,"CENTER", 2, -16)
39:ComboPointPlayerFrame.Combo4:SetScale(0.65)
40:ComboPointPlayerFrame.Combo4:SetAlpha(1)
end
41:ComboPointPlayerFrame.Combo5:ClearAllPoints()
42:ComboPointPlayerFrame.Combo4:SetAlpha(1)
43:ComboPointPlayerFrame.Combo5:ClearAllPoints()
44:ComboPointPlayerFrame.Combo5:SetPoint("CENTER", ComboPointPlayerFrame.Combo4,"CENTER", -1, -17)
45:ComboPointPlayerFrame.Combo5:SetScale(0.65)
46:ComboPointPlayerFrame.Combo5:SetAlpha(1)
47:ComboPointPlayerFrame.Combo6:ClearAllPoints()
48:ComboPointPlayerFrame.Combo6:SetPoint("CENTER", ComboPointPlayerFrame.Combo5,"CENTER", -2, -15)
49:ComboPointPlayerFrame.Combo6:SetScale(0.65)
50:ComboPointPlayerFrame.Combo6:SetAlpha(1)
51:ComboPointPlayerFrame.ComboBonus1:ClearAllPoints()
52:ComboPointPlayerFrame.ComboBonus1:SetPoint("CENTER", ComboPointPlayerFrame.Combo2,"CENTER", 10, 0)
53:ComboPointPlayerFrame.ComboBonus1:SetScale(1)
54:ComboPointPlayerFrame.ComboBonus1:SetAlpha(1)
55:ComboPointPlayerFrame.ComboBonus2:ClearAllPoints()
56:ComboPointPlayerFrame.ComboBonus2:SetPoint("CENTER", ComboPointPlayerFrame.Combo3,"CENTER", 9, 0)
57:ComboPointPlayerFrame.ComboBonus2:SetScale(1)
58:ComboPointPlayerFrame.ComboBonus2:SetAlpha(1)
59:ComboPointPlayerFrame.ComboBonus3:ClearAllPoints()
60:ComboPointPlayerFrame.ComboBonus3:SetPoint("CENTER", ComboPointPlayerFrame.Combo4,"CENTER", 8.5, 0)
61:ComboPointPlayerFrame.ComboBonus3:SetScale(1)
62:ComboPointPlayerFrame.ComboBonus3:SetAlpha(1)
63:end
64:end
65:
66:MCP:SetScript("OnEvent",MCPF)
(作者:SonofBlizzard)
新浪声明:新浪网登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。