PathOfBuildingCommunity/PathOfBuilding

Negative damage and duration

Open

#4,996 创建于 2022年8月27日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Lua (2,318 fork)batch import
bug: calculationgood first issue

仓库指标

Star
 (5,224 star)
PR 合并指标
 (平均合并 8小时 37分钟) (30 天内合并 1 个 PR)

描述

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 issues by using the search function of the issue tracker

What is the expected behaviour/value?

You can't deal negative damage or duration so expected to see zero here.

The only notable stat is projectile speed which I think is capped at 1%.

What is the actual behaviour/value?

Some stats can become negative when they shouldn't e.g. damage or duration, regen, etc. image image image

How to reproduce the issue

Add alt quality defiance banner and ashes of the star and observe negative duration in panel. Add enfeeble with 500% curse effect and see negative damage on player.

This likely effect a bunch of other multipliers and should likely apply to all reduced and less multipliers capped to x 0. Except maybe some special cases.

Character build code

https://poe.ninja/pob/EgI

Screenshots

No response

贡献者指南