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
➜ SMAUG coding
➜ SMAUG FUSS GuildMasters
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| DaiusStryker
(13 posts) Bio
|
Date
| Thu 24 Aug 2006 07:30 PM (UTC) |
Message
| I'm trying to create MOBs that train in only in special skills/spells. To do this I noticed that I need to create a special Trainer/GuildMaster MOB but I can't locate the flag that causes a MOB to become this, or how to tell what things he can train in. | Top |
|
Posted by
| Conner
USA (381 posts) Bio
|
Date
| Reply #1 on Thu 24 Aug 2006 11:12 PM (UTC) |
Message
| In SmaugFUSS the way you do this is to give each of your special mobs the practice flag, then you set the skills they can train using the sset command to 'teacher <vnum of teacher>' and, if you want these mobs to be the only ones who can train certain skills but for them also not to be able to train the normal skills, set all other skills to 'teacher <vnum of the teachers who can teach that skill/spell>'. |
-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.org | Top |
|
Posted by
| Tzaro
USA (41 posts) Bio
|
Date
| Reply #2 on Sat 26 Aug 2006 12:17 AM (UTC) |
Message
| an alternative to setting every spell to specific teachers (although this could be very useful depending on how its used), you could add in an extra flag. Just throw in a similar flag to 'practice' that will only allow the mob to teach a spell if the variable 'teacher' is filled out with that particular mobs vnum. |
Implementer of Lost Prophecy,
Tzaro | Top |
|
Posted by
| Conner
USA (381 posts) Bio
|
Date
| Reply #3 on Sat 26 Aug 2006 03:25 AM (UTC) |
Message
| That'd work too.. on the other hand, while setting every spell to a teacher (or group of teachers) is a major hassle, it can be done in a text editor to the skills.dat file without any coding needed at all. But the way you're suggesting is probably far more efficient in the long run. |
-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.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.
15,841 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top