Repository navigation
List RNG luck (fourfold.rng-luck) - #15
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plugin: fourfold.rng-luck
New plugin or update? New.
What it does (one or two sentences): For every skill that can miss, compares your real hit rate with the chance the game lists for it, using FourFold's live game feed, and says whether you've been lucky, unlucky or as expected. It also gives an overall verdict across all those skills.
Websites it contacts, and why each one is needed: None. It reads only its own bundled
skills.json.Needs any-website access? Why: No.
For an update — what changed since the listed version: Not an update.
Needs FourFold v1.1.33 or later (
"apiVersion": 3).skills.jsonholds the name, class and success chance of the game's 336 skills, taken from the game client. The chances are the ones the game's own skill tooltips show.Counts are kept in plugin storage across all the user's accounts (every cast is an independent roll), saved at most every 5 seconds, until the user presses Reset.
A verdict needs 10 casts of a skill, and the overall verdict waits until the odds predict at least 5 hits and 5 misses.
No cards.
The entry names a full 40-character commit, not a branch or tag.
The plugin holds no secret keys or tokens. Everything in a plugin is public and runs on users' machines.
I tested this exact commit in FourFold with developer mode on.
The maintainer tested it from the dev folder with FourFold's live game feed. The only commits since that test change
fourfold.d.ts, which isn't packaged, and commit messages.