From the NannyMUD documentation

LAST CHANGE

2009-07-27

FUNCTION


NAME

        add_sp - change the spell points of a living object

LOCATION

	/obj/living_functions.c

SYNTAX

	varargs int add_sp(int amount [, ignore_flag])

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. The function
        returns the living object's number of spell points after it 
        completes.

NOTE

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

NOTE

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

NOTE

	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 in lfun/living/add_hp

SEE ALSO

        heal_self in lfun/living/heal_self