Toggle Abilities on and off

sumoslim

Well-Known Member
I need help writing a script that will toggle the warlock mythical on and off for single target and multiple target encounter.


The if statements are fine as is the casting - as far as coding goes.

What I need is the syntax for toggle an ability.

Basically if i treat it as a spell - then the following happens:
1. Single target mob comes heroic of greater - script switches to single target mode.
2. Single target mob comes heroic or greater - the script switches back to multi target mode.

Whats the best way to do this - make a function to run ir?
Treat it like a maintained buff?

Any help would be very welcome.
I have never messed with the buff scripts so don't know that syntax at all.
 
Top Bottom