Remaining Duration Condition with minus values causes error
asaka-wa opened this issue ยท 1 comments
Description
Using a value below zero for Remaining Duration causes an error to be fired into the chat frame (not bugSack)
[string "Error in: New 3':'condition checks"]:20: ')' expected (to close '(' at line 19) near 'if'
WeakAuras Version
Current Dev
World of Warcraft Flavor
Retail (Default)
Tested with only WeakAuras
- Yes
- No
Lua Error
[string "Error in: New 3':'condition checks"]:20: ')' expected (to close '(' at line 19) near 'if'
Reproduction Steps
Make a new Aura
Go to Conditions
Select "Remaining Duration"
Select any comparator
Set a value of -2
Last Good Version
No response
Screenshots
Export String
!WA:2!DrvWUTTrq0iOw0cc4Iy1uJMGEWign3ArIlso0dbWuHk2fksUuuXoOhKxsou7wtT72Dxkz7BrhkYz9jOZ9K(e8xaHqr)a8NG)c6SlPCtQoimZSZoZ7n7ByJoTM0kTv6h2BjlrWhikujW3Dp1f9ZY0GPH6YAJveEcvOowW4M42b9IccxNie5PIz8bZys4SR34gKogO(2YD2CJInEmO0F1tu1M)5YuiUill6sjOomO7XDg213GoHKcfz)5AjKNFuQ27gDrmmf4Mby2SlwnQ9bdIgni6GWi)coZelZjxcQqozcO9cDPgFiqYn07U6XkaVA4GJd62DrbVgcEYTjjg2uiQY)nIu4VU3TiZafNK)weVmb)8Bpha5biEsmHedtqxOH8m3eO8ZrwOjgeXgGUeBximgVJ(N3PCR1OBmj58Xkrbp9dpq2YaxygPPeC6CA98u(qxq3Fzc1ecMqTHpxWHf3D8J)ET8(FufAlYfQFPrJgnVPk6gq5FWWO(YV2fKuyeyPyjNWsnu)dq3BR6f7ci1f89RREsFxnIU2D(VxOnSSlrcQegKCryq)E97fuULc5LnNLUetCWOj(Brnj4g597OyxT7VwqsXbdz3OOpH7B60AxSzcv6jkIC(j1gvayktZIZHZQ58hj7KBFuVEbHJ87hf1)nHh96dJwFxRhWUcEynJo9t6J9uNyR)WOUh1l4FwpoxmRJc(JcGNC5XF2t)X9FEf7ShSY(3Mkm36yV864cJrW7pfuOQBPnCxGp2q)gx(By2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