/Voodoo
local function ChangeAction() |
if InCombatLockdown() then |
Print(AddOn.."Sorry, you can't change the button in combat.") |
print(AddOn.."Sorry, you can't change the button in combat.") |
return |
end |
local actiontype,itemID = GetCursorInfo() |
end) |
editbox:SetScript("OnEditFocusGained", function(self) |
if InCombatLockdown() then |
Print(AddOn.."Sorry, you can't change the target in combat.") |
print(AddOn.."Sorry, you can't change the target in combat.") |
return |
end |
if IsShiftKeyDown() and UnitExists("target") then |