From 93e1d39ad7e81ed1c5c0dfcbc3417a5b1928f9ca Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Sun, 29 Jul 2012 02:11:10 +0200 Subject: [PATCH] Added Champion's Purse's real value --- Monomyth.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Monomyth.lua b/Monomyth.lua index a2a43bc..b18f4ba 100644 --- a/Monomyth.lua +++ b/Monomyth.lua @@ -146,6 +146,12 @@ Monomyth:Register('QUEST_COMPLETE', function() local link = GetQuestItemLink('choice', index) if(link) then local _, _, _, _, _, _, _, _, _, _, value = GetItemInfo(link) + + if(string.match(link, 'item:45724:')) then + -- Champion's Purse, contains 10 gold + value = 1e5 + end + if(value > bestValue) then bestValue, bestIndex = value, index end -- 1.7.9.5