错了,是SpellBinder干扰的,SpellBinder用过后可以不加载就能使用,保存在bindings-cache.wtf里了。
可是加载
ShortKey出现这种情况了,位置和比例都变了
更改如下
ShortKey.ExtFrame = {
--自定义小队窗体名称
Party = {PartyMemberFrame1,PartyMemberFrame2,PartyMemberFrame3,PartyMemberFrame4},
--自定义目标窗体名称
Target = {TargetFrame},
}
ShortKey.Config[1] = {
--将E键绑定为向前走
{Key = "E", Type = "command", Value = "MOVEFORWARD"},
{Key = "D", Type = "command", Value = "MOVEBACKWARD"},
{Key = "S", Type = "command", Value = "STRAFELEFT"},
{Key = "F", Type = "command", Value = "STRAFERIGHT"},
{Key = "SHIFT-B", Type = "command", Value = "OPENALLBAGS"},
{Key = "F5", Type = "command", Value = "TOGGLECHARACTER0"},
{Key = "F6", Type = "command", Value = "TOGGLESPELLBOOK"},
{Key = "F7", Type = "command", Value = "TOGGLETALENTS"},
{Key = "F8", Type = "command", Value = "TOGGLEQUESTLOG"},
{Key = "F9", Type = "command", Value = "TOGGLESOCIAL"},
{Key = "F10", Type = "command", Value = "TOGGLEWORLDMAP"},
{Key = "F11", Type = "command", Value = "TOGGLEBATTLEFIELDMINIMAP"},
{Key = "F12", Type = "command", Value = "TOGGLELFGPARENT"},
{Key = "ESCAPE", Type = "command", Value = "TOGGLEGAMEMENU"},
}
ShortKey.Config[2] = {
Class = "术士",
Character = "XXXXXX",
--按E键为自己施放"真言术:盾"
{Key = "R", Type = "spell", Value = "痛苦诅咒", Target = "target"},
{Key = "A", Type = "spell", Value = "吸取生命", Target = "target"},
{Key = "C", Type = "spell", Value = "鲁莽诅咒", Target = "target"},
{Key = "T", Type = "spell", Value = "献祭", Target = "target"},
{Key = "ALT-D", Type = "spell", Value = "吸取法力", Target = "target"},
{Key = "G", Type = "spell", Value = "恐惧", Target = "target"},
{Key = "H", Type = "spell", Value = "生命分流"},
{Key = "Y", Type = "spell", Value = "放逐术", Target = "target"},
{Key = "V", Type = "spell", Value = "虚弱诅咒", Target = "target"},
{Key = "7", Type = "spell", Value = "吸取灵魂", Target = "target"},
{Key = "5", Type = "spell", Value = "生命虹吸", Target = "target"},
{Key = "Z", Type = "spell", Value = "语言诅咒", Target = "target"},
{Key = "X", Type = "spell", Value = "元素诅咒", Target = "target"},
{Key = "ALT-C", Type = "spell", Value = "暗影诅咒", Target = "target"},
{Key = "W", Type = "spell", Value = "暗影之怒", Target = "target"},
{Key = "ALT-E", Type = "spell", Value = "生命通道", Target = "target"},
{Key = "Q", Type = "spell", Value = "死亡缠绕", Target = "target"},
{Key = "6", Type = "spell", Value = "点燃", Target = "target"},
{Key = "2", Type = "spell", Value = "防护暗影结界", Target = "target"},
{Key = "1", Type = "spell", Value = "恐惧嚎叫"},
{Key = "3", Type = "spell", Value = "暗影箭", Target = "target"},
{Key = "4", Type = "spell", Value = "暗影灼烧", Target = "target"},
{Key = "5", Type = "spell", Value = "灼热之痛", Target = "target"},
--按G键使用坐骑
{Key = "J", Type = "item", Value = "黑色战豹缰绳", Target = "player"},
--鼠标滚轮上滑3次会依次对目标使用魔息术", "侦测次级隐形", "火焰之盾3个法术
{Key = "SHIFT-MOUSEWHEELUP", Type = "spell", Value = {"魔息术", "侦测次级隐形", "火焰之盾"}, Target = "target"},
{Key = "SHIFT-MOUSEWHEELDOWN", Type = "spell", Value = {"魔息术", "侦测次级隐形", "火焰之盾"}, Target = "player"},
--在小队头像上按鼠标左键会为该小队成员施放"快速治疗"法术
{Key = "LeftButton", Type = "spell", Value = "快速治疗", Target = "helpbutton", TargetFrames = ShortKey.ExtFrame.Party},
{Key = "ALT-LeftButton", Type = "spell", Value = "强效治疗术", Target = "helpbutton", TargetFrames = ShortKey.ExtFrame.Party},
{Key = "CTRL-LeftButton", Type = "spell", Value = "真言术:韧", Target = "helpbutton", TargetFrames = ShortKey.ExtFrame.Party},
--在小队头像上按SHIFT+鼠标左键为选中该小队成员
{Key = "SHIFT-LeftButton", Type = "target", TargetFrames = ShortKey.ExtFrame.Party},
{Key = "RightButton", Type = "spell", Value = "真言术:盾", Target = "helpbutton", TargetFrames = ShortKey.ExtFrame.Party},
{Key = "ALT-RightButton", Type = "spell", Value = "复活术", Target = "helpbutton", TargetFrames = ShortKey.ExtFrame.Party},
{Key = "CTRL-RightButton", Type = "spell", Value = "防护暗影", Target = "helpbutton", TargetFrames = ShortKey.ExtFrame.Party},
--在小队头像上按SHIFT+鼠标右键为协助该小队成员
{Key = "SHIFT-RightButton", Type = "assist", TargetFrames = ShortKey.ExtFrame.Party},
{Key = "MiddleButton", Type = "spell", Value = "恢复", Target = "helpbutton", TargetFrames = ShortKey.ExtFrame.Party},
--在目标头像上按鼠标左键如果他是友方目标则会为他施放"快速治疗"法术
{Key = "LeftButton", Type = "spell", Value = "快速治疗", Target = "helpbutton", TargetFrames = ShortKey.ExtFrame.Target},
{Key = "RightButton", Type = "spell", Value = "真言术:盾", Target = "helpbutton", TargetFrames = ShortKey.ExtFrame.Target},
{Key = "MiddleButton", Type = "spell", Value = "恢复", Target = "helpbutton", TargetFrames = ShortKey.ExtFrame.Target},
--在目标头像上按鼠标左键如果他是敌方目标则会为他施放"驱散魔法"法术
{Key = "LeftButton", Type = "spell", Value = "驱散魔法", Target = "harmbutton", TargetFrames = ShortKey.ExtFrame.Target},
{Key = "RightButton", Type = "spell", Value = "沉默", Target = "harmbutton", TargetFrames = ShortKey.ExtFrame.Target},
{Key = "MiddleButton", Type = "spell", Value = "精神控制", Target = "harmbutton", TargetFrames = ShortKey.ExtFrame.Target},
--在目标头像上按SHIFT+鼠标右键为调出改目标菜单
{Key = "SHIFT-RightButton", Type = "menu", TargetFrames = ShortKey.ExtFrame.Target},