MOBTeacher

From CoffeeMud Wiki
Jump to navigation Jump to search


CoffeeMUD
Administrator                                                  Builder                                                              Player
=CoffeeMUD Builder Information=
Basics Praetor     Player Support     Commands     Zapper Masks Advanced Races     Classes     Abilities     Socials     Scripting    
Building Behaviors     Properties     Areas     Rooms     Exits     Items     Mobs Systems Achievements     Crafting     Help Info     Ships     Planes of Existence     Quests     Triumphs    
===MOBTeacher===
Targets: MOBs
Parameters: Char class name(s), ability name(s), expertise name(s),

percentages, nocommon flag, noedus flag, or empty to teach all.

Examples: mage evoker illusionist transmuter

100% mage 10% Thief_Steal NOCOMMON Spell_Sleep 5% Spell_Wish Spell_BurningHands

Description: This behavior makes the mob suitable to teach skills, spells, prayers, songs, or expertises as specified in the parameters. If the parameter is empty, the mob will be able to teach all abilities. If the parameter contains the name of a character class, the mob will only teach abilities of that class. *Any* class may always practice with a MOBTeacher, but the mob may only teach those abilities for the character class the parameters describe. The classes listed by mob teacher are NOT base classes. To have a teacher able to teach skills from an entire base class, all sub-classes must be listed.

Percentages may be included inside the parameters as well. The percentage will always apply only to the character classes or spells listed after the percentage, not before. Encountering another percentage entry will override the previous. A percentage will dictate the chance that a given spell will be known by the teacher, or the chance that a particular spell in a given character class will be known.

Two flags can also modify your list. The NOCOMMON flag prevents the teacher from teaching common skills, even if they would normally be on his list. The NOEXPS flag prevents the teacher from teaching expertises, even if he would normally qualify for them.

If this behavior has NO parameters whatsoever, the mob will teach all basic skills. Expertises will only be taught if the mob otherwise qualifies for them himself, and Character Class changes will only be taught if the mob is that class.


Notes

  • In theory, MOBTeachers teach skills as if they have it at 100% with 25 Intelligence.
  • For MOBTeachers without specified classes, they will teach all classes available to their race at the MOB's level. So a level 30 mob will be able to teach all classes available to that race up to level 30.
  • For MOBTeachers with specified classes, they will divide their level by the number of classes they can teach, and teach at that level. So a level 30 mob, with 6 classes, will only be able to teach up to level 5 abilities in each class.