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

Added Skill Check Dialog Using New Centralized Skill Check Utility #6578

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

IllianiCBT
Copy link
Collaborator

Dev Notes

As mentioned in the title, this PR adds the ability for players to trigger Skill Checks at will. This is done by right-clicking on the character (or characters) and selecting 'Perform Skill Check', at which point the player is presented with a dialog where they can choose the skill and modifiers. They can also choose whether to use Edge, in the event of a failure.

image

Once the check has been set up the player is then presented with a second dialog showing the results of the check.

image

This functionality all uses our new centralized Skill Check utility class, ensuring that SPAs, traits, and attribute scores are all correctly factored into the target number.

Placeholder Art

This PR uses placeholder AI Generated art assets. A human artist has already been commissioned and expects to have the pieces ready by the launch of 50.05. Three pieces have been commissioned, the first is for the page where the user selects skill. Then there are two follow-up pieces one for when the check passes, another for when the check fails.

Ulterior Motives

Really I just wanted to test the new centralized Skill Check class and fix any bugs. That we get a fancy new dialog out of it is just a cherry on top of an unintentional cake.

- Implemented new skill check feature, including UI updates and backend logic.
- Refactored `SkillType`, `SkillCheckUtility` `MarginOfSuccess` enums to remove a handful of bugs or to add new functionality.
… failure images based on skill check results.
@IllianiCBT IllianiCBT added Personnel Personnel-related Issues GUI UX User experience labels Apr 7, 2025
@IllianiCBT IllianiCBT self-assigned this Apr 7, 2025
@IllianiCBT IllianiCBT added Bug Severity: Medium Issues described as medium severity as per the new issue form labels Apr 7, 2025
Copy link

codecov bot commented Apr 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 11.42%. Comparing base (f44952c) to head (64d3502).
Report is 6 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6578      +/-   ##
============================================
- Coverage     11.43%   11.42%   -0.01%     
- Complexity     6451     6453       +2     
============================================
  Files          1087     1088       +1     
  Lines        139447   139548     +101     
  Branches      21560    21573      +13     
============================================
+ Hits          15944    15947       +3     
- Misses       121908   122007      +99     
+ Partials       1595     1594       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug GUI Personnel Personnel-related Issues Severity: Medium Issues described as medium severity as per the new issue form UX User experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant