From 112419900a23e51ef08c1e02c6d7cce665b55eb8 Mon Sep 17 00:00:00 2001 From: Alex Shubert Date: Sun, 15 Dec 2013 22:50:46 +0400 Subject: [PATCH] comment describing common items treatment added --- AutoTurnIn.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AutoTurnIn.lua b/AutoTurnIn.lua index 6416fb0..be54d4c 100644 --- a/AutoTurnIn.lua +++ b/AutoTurnIn.lua @@ -470,7 +470,7 @@ function AutoTurnIn:TurnInQuest(rewardIndex) self:Print("Debug: turning quest in, no choice required") end else - --GetQuestReward(rewardIndex) + GetQuestReward(rewardIndex) end end @@ -551,8 +551,8 @@ function AutoTurnIn:Need() tinsert(itemCandidate.secondary, _G[stat]) end end - if (count == 1) then - OkByStat, OkBySecondary = true, true -- плозое решение. теряется основная илея + if (count == 1) then -- Common quality items have only 1 attribute. This 'if' makes them suitable loot candidates. + OkByStat, OkBySecondary = true, true end else itemCandidate.stat = "NO_STAT_SETTINGS" -- 1.7.9.5