Help - Search - Members - Calendar
Full Version: Use Skunkworks to check buff/spell timers
AC Tools Everything Macro > Other Scripting Tools > Skunkworks
solitus
I was searching through the api, but couldnt find anything to use for checking the spellduration.

for example, i need to be able to trigger a full rebuff when its 5min left on buffs.


any hints, how i can use skunkworks for this?
GKusnick
skapi.cospell holds information about spells in effect on your character, including spell duration and time remaining.

For spells affecting your equipment, there is no easy way to find out how much time is left. The server doesn't provide that info until the spells actually expire. If you really need to do this, you'll need to keep track of when you last cast spell X on item Y, and do the timing calculation yourself.
solitus
QUOTE(GKusnick @ Feb 27 2008, 02:00 PM) *
skapi.cospell holds information about spells in effect on your character, including spell duration and time remaining.

For spells affecting your equipment, there is no easy way to find out how much time is left. The server doesn't provide that info until the spells actually expire. If you really need to do this, you'll need to keep track of when you last cast spell X on item Y, and do the timing calculation yourself.


Thx alot. For the Items spells, im gonna autobuff those when the timer is expired for creature/lifespells. For me that works great, cause i toss all spells in a buffround.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.