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

Documentation Area

Document Path: /doc/monster/set_random_pick


Lfun:	set_random_pick - make a monster pick items at random

Synopsis:
	void set_random_pick(int chance)

Description:
	The set_random_pick sets the chance of picking an item using
	the lfun pick_any_obj in the monster.

	The chance is an integer between 0 (no picks) and 100 (try picking
	every heart beat).


Return value:
	none

Examples:
	set_random_pick(5);

Note:
	Wielding weapons and wearing armours of pick_any_obj is done via
	the lfun use_equiment - see also 'man monster/use_equipment'.

See also:


This page was generated in LPC

Imprint / Impressum