gw2-api / issues

Issue tracker for the Guild Wars 2 API
https://discord.gg/zqeHCEg
16 stars 0 forks source link

`/v2/characters/:id/inventory` and `/v2/characters/:id/equipment`: Baits and Lures missing `charges` or wrong `count` #38

Open thoanny opened 2 years ago

thoanny commented 2 years ago

Current Behavior

Baits can stacks in inventory, but when I fetch /characters/:name/inventory, bags.inventory.count is always "1". So, if I've 100 "Lava Beetle" (97872) in my inventory, API reply with:

{
  "id": 97872,
  "count": 1,
  "binding": "Account"
}

Expected Behavior

If I've 100 "Lava Beetle" in my inventory, API must reply with:

{
  "id": 97872,
  "count": 100,
  "binding": "Account"
}

or:

{
  "id": 97872,
  "count": 1,
  "charges": 100,
  "binding": "Account"
}

Steps To Reproduce

No response

Happening since

End of Dragons

Anything else?

No response

darthmaim commented 2 months ago

Same for Lures. Both are also missing charges in /v2/characters/:id/equipment for the slots FishingBait and FishingLure