A
          / \      _             Play Now                         Nemesis on fb
          | |     | |  _______   _        _   _______    _______   _    _______
          | |\    | | |   ____| |  \    /  | |   ____|  /   ____| | |  /   ____|
 /-------/-------------------------------------------------------------------,
O= Home <=XX|  About  News  Pics  Adventurers  Wizards  Download  Connect     >
 \-------\-------------------------------------------------------------------'
          | |   \   | |  |____  | |      | | |  |____   ___ \  \  | |  ___ \  \
          | |     \_| |_______| |_|      |_| |_______| |_______/  |_| |_______/
          \ /
           V  

Documentation Area

Document Path: /doc/monster/set_wc


Lfun:	set_wc - set the weapon class of a monster

Synopsis:
	void set_wc(int class)

Description:
	The set_wc function sets the weapon class in a monster. If the
	monster wields a weapon AND if the weapon class of the weapon is
	higher than the default weapon class, the weapon class of the
	monster will be set to the weapon class of the weapon.

Return value:
	none

Examples:
	set_wc(15);

Note:
	Every moster gets a default wc via set_level. It is not possible
	to set a lower weapon class via set_wc!

See also:


This page was generated in LPC

Imprint / Impressum