Angband
mon-attack.h
Go to the documentation of this file.
1 
19 #ifndef MONSTER_ATTACK_H
20 #define MONSTER_ATTACK_H
21 
23 bool make_attack_spell(struct monster *mon);
24 bool check_hit(struct player *p, int power, int level, int accuracy);
25 bool check_hit_monster(struct monster *mon, int power, int level, int accuracy);
26 int adjust_dam_armor(int damage, int ac);
27 bool make_attack_normal(struct monster *mon, struct player *p);
28 bool monster_attack_monster(struct monster *mon, struct monster *t_mon);
29 
30 #endif /* !MONSTER_ATTACK_H */
bool monster_attack_monster(struct monster *mon, struct monster *t_mon)
Attack the player via physical attacks.
Definition: mon-attack.c:687
Monster information, for a specific monster.
Definition: monster.h:325
bool make_attack_normal(struct monster *mon, struct player *p)
Attack the player via physical attacks.
Definition: mon-attack.c:454
int choose_attack_spell(bitflag *f)
Have a monster choose a spell to cast.
Definition: mon-attack.c:204
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:276
const char ** p[]
Definition: name.c:40
byte bitflag
Definition: z-bitflag.h:27
bool check_hit_monster(struct monster *mon, int power, int level, int accuracy)
Determine if a monster attack against a monster succeeds.
Definition: mon-attack.c:424
bool check_hit(struct player *p, int power, int level, int accuracy)
Determine if a monster attack against the player succeeds.
Definition: mon-attack.c:400
Most of the "player" information goes here.
Definition: player.h:489