# HG changeset patch # User Nenue # Date 1531853350 14400 # Node ID b80e78f4a17b52e72d0cf98b275f898ab1ef0f4d # Parent d6831be74cf4e7b7ff0b650269ab40fee0a67a8b# Parent 1605319122ce08ad2cac0fa6f33f978eca01ceef Unintended fork diff -r d6831be74cf4 -r b80e78f4a17b KeyButton.lua --- a/KeyButton.lua Tue Jul 17 14:46:43 2018 -0400 +++ b/KeyButton.lua Tue Jul 17 14:49:10 2018 -0400 @@ -54,16 +54,25 @@ [212653] = { actionName = 'Blink', actionID = 1953, + icon = [[Interface\\ICONS\\spell_arcane_blink]] }, -- Sidewinders; have to assume arcane sadly [214579] = { actionName = 'Arcane Shot', actionID = 185358, + icon = [[Interface\\ICONS\\ability_impalingbolt]] }, -- Serenity [152173] = { actionName = 'Storm, Earth, and Fire', - actionID = 137639 + actionID = 137639, + icon = [[Interface\\ICONS\\spell_nature_giftofthewild]] + }, + -- Carve + [212436] = { + actionName = 'Carve', + actionID = 187708, + icon = [[Interface\\ICONS\\ability_hunter_carve]] } } @@ -196,6 +205,11 @@ if actionType == 'spell' then local realName = GetSpellInfo(subData) name, _, icon, _, _, _, actionID = GetSpellInfo(subData) + + if TALENT_SPELLS[actionID] then + name = TALENT_SPELLS[actionID].actionName + actionID = TALENT_SPELLS[actionID].actionID + icon = TALENT_SPELLS[actionID].icon elseif actionType == 'macro' then name, icon, macroText = GetMacroInfo(actionID) macroName = name