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:
You are guest number 94 since December 2019.
This file was last modified: June 2000.