of
of: (ItemCharges, number) -> Charges?One item's charges.
itemId- The item id.
- Returns
nilwhen the client knows none: not a charged item, or a counted one whose count has never been seen.
player:charges()| Method | Returns | Description |
|---|---|---|
PlayerDomain.charges | ItemCharges | Item charges: fixed by the item id, or counted by the client (jewellery, the chronicle, the ring of endurance) and saved per account. |
ofof: (ItemCharges, number) -> Charges?One item's charges.
itemIdnil when the client knows none: not a charged item, or a counted one whose count has never been seen.