WeakAuras

WeakAuras

206M Downloads

Weapon Enchant with Progress Texture error WeakAuras-Classic v3.0.0

eeGuler opened this issue ยท 0 comments

commented

Describe the bug

Progress Texture with pre-defined (Status > Weapon Enchant >Enchant Missing) returns and error and not working at all. It works with custom trigger which checks main or off hand enchants.

Do you have an error log of what happened?

Message: ...ace\AddOns\WeakAuras\RegionTypes\ProgressTexture.lua:1009: attempt to perform arithmetic on local 'duration' (a nil value)
Time: Wed Oct 14 16:59:51 2020
Count: 298
Stack: ...ace\AddOns\WeakAuras\RegionTypes\ProgressTexture.lua:1009: attempt to perform arithmetic on local 'duration' (a nil value)
[C]: ?
...ace\AddOns\WeakAuras\RegionTypes\ProgressTexture.lua:1009: in function `TimerTick'
...ace\AddOns\WeakAuras\RegionTypes\RegionPrototype.lua:447: in function <...ace\AddOns\WeakAuras\RegionTypes\RegionPrototype.lua:443>
...ace\AddOns\WeakAuras\RegionTypes\RegionPrototype.lua:459: in function <...ace\AddOns\WeakAuras\RegionTypes\RegionPrototype.lua:458>

To Reproduce

Steps to reproduce the behavior:

  1. Go to options and create a Progress Texture
  2. Go to Trigger and define Status > Weapon Enchant (either main or off hand) > Show On = Enchant Missing
  3. Close options
  4. See error

Screenshots

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?

All disabled but WeakAuras

Which version of WeakAuras are you using?

WeakAuras 3.0.0

Are you on World of Warcraft Classic or Retail?

  • Classic
  • Retail
  • Shadowlands

Was it working in a previous version? If yes, which was the last good one?

Additional Info

All otther progress texture auras and also custom code that triggers weapon enchants works for me but at this time only for default Status > Weapon Enchants produce that error.