#include <monst.h>
Actually, more like 'an action a monster can do'. Other actions like summoning help, shooting missiles, breathing fire, etc., are handled with this as well.
Definition at line 14 of file monst.h.
Data Fields | |
| filelink | type |
| (Interpretted) function called when this attack is made. | |
| range | damage |
| How much damage is dealt. | |
| schar | tohit |
| Modifier to chance-to-hit. | |
| uchar | trigger |
| When this attack is made. | |
|
|
How much damage is dealt.
|
|
|
Modifier to chance-to-hit.
|
|
|
When this attack is made. May be one of: MTRIGGER_NORMAL, MTRIGGER_RANGED, MTRIGGER_DEFENSE, MTRIGGER_DEATH, MTRIGGER_SEEN, MTRIGGER_PREEMPT |
|
|
(Interpretted) function called when this attack is made. See data/monsters.m4 for examples. |
1.3.6