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

Documentation Area

Document Path: /doc/living/query_ac


Lfun:	query_ac - return the amount of armour class of a living

Synopsis:
	int query_ac()

Description:
	The query_ac call returns the amount of armour class of a living. The
	armour class is calculated from all the armours a living is wearing.

Return value:
	A positive integer indicating the armour class.
	If no armour is worn, 0 is returned.

Examples:
	int ac;
	ac=this_player()->query_ac();

See also:


This page was generated in LPC

Imprint / Impressum