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(runeforge): allow using runeforge power IDs in scripts #920

Merged
merged 2 commits into from
Jul 8, 2021

Conversation

johnnylam88
Copy link
Contributor

Instead of using legendary bonus IDs in scripts, allow using the runeforge power IDs to identify equipped runeforge powers. The EquippedRuneforge() script condition checks that the given id is either a legendary bonus ID or a runeforge power ID.

A future update should probably remove the use of legendary bonus IDs. They are fragile and not necessarily computed correctly because we have to make the assumption that the first bonus ID on a piece of equipment is the legendary bonus ID, and this is not documented anywhere and will probably break in a future patch. The runeforge power ID is always correct and we query it using the documented API.

The default scripts should be changed to use runeforge power IDs instead of the legendary bonus IDs, but that's an importsimc issue that I won't touch for now.

@Sidoine Sidoine merged commit 4cbed9a into Sidoine:master Jul 8, 2021
@johnnylam88 johnnylam88 deleted the feat/runeforge branch July 8, 2021 13:24
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.

2 participants