I'm playing with it, but I've hit a wall. There is a / command to cancel a maintained spell (conveniently it's /cancel_maintained #).
Unfortunately # is not easy to get. Maintained spells seem to be ordered sequentially by the order they were cast in since zoning, with spells that persisted from the previous zone starting at 0.
I can add a button to each maintained icon that uses OnPress="cancel_maintained=# cancel_maintained=#" however, I have no way of tracking which spell is assigned what #. I did up a sample, and after casting and canceling half a dozen times, I end up canceling the wrong spells.
If anyone has a way to track this # properly, I'd love to hear it.
|