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.
SMAUG FUSS GuildMasters
Posted by DaiusStryker on Thu 24 Aug 2006 07:30 PM — 4 posts, 18,661 views.
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>'.
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.
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.