WoW:API UnitIsCivilian: Difference between revisions

no edit summary
No edit summary
 
No edit summary
Line 13: Line 13:
=== Example ===
=== Example ===
if (UnitIsCivilian("target")==1) then DEFAULT_CHAT_FRAME:AddMessage("Target is a civilian", 1, 1, 0) end;
if (UnitIsCivilian("target")==1) then DEFAULT_CHAT_FRAME:AddMessage("Target is a civilian", 1, 1, 0) end;
----
{{template:WoW API}}
Anonymous user