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

Fix maximum sustainable stages calculations ignoring certain buffs/mods #7678

Merged

Conversation

Paliak
Copy link
Contributor

@Paliak Paliak commented Jul 13, 2024

Description of the problem being solved:

Essentially an improved version of #5164 that utilizes skill cache functionality. Additionally solves an order of calculations issue with certain effects (such as adrenaline) that get processed in doActorMisc causing them to not be applied to maximum sustainable stages calculations.

Steps taken to verify a working solution:

eNq1G1132rjyufsrfHhviCHQpofsHkI-z0kaLqTtvU97hC1AW9libTkJ--t3RvIXFDky9s1DC9Z8j2Y0MzKjP94C7rzQKGYivOi4J6cdh4ae8Fm4uuh8e775-Lnzx--_jaZErp-WlwnjuPL7bx9G6rPD6QvlgNdxJIlWVH7PKPX_BEobEso1FeEj-UtEt8K_6HwVIe04CxL6TGbfPE7i-CsJ6EVn7gFyxyGxR0N_UjxPAdckIp6k0QNyHSdSPAofVpeEx7AcEBbOhfeTyttIJBsl1Qujrxro_nH6NHsuycTCskyg0ofRlJMtjeaSSCeGfy46Y7AMWdE7JoEU4QnQOe10K2EvkyiWVySAj-_jzDeU-jnY4OR8aIKcRvR6uaSeZC90EjE5WZPQs-BQF_Yx4ZJtOKNRDu-eDEwYd78Qd0-N5J-FJPxqOn9fEA0pCqMPPg0-nQz654PPffwz4f1gcg1oZR41MC85OMNKPoS-X4VMUmvwqWCxCGtpf4Qak4RziE8rNjMa0-iFSGYp1kQECxbuWshSrEcSkomIC39-qoKc0gjCX-4gnL6DMKeegIxRRjlzTz71LPgcxjYyfGBLag9ZS5cUoa40x-lxPbeFq034OIFmkDHtIOci4ZaQskhjvYpI-LsM6LquCfKKvlnQuw-lHdcyoDsYmLm-CKkORqvUcX03LQL0_MR1-_3T07Pz3tCs13S9jZlH-CN5Y0ESQFp_Jj9pwXBYsQFXaxlCzjGh9j-bUG9YROtjTQ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sHiD8b9Yq6uvqMy3v4Tqr7pMYm0fGPzFac6ZvQ51s6jNDaCXaL8cpV_W54pjMn6cPILQp7AyPBxW5NCXxeVZf2liuMJXeYL6JY0Q90__wWiX4sykPMbrlMVo1YPje7BWtD4F6NSjUq0GhMhhXXO2ZQ4B2CYA7rCLeO99WXRsnmeGYT7o1-MSvAaNT0iB1rck6NlkZDJ1ClbL60RXYqrh-2qVFLuOgW8pfcFxlmRzfNb3SCKXV9CurWca3gyihWNawBNs1hMV2ZdU7pc1dZh1PVYZ2yn41ga-0clW3aLe0MaofK63KCNVl6FQ1XKeu2N4uJUm48Uxnpf641a3rtPbr0ahV1UWlM6jKoaVXj-bdyoK0y0Ysv6qx_Rpie217qluPH3oV85fq2UjVDKqmrdiuKzTUBnRKaXGaLepakzW54uQ9UnEl1XY6tGoIFHVg-HUpVFvUeg_Ub6atHt2L0r0i_XCfswVZvntUDw_2B6HADFGif4XGOcWIpY2n7ZtJAV5xGmKRcmGGo036O63s8f6X_OvAx-jzP7XKmLrFLOnrlJzSKWJLnJ_s47myp_8ZT9vOE5MloY8L3emeSaTb9YevLbznira_BYNfNWGBw5l-Mg_vYswwXeQwPtAzixoZfafT_eoXs2wfhWU8F-2Li2KW_ZdUc9K1vnay1mW6SvrNw183_h9Vxj24

For output from #7162 see Paliak#6

Essentially an improved version of
PathOfBuildingCommunity#5164 that
utilizes skill cache functionality.
@Paliak Paliak added the bug: calculation Numerical differences label Jul 13, 2024
@Paliak Paliak force-pushed the fix-max-stacks-calcs branch from 0ffd499 to b018769 Compare July 13, 2024 10:40
@LocalIdentity LocalIdentity merged commit e9dd799 into PathOfBuildingCommunity:dev Jul 21, 2024
2 checks passed
@Paliak Paliak deleted the fix-max-stacks-calcs branch August 8, 2024 22:35
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.

3 participants