-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Explosive Trap is calculated inaccurately. #6909
Comments
Sharpnel Trap is the internal name from GGG for Explosive trap, so this is not a bug. Regarding the radius modifications, I believe that since it's symmetrically random, it shouldn't have an impact on the final result. Unsure if any changes need to be made here. We could just call it average radius, which would make it fully accurate. |
Thanks for the heads up, fixed the title. |
@Lilylicious I actually do think it has an impact, since although the radii are symmetric, the overlaps are not since overlaps are capped at 100% and you can hit that on the +30% end I previously wrote a script to optimize aoe breakpoints, I modified it to include the -30% to 30% There's a slight difference between the current method and averaging over the range, this is simulating 12% increased aoe and 30% less from conc effect. |
Yep, we've come to the same conclusion. In addition, PoB's current secondary explosion hit rate calculation, even without the -30% to 30%, is overestimating the hit rate consistently at various radii. I've gotten a simplified formula for the hit rate that's far more accurate, next step is just to take into account the -30% to 30% radius modifier in some intelligent way that isn't doing the same calculation for every option. |
Could you share the updated formula for the hit rate? I can see if I can come up with something, but my gut instinct is it might be difficult without repeating the calculation several times because we have to round the radius first before calculating the overlaps, which means we can't get an analytic form. |
Sure! The new formula is I'm testing it against a content creator's recent leaguestarter PoB for it, and I'm getting around 50% hitrate for secondary explosions compared to the previous 75% for that PoB. Edit: The new formula assumes a random placement of the enemy within the large trap radius. The old formula assumes perfectly centered placement on the enemy. We'll likely go for some middle ground. |
Check version
Check for duplicates
Check for support
What is the value from the calculation in-game?
We dont know, and we didnt calculate but according to latest addition to RAQ:
What is the value from the calculation in Path of Building?
Either:
-> Formula does not calculate the -30 to +30 random base radius
-> Calculation text shown to users is wrong.
Asides from the calculation bug (or text inaccuracy), maybe just a little bug, Explosive Trap is registered as ShrapnelTrap in skills. https://github.com/PathOfBuildingCommunity/PathOfBuilding/blob/dev/src/Data/Skills/act_dex.lua#L4091How to reproduce the issue
No response
Character build code
[https://pobb.in/nEl5FG8KIKB3
https://pastebin.com/9HRBVLij](https://pobb.in/nEl5FG8KIKB3)
Screenshots
No response
The text was updated successfully, but these errors were encountered: