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

Documentation Area

Document Path: /doc/monster/set_ac


Lfun:	set_ac - set the armour class of a monster

Synopsis:
	set_ac(int class)

Description:
	The set_ac function sets the armour class in a monster. If the
	monster wears an armour AND if the armour classes of all worn
	armours added up are higher than the default armour class, the
	armour class of the monster will be set to the armour class of
	all these armours added up.

Return value:
	none

Examples:
	set_ac(5);

Note:
	Every moster gets a default ac via set_level. It is not possible
	to set a lower armour class via set_ac!

See also:


This page was generated in LPC

Imprint / Impressum