WoW:API UnitIsCivilian: Difference between revisions

m
no edit summary
No edit summary
mNo 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;
=== Notes ===
* No longer used by FrameXML as of 2.0, because of the new honor system.
----
----
{{template:WoW API}}
{{template:WoW API}}
Anonymous user