# HG changeset patch # User James D. Callahan III # Date 1340902718 18000 # Node ID 66034def453b816c3eeadf3592f59f009f463191 # Parent 1d32b6f7352155ae5b35c8a207d44f29460a2fde Since the battleground points and personal points are universally equivalent, only store personal points (for now - kept the support in for both values in case Blizzard changes this in the future). diff -r 1d32b6f73521 -r 66034def453b Main.lua --- a/Main.lua Wed Jun 27 17:37:56 2012 -0500 +++ b/Main.lua Thu Jun 28 11:58:38 2012 -0500 @@ -939,7 +939,10 @@ end local currency_list = {} local item_count = _G.GetMerchantItemCostInfo(item_index) - price_string = ("%s:%s:%s"):format(price_string, bg_points, personal_points) + + -- Keeping this around in case Blizzard makes the two points diverge at some point. + -- price_string = ("%s:%s:%s"):format(price_string, bg_points, personal_points) + price_string = ("%s:%s"):format(price_string, personal_points) for cost_index = 1, item_count do local icon_texture, amount_required, currency_link = _G.GetMerchantItemCostItem(item_index, cost_index)