comparison SkeletonKey/ActionTemplates.lua @ 57:9eebce04e69b

- Prevent bind settings from being updated in combat. - Close the UI during combat. - Resolve conflicting keybinds and inform the user of any results. - Resolve conflicts for talents, but only when they are active.
author Nenue
date Mon, 22 Aug 2016 09:24:02 -0400
parents 2a95f4010c5a
children 04c23ceaf9e0
comparison
equal deleted inserted replaced
56:2a95f4010c5a 57:9eebce04e69b
326 for k,v in pairs(petSpellCache) do 326 for k,v in pairs(petSpellCache) do
327 if not spellCache[k] then 327 if not spellCache[k] then
328 spellCache[k] = v 328 spellCache[k] = v
329 end 329 end
330 end 330 end
331 petSpellCache = spellCache 331 end
332 end 332 petSpellCache = spellCache
333 if petSubtextCache then 333 if petSubtextCache then
334 for k,v in pairs(petSubtextCache) do 334 for k,v in pairs(petSubtextCache) do
335 if not subtextCache[k] then 335 if not subtextCache[k] then
336 subtextCache[k] = v 336 subtextCache[k] = v
337 end 337 end
338 end 338 end
339 petSubtextCache = subtextCache 339 end
340 end 340 petSubtextCache = subtextCache
341 else 341 else
342 petSpellCache = {} 342 petSpellCache = {}
343 petSubtextCache = {} 343 petSubtextCache = {}
344 end 344 end
345
346
347 345
348 if PetHasSpellbook() then 346 if PetHasSpellbook() then
349 print('PET SPELLBOOK') 347 print('PET SPELLBOOK')
350 local i = 1 348 local i = 1
351 local specialNum = {} 349 local specialNum = {}