Avrae-Customizations
Avrae-Customizations copied to clipboard
[Bug] !use does not support -ccnum -1
What alias/snippet is this for?
!use
Describe the bug
When using -cc
and -ccnum -1
, it attempts to increment the counter rather than decrement.
To Reproduce
- Create a counter for "Wand of Paralysis":
!cc create "Wand of Paralysis" -reset long -min 0 -max 7 -value 7 -type bubble
- Try decrementing the counter when using
!use
:!use -save con -dc 15 -title "[name] uses their Wand of Paralysis" -effect "Paralyzed||10" -cc "Wand of Paralysis" -ccnum -1
It fails attempting to increment the counter:
Consumable out of Bounds
Unfortunately, one or more of your consumables would be put out of bounds by this action:
Wand of Paralysis (+1): ◉◉◉◉◉◉◉
However, if the CC doesn't exist, it shows -1:
Consumable out of Bounds
Unfortunately, one or more of your consumables would be put out of bounds by this action:
Wand of Paralysis1 (-1): Counter could not be found.
Expected behavior
Correctly decrement the counter.