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

Improve handling of trigger chance. #7244

Merged
merged 3 commits into from
Jul 21, 2024

Conversation

Paliak
Copy link
Contributor

@Paliak Paliak commented Jan 13, 2024

Fixes #7232 #7562.

Supersedes #6581.

Concludes #5428.

Description of the problem being solved:

Implements @sida-wang's formula improving handling of trigger chance application for trigger rates. Additionally changes the simulation slightly to make better use of each iteration. Effectively speeding it up by roughly 5x.

I was not able to get the simulation suggested in #6581 to work correctly so i ended up modifying the current one to speed it up slightly based on what i've learned from #6581, #5428 and #6492.

This could use outside testing.

@Paliak Paliak added the bug: calculation Numerical differences label Jan 13, 2024
@Paliak Paliak force-pushed the issue-7232 branch 2 times, most recently from 10a981d to 45173b8 Compare July 17, 2024 08:41
@Paliak Paliak marked this pull request as ready for review July 17, 2024 09:24
@LocalIdentity LocalIdentity merged commit 0b8dd5e into PathOfBuildingCommunity:dev Jul 21, 2024
1 of 2 checks passed
@Paliak Paliak deleted the issue-7232 branch July 21, 2024 20:35
@Morilli
Copy link
Contributor

Morilli commented Jul 21, 2024

This doesn't look to be working correctly...
image

@Paliak
Copy link
Contributor Author

Paliak commented Jul 21, 2024

Right, self trigger skills. One sec...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: calculation Numerical differences
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CoC 'Eff. Source Rate' results in inaccuracies when crit chance < 100% and APS > Trigger Rate Cap
3 participants