Quantcast
WoWInterface - View Single Post - Highlighting lifebloom with pandemic
View Single Post
06-06-18, 06:55 PM   #14
Kakjens
A Cliff Giant
Join Date: Apr 2017
Posts: 75
Lua Code:
  1. local index = 1
  2. local frameNum = 1
  3. local filter = nil
could be moved after lastUpdate = 0.
frame.displayedUnit gets accessed quite often, so maybe a local variable is warranted.
I would suggest fixing indentation of lines 27-40, otherwise
Lua Code:
  1. elseif buffFrame.highlight then
  2.     buffFrame.highlight:Hide()
  3. end
will look weird.
Also, I would have tried to track the player I cast Lifebloom.
  Reply With Quote