Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ Running the server
➜ Cast as a skill
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Malti
USA (55 posts) Bio
|
| Date
| Thu 04 May 2006 05:00 PM (UTC) |
| Message
| | Is it possible to make casting a skill instead of a command? This will prevent warriors and non-casting types from allowing them to use cast. Also, I plan on making the bard casting skill 'sing' and not cast, but it will use the same code. | | Top |
|
| Posted by
| David Haley
USA (3,881 posts) Bio
|
| Date
| Reply #1 on Thu 04 May 2006 06:48 PM (UTC) |
| Message
| You could always just check the character's class in the command and deny access if you want, without changing cast into a skill.
Also, you can create a new command called 'sing', that just happens to share the same code (do_cast) as cast. You don't need to create a new function. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
10,882 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top