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

Documentation Area

Document Path: /doc/monster/set_wimpy


Lfun:	set_wimpy - make a monster wimpy

Synopsis:
	void set_wimpy(status wimp)

Description:
	The set_wimpy call makes a monster wimpy, which means it runs away
	when its hit points get low, calling run_away.

Return value:
	none

Examples:
	monster->set_wimpy(1);

Note:
	There was no possibility to cancel the wimpy mode in a monster via
	set_wimpy(0)! This document told lies for a long time stating that
	via set_wimpy(0) the wimpy mode is turned off! :-(
	This IS changed!!!

	This could also be achieved via set_brave(1) but then the monster
	could not be scared away.

	The misspelled set_whimpy exists for compatibly! And it will keep
	the old behaviour of ignoring the argument!

See also:


This page was generated in LPC

Imprint / Impressum