igrikRS / WoG-Scripts

MIT License
5 stars 3 forks source link

Emerald Towers visit count #2

Open SlavisaBakic opened 4 years ago

SlavisaBakic commented 4 years ago

It says in description that Emerald Tower can only be visited once but I am able to visit it once again next week? Bug or redesign?

ethernidee commented 4 years ago

So many people got used to visit towers once per month, that igrik, probably, returned the old buggy behavior.

SlavisaBakic commented 4 years ago

Is it safe to comment out lines

 [Timer resets the Emerald Towers' non-visited status each month]

!?FU(WOG_OnNewMonth);  [© igrik: hook in 78 wog - wogify]

!!UN:P44/?y1; [Check if script is enabled: y-1]
!!FU&y1<>1:E; [Exit if script isn't enabled]

!!UN:U63/65/?y1; [Number of Emerald Towers: v1]
!!VRv1:S-1; [Initialize v1 to -1 to work with new faster UN:U syntax]
!!DO(WOG34_ResetObjectStatus)/1/y1/1&y1>0:P; [Loop through all Emerald Towers]

-----------------------------------------------------------------------

 [Reset non-visited status for each Emerald Tower]

!?FU(WOG34_ResetObjectStatus);

!!UN:U63/65/-1/1; [Coordinates of next tower in v1/v2/v3]
!!POv1/v2/v3:N0; [Set PO:N to 0 to reset hint text]