# HG changeset patch # User Caleb Atherton # Date 1466383631 14400 # Node ID fd48b8d72f13b556523f1d84b6fc54e11e92d813 # Parent 0997fb63abebf904be7df7f9267107b049a5fc0f Renamed item upgrade variables appropriately. diff -r 0997fb63abeb -r fd48b8d72f13 Main.lua --- a/Main.lua Sun Jun 19 20:46:23 2016 -0400 +++ b/Main.lua Sun Jun 19 20:47:11 2016 -0400 @@ -965,11 +965,11 @@ local unique_id = tonumber(item_results[9]) or 0 --local level = tonumber(item_results[10]) --local specialization_id = tonumber(item_results[11]) - --local unknown_upgrade_related_id = tonumber(item_results[12]) + --local upgrade_type_id = tonumber(item_results[12]) local instance_difficulty_id = tonumber(item_results[13]) or 0 local num_bonus_ids = tonumber(item_results[14]) or 0 - -- upgrade_id is optional since 6.2! can probably be detected using unknown_upgrade_related_id, but it's just as easy to check like this - local upgrade_id = tonumber(item_results[15 + num_bonus_ids]) or 0 + -- upgrade_value is optional since 6.2! can probably be detected using unknown_upgrade_related_id, but it's just as easy to check like this + local upgrade_value = tonumber(item_results[15 + num_bonus_ids]) or 0 -- LEGION if private.isLegion then