Returns the player's or pet's Defense skill


See also Stat information functions.

Signature:

base, modifier = UnitDefense("unit")

Arguments:

  • unit - A unit to query; only valid for player or pet (string, unitID)

Returns:

  • base - The unit's base defense skill (number)
  • modifier - Temporary modifiers to defense skill (number)