Quantcast

Remove some leftover tags

Adrian L Lange [08-23-14 - 16:13]
Remove some leftover tags
Filename
elements/tags.lua
diff --git a/elements/tags.lua b/elements/tags.lua
index d50f08b..d02a2ce 100644
--- a/elements/tags.lua
+++ b/elements/tags.lua
@@ -112,26 +112,6 @@ tags.Methods['p3lim:spell'] = function(unit)
 	return UnitCastingInfo(unit) or UnitChannelInfo(unit)
 end

-tags.Events['p3lim:fury'] = 'UNIT_POWER SPELLS_CHANGED'
-tags.Methods['p3lim:fury'] = function(unit)
-	if(GetSpecialization() ~= SPEC_WARLOCK_DEMONOLOGY) then return end
-
-	local cur = UnitPower(unit, SPELL_POWER_DEMONIC_FURY)
-	if(cur > 0) then
-		return cur
-	end
-end
-
-tags.Events['p3lim:shards'] = 'UNIT_POWER SPELLS_CHANGED'
-tags.Methods['p3lim:shards'] = function(unit)
-	if(GetSpecialization() ~= SPEC_WARLOCK_AFFLICTION) then return end
-
-	local cur = UnitPower(unit, SPELL_POWER_SOUL_SHARDS)
-	if(cur > 0) then
-		return cur
-	end
-end
-
 tags.Methods['p3lim:pet'] = function()
 	local cur = UnitHealth('pet')
 	if(cur > 0) then