Spell Casting Timer / Tracking

Posted by Mattrious on Mon 04 Nov 2013 05:12 PM — 6 posts, 26,194 views.

#0
Hello,

I've been looking over the various different forum posts on spell timers and tracking. I've been playing with some scripts and can not get them to recall or relay the way I want them to. I am new to scripting and I am pretty certain I am over thinking this or trying to throw a missile at something that a BB gun could take care of.

I am wanting a basic command that I can enter EG: 'st' for 'spell timers' or something that will report back how much time I have on certain effects. Now the main problem is - I am doing this on a role playing mud where there is no actual timer in score or anything along those lines.

Though there are different times for various spell levels. Starting with wek being the weakest. I believe wek spells have a 10 minute timer. Yuqa has a 20 minute timer and so on I believe. Though, I will need to do some testing and figure out the exact times on each power level, so would want a way to adjust the timer for certain spells.

Wek Yuqa Kral Een Pav Sul Mon


What I had originally done was setup a trigger for when I cast a spell:

cast 'wek un ruk pret grol' self


I want the timer to see the spell effect and then start counting down from 10 minutes when it sees that it was cast at the wek power level. Or count down from 20 minutes if it saw it cast at the yuqa power level.

Then after a few minutes goes by and I need to check how much time I have on the spell effect. I would simply type 'st' to see how much time I have left on it. I would be very appreciative if someone could tell me what help files I need to look at to do all of this. Thank you again.

Australia Forum Administrator #1
How about this?

http://www.gammon.com.au/forum/?id=9359

That shows how to do a button bar, with cooldowns.
#2
Nick Gammon said:

How about this?

http://www.gammon.com.au/forum/?id=9359

That shows how to do a button bar, with cooldowns.


Thanks Nick. I will give it a shot. I really was not looking for something so in depth and with graphics, etc. Though, it appears that this will work for what I am wanting to do. Thank you again for the reply.
#3
Doesn't the time of spells casted change as your levels go up?

An alternative would be, if you create a trigger re-cast the spell to when the effects are worn off.
Australia Forum Administrator #4
Explain this. It looks like pre-spam.
USA Global Moderator #5
Agreed. Deleted.