BOSS战中的能量条移动.
PlayerPowerBarAlt:SetScale(0.9) PlayerPowerBarAlt:SetMovable(true) PlayerPowerBarAlt:SetUserPlaced(true) PlayerPowerBarAlt:SetFrameStrata("HIGH") PlayerPowerBarAlt:SetScript("OnMouseDown", function() if (IsAltKeyDown()) then PlayerPowerBarAlt:ClearAllPoints() PlayerPowerBarAlt:StartMoving() end end) PlayerPowerBarAlt:SetScript('OnMouseUp', function(self, button) PlayerPowerBarAlt:StopMovingOrSizing() end)
ALT + 鼠标 移动.
另骑士圣能条API : PaladinPowerBar