17 lines
623 B
C
17 lines
623 B
C
#ifndef __SPELLS_H
|
|
#define __SPELLS_H
|
|
#include "defs.h"
|
|
|
|
int abilityeffects(lifeform_t *user, enum OBTYPE abilid);
|
|
int dospelleffects(lifeform_t *caster, enum OBTYPE spellid, lifeform_t *target, object_t *targob, cell_t *targcell, int blessed, int *seenbyplayer);
|
|
void fizzle(lifeform_t *caster);
|
|
int getiqreq(enum OBTYPE oid);
|
|
int getmpcost(enum OBTYPE oid);
|
|
int getspellduration(int min,int max,int blessed);
|
|
void pullobto(object_t *o, lifeform_t *lf);
|
|
cell_t *validatespellcell(lifeform_t *caster, cell_t **targcell, int targtype, int needlof);
|
|
lifeform_t *validatespelllf(lifeform_t *caster, lifeform_t **lf);
|
|
#endif
|
|
|
|
|