ADD_SP(L)

NAME
	add_SP - change the hit points of a living object

SYNOPSIS
	void varargs add_SP(int amount [, ignore_flag])

LOCATION
	/obj/living_functions.c

RETURN VALUE
	None.

DESCRIPTION
	With this function you can add an amount, positive or negative, to
        a living's spell points. Checks on limits can be turned off by using
        the ignore flag. The use of the ignore flag is logged.

NOTES
	There is no check if the spell points are reduced below zero.

	This could be used to heal spell points alone (as opposed to
	heal_self(L) which heals hit points and spell points together).

BUGS (FEATURES)
	With the ignore flag, this can be used to raise a living object above
	its maximum normal spell point range.  This must be approved.

SEE ALSO
	add_hp(L), heal_self(L)

Help topics available:
add_hp add_money add_sp catch_tell heal_self
hit_player monster_died move_player query_max_sp query_money
query_attack query_npc query_objective query_gender query_possessive
query_pronoun query_gender_string query_sp query_worn query_hp
query_level query_living query_max_hp set_wet stop_fight

[START|BACK ]




[ NannyMuds main page | FAQ | Contact us ]

You are guest number 94 since December 2019.
This file was last modified: June 2000.