Mercurial > wow > askmrrobot
comparison Import.lua @ 195:4ccc9ff6e824 v95
Update item parsing for new item link format changes.
| author | Yellowfive |
|---|---|
| date | Tue, 24 Nov 2020 16:20:10 -0600 |
| parents | 4aeedce4c995 |
| children |
comparison
equal
deleted
inserted
replaced
| 194:02bbbf5ef3db | 195:4ccc9ff6e824 |
|---|---|
| 229 end | 229 end |
| 230 | 230 |
| 231 obj.id = tokens["i"] | 231 obj.id = tokens["i"] |
| 232 obj.suffixId = tokens["f"] or 0 | 232 obj.suffixId = tokens["f"] or 0 |
| 233 obj.upgradeId = tokens["u"] or 0 | 233 obj.upgradeId = tokens["u"] or 0 |
| 234 obj.level = tokens["v"] or 0 | 234 obj.level = tokens["v"] or 0 |
| 235 obj.stat1 = tokens["j"] or 0 | |
| 236 obj.stat2 = tokens["k"] or 0 | |
| 235 obj.enchantId = tokens["e"] or 0 | 237 obj.enchantId = tokens["e"] or 0 |
| 236 obj.inventoryId = tokens["t"] or 0 | 238 obj.inventoryId = tokens["t"] or 0 |
| 237 | 239 |
| 238 obj.gemIds = {} | 240 obj.gemIds = {} |
| 239 table.insert(obj.gemIds, tokens["x"] or 0) | 241 table.insert(obj.gemIds, tokens["x"] or 0) |
