ItemCharges

Group
player
Methods
1
Fields
None

Getting one

player:charges()

Methods

MethodReturnsDescription
of(number)Charges?One item's charges.

Returned by

MethodReturnsDescription
PlayerDomain.chargesItemChargesItem charges: fixed by the item id, or counted by the client (jewellery, the chronicle, the ring of endurance) and saved per account.

Method details

of

of: (ItemCharges, number) -> Charges?

One item's charges.

itemId
The item id.
Returns
nil when the client knows none: not a charged item, or a counted one whose count has never been seen.