Added actor:IsFriendlyNpc()

This commit is contained in:
Tercio Jose
2021-03-01 16:19:00 -03:00
parent 2daf700d02
commit b1dd10f166
8 changed files with 97 additions and 8 deletions
+6
View File
@@ -106,6 +106,12 @@ do
function _detalhes:GetName (actor)
return self.nome or actor and actor.nome
end
function _detalhes:GetNameNoRealm(actor)
local name = self.nome or actor and actor.nome
return Details:GetOnlyName(name)
end
function _detalhes:GetDisplayName (actor)
return self.displayName or actor and actor.displayName
end