Mercurial > wow > askmrrobot
comparison Gear.lua @ 91:b8e9664d3229 v43
option to disable equipment manager sets, minor artifact/talent bug fixes
| author | yellowfive |
|---|---|
| date | Wed, 21 Sep 2016 00:14:22 -0700 |
| parents | 6bbe64d587b4 |
| children | c1996b3376ed |
comparison
equal
deleted
inserted
replaced
| 90:db63475ef5d4 | 91:b8e9664d3229 |
|---|---|
| 458 end | 458 end |
| 459 return bestItem, bestDiff, bestLink | 459 return bestItem, bestDiff, bestLink |
| 460 end | 460 end |
| 461 | 461 |
| 462 local function onEquipGearSetComplete() | 462 local function onEquipGearSetComplete() |
| 463 if Amr.db.profile.options.disableEm then return end | |
| 464 | |
| 463 -- create an equipment manager set | 465 -- create an equipment manager set |
| 464 local specId, specName = GetSpecializationInfo(GetSpecialization()) | 466 local specId, specName = GetSpecializationInfo(GetSpecialization()) |
| 465 | 467 |
| 466 local item = Amr.ParseItemLink(GetInventoryItemLink("player", INVSLOT_MAINHAND)) | 468 local item = Amr.ParseItemLink(GetInventoryItemLink("player", INVSLOT_MAINHAND)) |
| 467 if not item or not Amr.ArtifactIdToSpecNumber[item.id] then | 469 if not item or not Amr.ArtifactIdToSpecNumber[item.id] then |
