Add files via upload

This commit is contained in:
GryllsAddons
2023-03-06 21:16:07 +00:00
committed by GitHub
parent 5ec829c13a
commit bea3e16915
+2 -2
View File
@@ -74,10 +74,10 @@ do
local target = UnitName'target'
-- return target and strupper(target) == name
if target then
-- always return players, only return alive mobs
-- always return players, only return neutral or hostile mobs that are alive
if UnitIsPlayer'target' then
return strupper(target)
elseif not UnitIsDead'target' then
elseif (UnitReaction("target", "player") <= 4) and (not UnitIsDead'target') then
return strupper(target)
end
else