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

Documentation Area

Document Path: /doc/living/add_alignment


Name: add_alignment - change the alignment of a living

Syntax:
	add_alignment(int al)

Description:
	The add_alignment call updates the alignment of a living. It is
	normally used in combat if one of the enemies of the living dies.

	The al argument may have a positive or a negative value. The current
	alignment is multiplied by 9/10 and al is added to it.

	If the living is a player and no wizard, the alignment title will be
	changed.

Return value: none

Examples:
	this_player()->add_alignment(20);

See also:


This page was generated in LPC

Imprint / Impressum