API:2/items Infix_upgrade_subobject
Maybe the buff subobject is used by Sigils only.
As written on https://wiki.guildwars2.com/wiki/API:2/items the buff subobject should be optional, so I think that it must be removed where not needed and we can check what to read from API:2/items for enanched descriptions; only attributes array, or buff subobject, or both but different each other.
I asked almost the same here (may be not so clear)
https://forum-en.gw2archive.eu/forum/community/api/State-of-buff-in-items-stats-now/
Still no answer. I don’t know what to do :/
I asked almost the same here (may be not so clear)
https://forum-en.gw2archive.eu/forum/community/api/State-of-buff-in-items-stats-now/Still no answer. I don’t know what to do :/
Hi ezd, as I wrote above seems that the buff subobject is used by sigils only, so for all the other items I actually use only the attributes subobject, or you can check if attributes is empty/null and then check if buff is not, but buff is always the only thing that gives info for sigils.
Anyway lot of buff subobjects are even wrong as well as a repetition of attributes subobject. Indeed the example you wrote in your post has the right attributes subobject but not the right buff subobject. Now ascended (infused) items have infusion slots and not a “+5 Agony Resistance” attribute.