A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/monster/query_def_ac
Lfun: query_def_ac - return the default armour class of a monster
Syntax:
int query_def_ac()
Description:
Via set_level every monster gets a default armour class depending
on the level. The query_def_ac call returns this default armour
class.
Return value:
A positive integer indicating the armour class depending on level.
Examples:
int ac;
ac = monster->query_def_ac();
Note:
Even when a monster wears armours, at least the default armour
class is kept. Only if the added up armour classes of the worn
armours are greater then the default, the added up armour classes
are used.
See also:
This page was generated in LPC
Imprint / Impressum