Quantcast

Make archaeology waypoints lower than active pri

James Whitehead II [01-10-11 - 23:21]
Make archaeology waypoints lower than active pri
Filename
sources/ArchaeologyDigSites.lua
diff --git a/sources/ArchaeologyDigSites.lua b/sources/ArchaeologyDigSites.lua
index 2c7d90a..0772faf 100644
--- a/sources/ArchaeologyDigSites.lua
+++ b/sources/ArchaeologyDigSites.lua
@@ -87,9 +87,10 @@ eventFrame:SetScript("OnUpdate", function(self, elapsed)

     for key, waypoint in pairs(waypoints) do
         if waypoint ~= closest then
-            waypoint.priority = 0
+            waypoint.priority = addon.PRI_NORMAL
         else
-            waypoint.priority = 5
+            -- Make archaeology waypoints less than 'active' waypoints
+            waypoint.priority = addon.PRI_ACTIVE * 0.75
         end
     end