From f709da599a6c36a8be1cb626b84f3b576326beeb Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Tue, 12 Jan 2021 21:32:49 -0500 Subject: [PATCH] Revert "Try something fancy" This reverts commit 42a7a992fd6209571a455400540b8df1879cdd37. --- MyAddon.lua | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/MyAddon.lua b/MyAddon.lua index 827398c..9262c16 100755 --- a/MyAddon.lua +++ b/MyAddon.lua @@ -82,21 +82,10 @@ function MyAddon.announceKey() end end -local function multiSelect(table, ...) - result = {} - for i, val in ipairs(...) do - table.insert(result, table[val]) - end -end - function MyAddon.announceTaunts(...) event = select(2, ...) spellId = select(12, ...) - a, b = multiSelect(..., 2, 12) - print(a) - print(b) - if event ~= 'SPELL_CAST_SUCCESS' or MyAddon.taunts[spellId] ~= true then return end