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

Documentation Area

Document Path: /doc/monster/query_def_wc


Lfun:	query_def_wc - return the default weapon class of a monster

Syntax:
	int query_def_wc()

Description:
	Via set_level every monster gets a default weapon class depending
	on the level. The query_def_wc call returns this default weapon
	class.

Return value:
	A positive integer indicating the weapon class depending on level.

Examples:
	int wc;
	wc = monster->query_def_wc();

Note:
	Even when a monster wields weapon, at least this default weapon
	class is kept. Only if the weapon classes of the wielded weapon
	is higher then the default, the weapon class of the wielded weapon
	is used.

See also:


This page was generated in LPC

Imprint / Impressum