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

feat: track Eclipse state directly in Ovale #952

Merged
merged 4 commits into from Aug 8, 2021

Conversation

johnnylam88
Copy link
Contributor

Track Eclipse state directly in Ovale and avoid needing special
handling in scripts, including Eclipse buffs triggered by spell
casts.

This fixes ticket #794.

Add an `eclipse` module that tracks the player's Eclipse state as
spells are cast by the player. The following script conditions
are provided:

* `EclipseAnyNext()`, `EclipseLunarNext()`, `EclipseSolarNext()`
  return true or false depending on which eclipse can be
  triggered next.

* `EclipseLunarIn()` returns the number of Wrath casts needed to
  enter a lunar eclipse.

* `EclipseSolarIn()` returns the number of Starfire casts needed to
  enter a solar eclipse.
Eclipse state is tracked by the `eclipse` module and obsoletes the
previous counter code in the druid scripts.
@johnnylam88
Copy link
Contributor Author

This pullup with require the tstolua dependency to be bumped to fix the issue of bumping up against the upvalue limit.

@johnnylam88
Copy link
Contributor Author

This pullup should also fix tickets #757 and #766. I've tested the default script against the target dummies successfully.

@johnnylam88
Copy link
Contributor Author

This pullup includes a commit to hand-modify the generated script for balance druid, so the scripts don't need to be regenerated for a new release until the new importsimc is ready.

@Sidoine Sidoine merged commit d6ec66e into Sidoine:master Aug 8, 2021
@johnnylam88 johnnylam88 deleted the feat/eclipse branch August 8, 2021 12:02
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.

None yet

2 participants