Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pointwatch Abyssea time remaining #1972

Open
mordth opened this issue Nov 23, 2020 · 2 comments
Open

Pointwatch Abyssea time remaining #1972

mordth opened this issue Nov 23, 2020 · 2 comments

Comments

@mordth
Copy link

mordth commented Nov 23, 2020

The time remaining feature in the pointwatch lua executes a running total versus the actual time remaining. Fix is easy. Change line 291 from:
abyssea.time_remaining = abyssea.time_remaining + p1

to
abyssea.time_remaining = p1

@Nifim
Copy link
Contributor

Nifim commented Nov 23, 2020

Line 291 is for when the status is extended, the others currently do = p1

    visitant_status_gain = function(p1,p2,p3,p4)
        abyssea.time_remaining = p1
    end,
    visitant_status_update = function(p1,p2,p3,p4)
        abyssea.time_remaining = p1
    end,
    visitant_status_wears_off = function(p1,p2,p3,p4)
        abyssea.time_remaining = p1
    end,
    visitant_status_extend = function(p1,p2,p3,p4)
        abyssea.time_remaining = abyssea.time_remaining + p1
    end,

is the extend p1 now equal to the total time?

@mordth
Copy link
Author

mordth commented Nov 23, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants