2010-12-02 12:17:54 +11:00
|
|
|
#include "defs.h"
|
|
|
|
|
2011-02-01 06:16:13 +11:00
|
|
|
int attackcell(lifeform_t *lf, cell_t *c);
|
|
|
|
int attacklf(lifeform_t *lf, lifeform_t *victim);
|
|
|
|
int attackob(lifeform_t *lf, object_t *o);
|
|
|
|
const char *getattackverb(enum DAMTYPE damtype, int dam, int maxhp);
|
|
|
|
object_t *getattackwep(lifeform_t *lf, obpile_t **unarmedpile, flag_t **unarmedflag);
|
|
|
|
enum DAMTYPE getdamtype(object_t *wep);
|
|
|
|
int getextradam(object_t *wep, unsigned int *dam, enum DAMTYPE *damtype);
|
|
|
|
char *getkillverb(enum DAMTYPE damtype, int dam, int maxhp);
|
|
|
|
void getdamrange(flagpile_t *fp, int *min, int *max);
|
|
|
|
float getdamreducepct(float armourrating);
|
2010-12-07 18:34:26 +11:00
|
|
|
int getdamroll(object_t *o);
|
2011-02-01 06:16:13 +11:00
|
|
|
int getdamrollfromflag(flag_t *f);
|
|
|
|
float getstrdammod(lifeform_t *lf);
|
|
|
|
obpile_t *getunarmedweapon(lifeform_t *lf, flag_t **uflag);
|
|
|
|
void wepeffects(object_t *wep, cell_t *where);
|