Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit a261ed6
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
local f = CreateFrame("Frame") | ||
f:RegisterEvent("CONFIRM_DISENCHANT_ROLL") | ||
f:SetScript("OnEvent", function(self, event, id, rollType) | ||
for i=1,STATICPOPUP_NUMDIALOGS do | ||
local frame = _G["StaticPopup"..i] | ||
if frame.which == "CONFIRM_LOOT_ROLL" and frame.data == id and frame.data2 == rollType and frame:IsVisible() then StaticPopup_OnClick(frame, 1) end | ||
end | ||
end) | ||
|
||
|
||
-- StaticPopupDialogs["LOOT_BIND"].OnCancel = function(self, slot) | ||
-- if GetNumPartyMembers() == 0 and GetNumRaidMembers() == 0 then ConfirmLootSlot(slot) end | ||
-- end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
## Interface: 30300 | ||
|
||
## Title: tekKrush | ||
## Notes: Yes, I really want to destroy that item, stop asking. | ||
## Author: Tekkub Stoutwrithe | ||
## Version: Alpha | ||
## X-Website: http://tekkub.net/ | ||
## X-Email: tekkub-wow@googlegroups.com | ||
## X-Category: Misc | ||
|
||
## LoadManagers: AddonLoader | ||
## X-LoadOn-Group: true | ||
|
||
tekKrush.lua |