Quantcast

Fix a small error

Adrian Lund-Lange [01-07-12 - 12:21]
Fix a small error
Filename
tags.lua
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