WoW API: GrantLevel

Revision as of 04:46, 15 August 2023 by Move page script (talk) (Move page script moved page API GrantLevel to API GrantLevel without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < GrantLevel

Grant a custom amount of levels to a RaF-linked player.

GrantLevel("unit", levels)

Arguments

unit
String (UnitId) - player to grant levels to.
levels
Number - amount of levels you wish to grant to the unit.

Notes

  • You must be in visibility range of the unit; the unit must also fulfil RaF requirements for level granting — check with CanGrantLevel.
  • Regardless of the value of the levels argument, the function only grants a single level to the unit.