|
Atrinik Server 2.5
|
#include <global.h>Go to the source code of this file.
Functions | |
| static int | find_spell_byname (object *op, char *params, int options) |
| int | command_cast_spell (object *op, char *params) |
| int | fire_cast_spell (object *op, char *params) |
| int | legal_range (object *op, int r) |
Range related commands (casting, shooting, throwing, etc.).
Definition in file range.c.
| int command_cast_spell | ( | object * | op, |
| char * | params | ||
| ) |
| static int find_spell_byname | ( | object * | op, |
| char * | params, | ||
| int | options | ||
| ) | [static] |
Finds spell by name.
| op | The caster. |
| params | Spell name. |
| options | Specifies if the search is done with the length of the input spell name, or the length of the stored spell name. This allows you to find out if the spell name entered had extra optional parameters at the end (ie: marking rune <text>) |
| int fire_cast_spell | ( | object * | op, |
| char * | params | ||
| ) |
Similar to command_cast_spell(), but used from command_fire().
| op | Caster. |
| params | Spell name. |
| int legal_range | ( | object * | op, |
| int | r | ||
| ) |
1.7.4