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-blow-effects.h>

Data Fields

struct player *const p
struct monster *const m_ptr
const int rlev
const monster_blow_method_t method
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
struct monster* const m_ptr

Referenced by melee_effect_elemental().

bool obvious
struct player* const p
const int rlev

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