From 14c7399cf84b382ae9e8be6cc37aefefcbd1a18c Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Sat, 23 Aug 2014 18:13:36 +0200 Subject: [PATCH] Remove some leftover tags --- elements/tags.lua | 20 -------------------- 1 file changed, 20 deletions(-) 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 -- 1.7.9.5