Skip to content

Commit

Permalink
Added hint again as an optional rule.
Browse files Browse the repository at this point in the history
  • Loading branch information
dafzor committed Sep 2, 2014
1 parent 4cacf66 commit 7080851
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion rules/Warlock.lua
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,21 @@ AdiButtonAuras:RegisterRules(function()
end
end)()
},

Configure {
"Havoc_hint",
L["Show hint on Havoc when is available."],
80240,
"player",
"UNIT_AURA",
(function()
local havocBuff = GetSpellInfo(80240) -- Havoc
return function(_, model)
if not UnitAura("player", havocBuff, nil, "HELPFUL PLAYER") then
model.hint = true
end
end
end)(),
},
}

end)

0 comments on commit 7080851

Please sign in to comment.