The way I accomplished this was to put in a new timer state on the player, similar to wait_state and daze, which keeps track of how long until the player can use the skill, without actually lagging them in game time... you could also put in a check for if the player is affected, like Cyhawk suggested, but the reason I did it this way was for clan skills, I wanted them to only be used once every 2 ticks, and some of them do things like mass healing in the room, but for hp/mana/move at the same time... you can't really check for an affect in those cases, so I just put the timer on and check for the timer, and to cut down on the amount of things being checked on a per-pulse basis, I just made mine count it in ticks, so I set my timer for 2 ticks on each of the clan skills I want it for, and during that time, I place a check in the command function that tells them something like "You're too tired to do that again!" or something...
Richard Lindsey. -----Original Message----- From: Brinny [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 12, 2005 10:42 PM To: [email protected] Subject: :) skill question While I'm on a roll here.... How would I make it so a skill can only be used every 15 minutes or so? Thanks. Brittany. __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ -- ROM mailing list [email protected] Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom

