ProbablyEngine/Probably — pull request #35 by CuteOne (2013-11-21 02:03:37+00:00)
Title: Fix Friend/Enemy Conditions

UnitIsFriend and UnitIsEnemy both return nil regardless of target, UnitCanAttack will return 1 if targer can attack you and nil if friendly.