Skip to content

Commit

Permalink
Version: 1.4.574
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharlikran committed Jun 29, 2020
1 parent d26fa2b commit 8f27406
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
7 changes: 4 additions & 3 deletions Goal.lua
Expand Up @@ -297,7 +297,7 @@ GOALTYPES['goto'] = {
return (self.force_complete or all_gotos) -- If the goto has a |c then it is completable. Or if there are only gotos present in this step.
end,
iscomplete = function(self) -- Called repeatedly

-- if the player isn't in the zone map then adjust the distance (TernaryOperator ?:) -- GetGameTimeMilliseconds
self.dist = (GetCurrentMapIndex() == nil) and 5 or 1

Expand Down Expand Up @@ -362,9 +362,10 @@ GOALTYPES['wayshrine'] = {

-- Index wasn't found... okay well we don't want to spam looking through POI's because it isn't efficient. Assign the index to 0 which returns an empty POI (no match) then reset it every 10s to try to match again.
if not self.wayshrine_POIIndex then
ZGV:Debug("Wayshrine '%s' not found, will retry in 10s.", self.wayshrine)
--ZGV:Debug("Wayshrine '%s' not found, will retry in 10s.", self.wayshrine)
ZGV:Debug("Wayshrine '%s' not found.", self.wayshrine)
self.wayshrine_POIIndex = 0
ZGV:ScheduleTimer(function() self.wayshrine_POIIndex = nil end, 10)
-- ZGV:ScheduleTimer(function() self.wayshrine_POIIndex = nil end, 10)
end
end

Expand Down
4 changes: 3 additions & 1 deletion ZGESO.lua
@@ -1,5 +1,7 @@
assert(not ZGV, "Two ZGV loaded.")

-- local LAT = AceTimer

-----------------------------------------
-- LOCAL REFERENCES
-----------------------------------------
Expand Down Expand Up @@ -53,7 +55,7 @@ ZGV.WM = WINDOW_MANAGER
-- LOAD TIME SETUP
-----------------------------------------

-- LibStub("AceTimer-3.0"):Embed(ZGV)-- Embed AceTimer into ZGV
-- LAT:Embed(ZGV)-- Embed AceTimer into ZGV

-----------------------------------------
-- STARTUP
Expand Down
6 changes: 4 additions & 2 deletions ZGESO.txt
@@ -1,8 +1,10 @@
## Title: Leveling Guides v1.4.573
## Title: Leveling Guides v1.4.574
## Description: A Zygor addon updated by Hydra9268 for the Elsweyr expansion.
## Author: Hydra9268
## Version: 1.4.573
## Version: 1.4.574
## AddOnVersion: 14574
## APIVersion: 100030 100031
;## DependsOn: LibGPS AceTimer-3.0>=146
## DependsOn: LibGPS
## SavedVariables: ZGESOSettings
## Disclaimer: This Add-on is not created by, affiliated with or sponsored by ZeniMax Media Inc. or its affiliates. The Elder Scrolls and related logos are registered trademarks or trademarks of ZeniMax Media Inc. in the United States and/or other countries. All rights reserved. This Add-on is not sponsored by Zygor Guides.
Expand Down

0 comments on commit 8f27406

Please sign in to comment.