pa001024 / riven-mirror

极镜 - the impressive warframe tool site
https://riven-im.vercel.app
MIT License
107 stars 20 forks source link

Error on zero buff calculation #130

Open lonnstyle opened 2 years ago

lonnstyle commented 2 years ago

Describe the bug If you chose some buff like Volt's shield, which have a static value, it still counted in final calculation even if the value is 0

To Reproduce Steps to reproduce the behavior:

  1. Go to mod build
  2. Make a buff that have static value
  3. Turn the value to 0
  4. See error

Expected behavior It should be ignored if the value is 0, as it is not a mod that have lv0