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 */
Use the roguelike command false Show damage player deals to false Always pickup false Show flavors in object false Highlight player with cursor between false Show walls as solid false false Center map false Automatically clear more false Allow mouse clicks to move the true false false false false false Generate a random artifact false Force player false Restrict creation of false Lose artifacts when leaving level
Definition: list-options.h:86
Monster information, for a specific monster.
Definition: monster.h:323
bool(* testfn_make_attack_normal)(struct monster *m, struct player *p)
Definition: mon-attack.c:704
bool make_attack_normal(struct monster *mon, struct player *p)
Attack the player via physical attacks.
Definition: mon-attack.c:454
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:452