Skip to content

[lua] Simplify doom status, doom counter#9349

Merged
Xaver-DaRed merged 2 commits into
LandSandBoat:basefrom
WinterSolstice8:simplify_doom_status
Feb 3, 2026
Merged

[lua] Simplify doom status, doom counter#9349
Xaver-DaRed merged 2 commits into
LandSandBoat:basefrom
WinterSolstice8:simplify_doom_status

Conversation

@WinterSolstice8
Copy link
Copy Markdown
Contributor

I affirm:

  • I understand that if I do not agree to the following points by completing the checkboxes my PR will be ignored.
  • I understand I should leave resolving conversations to the LandSandBoat team so that reviewers won't miss what was said.
  • I have read and understood the Contributing Guide and the Code of Conduct.
  • I have tested my code and the things my code has changed since the last commit in the PR and will test after any later commits.

What does this pull request do?

Doom had some weird setPower that doesn't seem to do anything so it was removed.
Additionally, replace the messaging calculation with math.ceil which returns a whole number such as the following:

1.999999 -> 2
2.0 -> 2
2.1 -> 3

See before/after (first set is before, second is after)
image

Note: with non-divisible by 3 numbers the doom counter may print 0. I don't know if doom is supposed to be resistable to make this a problem, however.

Steps to test these changes

See above

Lufaise Meadows NM Audits
@WinterSolstice8
Copy link
Copy Markdown
Contributor Author

I checked my logs - it looks like doom counter is supposed to print 0 then you die so I will adjust this PR

@WinterSolstice8
Copy link
Copy Markdown
Contributor Author

image

New commit works, but it seems like we skip onEffectTick on the first tick most of the time...? It didn't print counter of 9 when it should have (retail starts at 9 for a 30 second doom.)

@Xaver-DaRed Xaver-DaRed merged commit 1694e4d into LandSandBoat:base Feb 3, 2026
10 checks passed
Frankie-hz pushed a commit to Frankie-hz/LSB that referenced this pull request Feb 26, 2026
* Lufaise Meadows NM Audits

Lufaise Meadows NM Audits

* [lua] Simplify doom status, change doom counter

---------

Co-authored-by: Kipling <kiplingffxi@gmail.com>
taylorleary pushed a commit to taylorleary/ZenithXI that referenced this pull request Mar 26, 2026
* Lufaise Meadows NM Audits

Lufaise Meadows NM Audits

* [lua] Simplify doom status, change doom counter

---------

Co-authored-by: Kipling <kiplingffxi@gmail.com>
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

Successfully merging this pull request may close these issues.

3 participants