View Single Post
07-11-05, 01:22 PM   #1
Simonechance
A Kobold Labourer
Join Date: Jul 2005
Posts: 1
Help determining if a spell/actiuon is currently on

I am trying to add some functinality to Zorlen Hunter Library. I have created an add on called Simonechances's Zorlen Add Ons to do some extra stuff. The problem I am having is this.

I want to check to see if Auto Shot is already active and if not cast it. I can do the latter very easy, but if I cast if with it on, it goes off, don't want that to happen.

Here's why, my Add-On acts like a big Shot Spam button, by pressing one button, you get the best available shot and fire it. If you are out of mana and can't fire, I want to activate Auto Shot, but only if it is not on.

I have tried the IsCurrentSpell() function, but that doesn't seem to work, so still looking.

Thanks for the assistance.
  Reply With Quote