xulai1001 / akdata

MIT License
36 stars 11 forks source link

夏栎的平均DPS/HPS 显示为黑色(物伤),应为蓝色(法伤)或绿色(治疗) #22

Closed Iamanorange closed 1 year ago

Iamanorange commented 1 year ago

image 突然发现对于既能奶又能打的干员,技能DPS/HPS 和平均DPS/HPS 的着色逻辑好像有点复杂。但是无论如何夏栎的DPS/HPS 都不应该是黑色(物伤)吧?

xulai1001 commented 1 year ago

可能是判断为混伤时,没有给伤害颜色赋值,还是用的之前的值,导致混伤可以显示为任何颜色……

xulai1001 commented 1 year ago

甚至可以搞出三色夏栎……(:з」∠) image

Iamanorange commented 1 year ago

image 瑕光3技能有2个问题:

  1. 技能DPS显示为黑色,但实际应为法伤+治疗;
  2. 平均DPS中没有分离物理DPS和法伤DPS。
xulai1001 commented 1 year ago

25b02e7 稍微重构了伤害颜色显示的部分。现在可以dps、hps分开显示了 同时增加了表示护盾和掉血(hps<0)的颜色。

平均DPS不区分伤害类型的,例如瑕光是物理、法伤和治疗全有,平均dps只按照直接伤害(物理)来显示所以是黑字 具体伤害分布需要在伤害表弹出窗口中查看 现在好多了 image image

xulai1001 commented 1 year ago

计算器的开发群是284807059,也欢迎dalao来群讨论哦