Infinite duration effects (1.19.4)
mageowl opened this issue ยท 2 comments
In 1.19.4 the ability to add infinite duration to an effect was added. modify(e, 'effect')
should reflect that, perhaps passing true as the duration = infinity?
the game use -1 to represent infinity.
to query it , scarpet could return -1 normally.
but when i want to modify it, <=0 will remove the effect...
This was introduced in 1.4.128 and #1844.