UnitPvpClassification

From Wowpedia
Jump to: navigation, search

Returns whether the unit is a flag/orb carrier or cart runner.

classification = UnitPvpClassification(unit)

Arguments

unit 
string

Returns

classification 
number Enum.PvpUnitClassification (nilable)
Value Key Description
0 FlagCarrierHorde
1 FlagCarrierAlliance
2 FlagCarrierNeutral
3 CartRunnerHorde
4 CartRunnerAlliance
5 AssassinHorde
6 AssassinAlliance
7 OrbCarrierBlue
8 OrbCarrierGreen
9 OrbCarrierOrange
10 OrbCarrierPurple

Patch changes

External Links