Mercurial > wow > askmrrobot
comparison amr-constants.lua @ 39:561cf98ced21 v12
fixed issue with import not recognizing some items
author | yellowfive |
---|---|
date | Wed, 22 Oct 2014 00:28:30 -0700 |
parents | 4ba69d2ee252 |
children | 0e78d6424532 |
comparison
equal
deleted
inserted
replaced
38:4f0ce96aa90a | 39:561cf98ced21 |
---|---|
26 if numBonuses and numBonuses > 0 then | 26 if numBonuses and numBonuses > 0 then |
27 item.bonusIds = {} | 27 item.bonusIds = {} |
28 for i = 13, 12 + numBonuses do | 28 for i = 13, 12 + numBonuses do |
29 table.insert(item.bonusIds, tonumber(parts[i])) | 29 table.insert(item.bonusIds, tonumber(parts[i])) |
30 end | 30 end |
31 table.sort(item.bonusIds) | |
31 end | 32 end |
32 | 33 |
33 return item | 34 return item |
34 end | 35 end |
35 | 36 |