Skip to content

Commit

Permalink
implement enemy_player, enemy_pet, enemy_class
Browse files Browse the repository at this point in the history
  • Loading branch information
kesava committed Jul 26, 2016
1 parent 06cab35 commit 8f2aa15
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Kui_Nameplates_Core/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,19 @@ local function configChangedReactionColour()
ele.colours.friendly = core.profile.colour_friendly
ele.colours.tapped = core.profile.colour_tapped
ele.colours.player = core.profile.colour_player
ele.colours.enemy_pet = core.profile.colour_enemy_pet

if core.profile.colour_self_class then
ele.colours.self = nil
else
ele.colours.self = core.profile.colour_self
end

if core.profile.colour_enemy_class then
ele.colours.enemy_player = nil
else
ele.colours.enemy_player = core.profile.colour_enemy_player
end
end
configChanged.colour_hated = configChangedReactionColour
configChanged.colour_neutral = configChangedReactionColour
Expand All @@ -227,6 +234,9 @@ configChanged.colour_tapped = configChangedReactionColour
configChanged.colour_player = configChangedReactionColour
configChanged.colour_self_class = configChangedReactionColour
configChanged.colour_self = configChangedReactionColour
configChanged.colour_enemy_class = configChangedReactionColour
configChanged.colour_enemy_player = configChangedReactionColour
configChanged.colour_enemy_pet = configChangedReactionColour

local function configChangedTankColour()
local ele = addon:GetPlugin('TankMode')
Expand Down

0 comments on commit 8f2aa15

Please sign in to comment.