RW Weapons Bonus Info | API Development | TORN

RW Weapons Bonus Info

    • IAmBatman [2885239]
    • Role: Civilian
    • Level: 71
    • Posts: 55
    • Karma: 22
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Thread created on 12:28:18 - 01/04/24 (5 months ago)
    |
    Last replied 05:48:22 - 02/04/24 (5 months ago)
    I want to get the bonus info from RW weapons in my faction armory. Is it possible?
    • tiksan [2383326]
    • Role: Civilian
    • Level: 100
    • Posts: 899
    • Karma: 1,213
    • Last Action: 52 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 17:05:31 - 01/04/24 (5 months ago)
    Post link copied to clipboard Copy post link
    You can get the UID of the items in the armory through element tags on the client (iirc, you can't get the UID of armory items from the API but I don't have perms to check currently). Then you can pass the UIDs to torn/itemdetails and retrieve the bonus through the API.

    Although, it's usually easier to create a userscript to just read this off the client.

    LnNwLrL.gif

    • IAmBatman [2885239]
    • Role: Civilian
    • Level: 71
    • Posts: 55
    • Karma: 22
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 05:48:22 - 02/04/24 (5 months ago)
    Post link copied to clipboard Copy post link
    Thank you! Helps a lot
Reply
Thread Title: