Ive been trying to solve this problem for a while, but i just cant seem to get my head round it, so Im hoping the good people of the hive can help me!
I have a spell based on immolation, with all effects removed (IE all it does it drain mana). When the Immolation is turned on, using a trigger I add a spell book with aura abilities to the user of the spell, the spell book is then hidden.
The trouble comes when trying to remove the spell book, of course removing the book itself is simple, what i lack is the capacity to find the right event. I need to the book to be removed when
a.) Immolation is cancelled by the user.
b.) Immolation is cancelled due to insufficient mana.
The only solution I've come up with is to add an additional ability when Immolation is triggered, said ability can then be used (via the Event-Unit beings casting ability) to disable it via the users request, however this does not cover option B.
Any comments or suggestions are welcome!
Thanks,
Tyross
(Afterthought, I am using GUI as I have very little knowledge on JASS!)
I have a spell based on immolation, with all effects removed (IE all it does it drain mana). When the Immolation is turned on, using a trigger I add a spell book with aura abilities to the user of the spell, the spell book is then hidden.
The trouble comes when trying to remove the spell book, of course removing the book itself is simple, what i lack is the capacity to find the right event. I need to the book to be removed when
a.) Immolation is cancelled by the user.
b.) Immolation is cancelled due to insufficient mana.
The only solution I've come up with is to add an additional ability when Immolation is triggered, said ability can then be used (via the Event-Unit beings casting ability) to disable it via the users request, however this does not cover option B.
Any comments or suggestions are welcome!
Thanks,
Tyross
(Afterthought, I am using GUI as I have very little knowledge on JASS!)