Angband
mon-attack.h
Go to the documentation of this file.
1 
19 #ifndef MONSTER_ATTACK_H
20 #define MONSTER_ATTACK_H
21 
22 bool make_attack_spell(struct monster *mon);
23 bool check_hit(struct player *p, int power, int level, int debuff);
24 int adjust_dam_armor(int damage, int ac);
25 bool make_attack_normal(struct monster *mon, struct player *p);
26 
27 extern bool (*testfn_make_attack_normal)(struct monster *m, struct player *p);
28 
29 #endif /* !MONSTER_ATTACK_H */
bool(* testfn_make_attack_normal)(struct monster *m, struct player *p)
Definition: mon-attack.c:704
Monster information, for a specific monster.
Definition: monster.h:323
bool make_attack_normal(struct monster *mon, struct player *p)
Attack the player via physical attacks.
Definition: mon-attack.c:454
Definition: game-world.h:24
int adjust_dam_armor(int damage, int ac)
Calculate how much damage remains after armor is taken into account (does for a physical attack what ...
Definition: mon-attack.c:446
bool make_attack_spell(struct monster *mon)
Creatures can cast spells, shoot missiles, and breathe.
Definition: mon-attack.c:232
bool check_hit(struct player *p, int power, int level, int debuff)
Determine if a monster attack against the player succeeds.
Definition: mon-attack.c:420
const char ** p[]
Definition: name.c:40
Most of the "player" information goes here.
Definition: player.h:450