Name: query_max_sp - return the maximum amount of spell points of a living Syntax: int query_max_sp() Description: The query_max_sp call returns the maximum amount of spell points of a living. It depends on the intelligence stat of the living. Return value: A positive integer indicating the maximum spell points. Examples: int max_sp; max_sp=this_player()->query_max_sp(); See also: living/query_sp