WoW API: UnitIsPVPFreeForAll

WoW API < UnitIsPVPFreeForAll


Checks if a unit is flagged for free-for-all PVP. (ex. from being in a world arena)

isFreeForAll = UnitIsPVPFreeForAll(unitId)


Arguments

unitId
UnitId - The unit to check


Returns

isFreeForAll
Boolean - Whether the unit is flagged for free-for-all PVP