|
Atrinik Server 2.5
|
#include <global.h>Go to the source code of this file.
Functions | |
| static void | spellbook_failure (object *op, int failure, int power) |
| void | apply_spellbook (object *op, object *tmp) |
Handles code for spellbooks.
Definition in file spellbook.c.
Apply a spellbook.
| op | Object applying the spellbook. |
| tmp | The spellbook. |
Definition at line 38 of file spellbook.c.
| static void spellbook_failure | ( | object * | op, |
| int | failure, | ||
| int | power | ||
| ) | [static] |
Called when we try to learn a spell from spellbook by applying a spellbook in apply_spellbook().
| op | The object that applied the spellbook. |
| failure | Failure power. |
| power | Spell points. |
Definition at line 139 of file spellbook.c.
1.7.4