PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Bleeding Sometimes Uses Incorrect Crit Chance for Dot Multi and Perfect Agony

Abierto
#8,334 5 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

bug: calculation
Lenguaje dominante
Lua
Estrellas
5.4k
Forks
2.4k
Merge medio
1 d 12 h
PR fusionados (30 d)
26

Descripción

Check version
  • I'm running the latest version of Path of Building and I've verified this by checking the changelog
Check for duplicates
  • I've checked for duplicate open and closed issues by using the search function of the issue tracker
Check for support
  • I've checked that the calculation is supposed to be supported. If it isn't please open a feature request instead (Red text is a feature request).
What platform are you running Path of Building on?

Windows

What is the value from the calculation in-game?

As an ailment, bleeding has some limited interactions with critical strikes. While Path of Exile does not specifically account for this increased damage in the tooltip, PoB does factor this in when calculating full DPS for another ailment: poison.

image

Path of Building should use the same calculations for bleeding as it does for poison for calculating chance to bleed with Perfect Agony or for effective DoT multiplier for the portion of instances created by critical strikes.

What is the value from the calculation in Path of Building?

In certain specific circumstances, the critical strike chance for bleeding is incorrect.

image

I strongly suspect that the issue might be related to attack accuracy, because changing the character's level (ie the evasion of enemies) has a big impact on how inaccurate the bleeding crit chance is. If the character's chance to hit is below a certain threshold, then the calculations correctly use the 'Effective Crit Chance' for determining the crit chance for bleeding.

There are 2 different contexts where crit chance matters for bleeding, and they both have problems, but at different thresholds. The following estimates use the example build, which has 1100% increased critical strike chance in the custom configuration.

Normal: the (portion of instances created by crits) for effective DoT Multi is incorrect when the Hit Chance >= 67%

Perfect Agony: the (chance from crits) factor of the 'Chance to Bleed' calculation is incorrect when the Hit Chance >= 97%

This problem also does occur without any custom modifiers, that just seemed the simplest way to reproduce the issue.

How to reproduce the issue
  1. Set the character's level to '1'
  2. Select 'Viper Strike' as main skill
  3. Equip a vanilla 'Dragoon Sword' as mainhand weapon
  4. Add 1100% increased critical strike chance to the custom configuration
  5. Under the 'Bleed' section in the 'Calcs' tab, hover over the 'MH Eff. DoT Multi' value
  6. Note the value of (portion of instances created by crits) as compared to the character's 'MH Crit Chance'
  7. Add Perfect Agony to the custom configuration
  8. Back under Calcs > Bleeding, hover over 'Chance to Bleed'
  9. Note the value of (chance from crits) as compared to the character's 'MH Crit Chance'
Character build code
eNqtW21z4jgS_jz8ChdXd7VbtwFsAwm5ZK8ISSapSmaykMzefppSbAHeCIux5STs1vz365ZkMAwyNmamimCrn36T1Opum7P_vs-Y9UqjOODhed1utOoWDT3uB-HkvP70eH10Uv_vr7WzByKmn8cXScBw5NfahzP53WL0lTLA1S1BogkVX1JO7lfgNCehmFIe3pM_efSR--f1TzykdeuZhH4g0iuPkTj-RGb0vD7yAFy3SOzR0B-s7mvCKYmIJ2h0h1L7ieD33IfRMWExDM9IEI6490LFx4gnc6nVa0DfFNHt_cPn4WNGpyDM6gQmfTh7YGRBo5Egworh47zeB8-QCb0kM_gEboQlwMrt9Botp3Vy3Do5Oe50681c8EUSxWI_DqM5pf4SZDc6JsKHiF6Nx9QTwSsdRIEYTEnorcQdOybgNmK74Zzk0d8nTARzFtCoiGo3Pwjo9Uy0j1wQdvkwWpJ23JNGx7XdVteFz3Y-joslrmWivGDg0awEu9Vr9ByUcey2ekYrfg_E9Adst33SaHe6XafV6jpOLw97OwkDQfcw7YEHMQ-zwHYXpLrtnt1ydqHWF13H6TSO261uO0_RH-XZYF2jB1ba3c6x7e6agzUbj08abrflOG7vuNUzyh0kjEFUySKNEzikMY1eiQjWlTTSD_jsOQg35ty2u42Tnt1xW27LMVp0T0Iy4LHIeCKP9IFGELXEGmIXYEQ9DoFuTUingJDtUKO0u2BMi1OWMkQDymqznx1Xo6J0pRnvp9AQ9lcxyhFPWEFKsYqrjpHqkr4XoBrSb2uEZsrbUBSS-sqFPKJ3WSHDwdXNwyoW9Bq27bqtVrvndG3bGLmmizjwCLsn78EsmcHp8Uhe6EpgN2dZTaYihDhigrrGU-06iGh51IAzfw_UlPC4POwekpsbSJv6npdAErRYHQe5-6yA3yDJ8E6R9jb0im3epzCSUTiTm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zgJ2L_A__F_YuuGQAIWLmqPSfQtgXKFWv1Zwqio6XbgqQWus9yGbTdaq3uDJIKJFTVVllPfWo44Gd847jbf_EnfIGOh0eIrSVPv739LC0_RwO___snuHjntn9E3l_RdUFTegi1l3YYCkMEEl5RmBhW4QBd__1vbfmp_t1vgXzi7I0pgp1iql2INNKXukViqLjSycdZ0-snptI7cTuvnsowZ5DEb1rmtI2CE1s1UNLMw2dH0M8hadtJjalNrrxmJp5z0kUxOrfQpX-0PSK43NYwtn1shF5YPUdkCD0fEUjGk2KrLI3F2k7i7Sdq7STq7Sbq7SY637iNsT5oi1XrfkoEXoUSfPTw_De8wtKpmGKyMVzzOcUg1lZv5ACXEslcQexfkgsNBY_WfF3GMMyvjk9UpIfOCMrGJd0rgZfpruXtYCbGbzDdFt_dhVMF8zcM5AI_tBnUPYFD3AAbtxWObQXaZxbVtdboH8IhzKGvKrLcbCge3qOSPLZutW1kDpzSHyiLdQ_m_c4DFYB9ge9gH0KNdciUcKsQ4VXdk-wAOLH9mHCzEulXtdypu4XIK-AtLtTurrEGVW1ThsH1jdypz6B5qWu1DxZjyS7O6H9uV57JzmEVVxnhV8x0gEroHCChuxU3Zroi3D-P_vU_K0ou2XRqxTxZV0audqrH6QNPSPlRwOVhevXcJVQI3xNaSUzk0OYeZg4OdFIco-Nr72VTW-dXP-AMlG53KilQ_4rplg0HV4PGjQNXzSd-Ikr1s-UIUD8fBRHe11YXua0vQ8s5aHyj7IpSXxILP7rkfr16csjdakmm7URK8UN0Mrv3jgUb4wMTqT3i4SO18YMSjU858GmkRFB8J6J_xpm9aHbdaOwDr76xnkDtw2V_zppiOGTOagsdH2O-Of3gPzChDv0fPGZONuqxZOZI8Lp9pFBYVB5OAfR7LZ5MAkw9YC8Bmy58m429ZaUR9KXOAb-GNKBtnmHR22JmGjiXA2QFYvv2QIrpFpmtzit3lml-uX_WcSF79Wjtrbv4U___qD1L6

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Comienza en los cálculos de Bleeding de la pestaña Calcs usando Viper Strike, Dragoon Sword, la reproducción de nivel 1 y una configuración de Critical Strike personalizada. Compara el manejo de los Critical Strikes de Bleeding con el cálculo de poison, incluidos los casos normal y Perfect Agony. Se considera terminado cuando el multiplicador de DoT efectivo y los valores de Chance to Bleed usan la probabilidad de crítico efectiva adecuada en los umbrales de probabilidad de impacto indicados.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
lua
Área
backend
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
38/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.