Difference between revisions of "Wizhelp/Setskill"

From DikuMUD Wiki
Jump to navigation Jump to search
(Setskill: the monster example uses a weapon category, as monsters only have those)
(checked against the code)
 
Line 12: Line 12:
  
 
Sets how well someone knows a skill, a spell or a weapon, anywhere in the  
 
Sets how well someone knows a skill, a spell or a weapon, anywhere in the  
−
world. Write a name of two words with an underscore (pick_lock), and you
+
world. Write a name of two words with an underscore (pick_lock); the
−
may shorten it from the end. You are told "New value: <n>".
+
words may be shortened. A name it doesn't know gets you the list of all
 +
the names. You are told, for example, "Gnort's skill in pick lock is set
 +
to 80."
  
 
Only players have the full tree of spells and weapons, and only players  
 
Only players have the full tree of spells and weapons, and only players  

Latest revision as of 21:40, 14 November 2026

Setskill (245)

Usage:

setskill <someone> skill <skill> <value>
setskill <someone> spell <spell> <value>
setskill <someone> weapon <weapon> <value>

Examples:

setskill Gnort skill pick_lock 80
setskill Gnort spell cure_light 50
setskill guard weapon category_sword 75

Sets how well someone knows a skill, a spell or a weapon, anywhere in the world. Write a name of two words with an underscore (pick_lock); the words may be shortened. A name it doesn't know gets you the list of all the names. You are told, for example, "Gnort's skill in pick lock is set to 80."

Only players have the full tree of spells and weapons, and only players have skills. Monsters have just the spheres and the weapon categories, such as category_sword (see {Help Weapons}): giving a monster a single spell or weapon is refused. It is logged.


See Also:

> {Wizhelp Set}
> {Wizhelp Wstat}