Closed cohenaj194 closed 1 year ago
So, as I understand it, we only need to export item IDs that are introduced in dragonflight ?
yep because in my code i dont add anything into my database with a lower item ID
in the future we can totally do this, but thats just the system we have right now
local _, _, _, _, _, _, _, itemStackCount,_,_,_,_,_,_,expacID= GetItemInfo(item["itemKey"]["itemID"]) if itemStackCount == 1 and expacID == 9 then
This should do it , using GetItemInfo() I defined a variable expacID that gives when the item was introduced.
OH if theres a variable we can use to filter by expac thats even better
So our db only has data for dragonflight items atm and we dont add anything in under an item id of 185000, we should make sure for now that something like this doesnt pop up and that there are warnings and error messages telling people we only do dragonfight atm
should be a simple if statement rejecting ids under 185000 and then when we go back to supporting all data we can undo it