This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Changet in questfu.lua Revision 413
line 320- for k,v in pairs(QuestDifficultyColor) do+ for k,v in pairs(QuestDifficultyColors) do
line 556 -569-function QuestsFu:GetColorFromLevel(level)- local color = GetDifficultyColor(level)- -- Color should be the output of GetDifficultyColor; a table.- if color == QuestDifficultyColor.trivial then- return unpack(self.db.profile.colors.trivial)- elseif color == QuestDifficultyColor.standard then- return unpack(self.db.profile.colors.standard)- elseif color == QuestDifficultyColor.difficult then- return unpack(self.db.profile.colors.difficult)- elseif color == QuestDifficultyColor.verydifficult then- return unpack(self.db.profile.colors.verydifficult)- elseif color == QuestDifficultyColor.impossible then- return unpack(self.db.profile.colors.impossible)- end+function QuestsFu:GetColorFromLevel(level)+ local color = GetQuestDifficultyColor(level)+ -- Color should be the output of GetDifficultyColor; a table.+ if color == QuestDifficultyColors.trivial then+ return unpack(self.db.profile.colors.trivial)+ elseif color == QuestDifficultyColors.standard then+ return unpack(self.db.profile.colors.standard)+ elseif color == QuestDifficultyColors.difficult then+ return unpack(self.db.profile.colors.difficult)+ elseif color == QuestDifficultyColors.verydifficult then+ return unpack(self.db.profile.colors.verydifficult)+ elseif color == QuestDifficultyColors.impossible then+ return unpack(self.db.profile.colors.impossible)+ end
line 612
- local questImpossible = (GetDifficultyColor(level) == QuestDifficultyColor.impossible)+ local questImpossible = (GetQuestDifficultyColor(level) == QuestDifficultyColors.impossible)
Details.lualine 222- local color = GetDifficultyColor(level)+ local color = GetQuestDifficultyColor(level)
Here's the fix in laments terms. Don't forget about the Blizz.lua bug QUESTS_DISPLAYED which is no longer a valid const.
1. QuestsFu.lua: Find/Replace - Replace "QuestDifficultyColor" with "QuestDifficultyColors"
2. QuestsFu.lua: Find/Replace - Replace "GetDifficultyColor" with "GetQuestDifficultyColor"
3. Blizz\Blizz.lua: Find/Replace - Replace "QUESTS_DISPLAYED" with "#QuestLogScrollFrame.buttons"
To post a comment, please login or register a new account.