Angband
Data Fields
melee_effect_handler_context_s Struct Reference

Storage for context information for effect handlers called in make_attack_normal(). More...

#include <mon-blows.h>

Data Fields

struct player *const p
 
struct monster *const mon
 
const int rlev
 
const struct blow_methodmethod
 
const int ac
 
const char * ddesc
 
bool obvious
 
bool blinked
 
bool do_break
 
int damage
 

Detailed Description

Storage for context information for effect handlers called in make_attack_normal().

The members of this struct are initialized in an order-dependent way (to be more cross-platform). If the members change, make sure to change any initializers. Ideally, this should eventually used named initializers.

Field Documentation

const int ac
bool blinked
int damage
const char* ddesc
bool do_break
const struct blow_method* method

Referenced by melee_effect_elemental().

struct monster* const mon
bool obvious
struct player* const p
const int rlev

The documentation for this struct was generated from the following file: