WeakAuras

WeakAuras

206M Downloads

Game (Classic) crashes when using %{cost} in a manabar

Soothx opened this issue ยท 0 comments

commented

Describe the bug

I was trying to add a text spellcost to my manabar WA, and asakawa told me to use %cost. This displayed power percentage when not casting, and was not quite what I wanted, so instead he told me to use %{cost}. Using this anywhere in the WA or in a brand new Progress bar caused an immediate crash of the game, like this:
https://i.imgur.com/IEaZPGE.png

The second part of the problem, or the reason for discovering the crash, is that if %cost and a custom function is used in the same WA, %cost does not revert to nil when nothing is being cast, and instead displays the custom function.

Do you have an error log of what happened?
No, as the game immediately crashed.

To Reproduce

Steps to reproduce the behavior:

  1. Make a new Progress bar
  2. Change trigger to Status->Power
  3. Add a text/Change text
  4. Change the text to %{cost}
  5. Game crashes

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

Yes, I tried this and the crash still happened.

Which version of WeakAuras are you using?

2.16.0

Are you on World of Warcraft Classic or Retail?

  • Classic
  • Retail