From cfc70566834d772f80242b4b159287116089fb44 Mon Sep 17 00:00:00 2001 From: Adrian Lund-Lange Date: Sat, 7 Jan 2012 13:21:03 +0100 Subject: [PATCH] Fix a small error --- tags.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tags.lua b/tags.lua index edfae61..0f9b151 100644 --- a/tags.lua +++ b/tags.lua @@ -64,7 +64,7 @@ end tags.Methods['p3lim:friendly'] = function(unit) if(_TAGS['p3lim:status'](unit)) then return end - if(UnitCanAssist('player', unit)) then + if(not UnitCanAttack('player', unit)) then local maxHealth = _TAGS['p3lim:health'](unit) if(maxHealth) then return maxHealth -- 1.7.9.5