<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -5,13 +5,11 @@ f:Hide()
 
 f:RegisterEvent(&quot;QUEST_COMPLETE&quot;)
 f:SetScript(&quot;OnEvent&quot;, function(self)
-	if not _G.GetSellValue then return end
-
 	self:Hide()
 	local bestp, besti = 0
 	for i=1,GetNumQuestChoices() do
 		local link, name, _, qty = GetQuestItemLink(&quot;choice&quot;, i), GetQuestItemInfo(&quot;choice&quot;, i)
-		local price = link and _G.GetSellValue(link)
+		local price = link and select(11, GetItemInfo(link))
 		if not price then return
 		elseif (price * (qty or 1)) &gt; bestp then bestp, besti = (price * (qty or 1)), i end
 	end</diff>
      <filename>VendorBait.lua</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9b38cd96b5567bd64d7866135701eda46939c92e</id>
    </parent>
  </parents>
  <author>
    <name>Tekkub</name>
    <email>tekkub@gmail.com</email>
  </author>
  <url>http://github.com/tekkub/vendorbait/commit/25d2e382f918825a123763244edde28724249580</url>
  <id>25d2e382f918825a123763244edde28724249580</id>
  <committed-date>2009-07-17T18:21:21-07:00</committed-date>
  <authored-date>2009-07-17T18:21:21-07:00</authored-date>
  <message>Use new API for prices, yatta!</message>
  <tree>afc176f36a2d756ba6636d3f028c0b1db57bd17e</tree>
  <committer>
    <name>Tekkub</name>
    <email>tekkub@gmail.com</email>
  </committer>
</commit>
