Angband
Data Fields
power_calc Struct Reference

#include <obj-power.h>

Data Fields

struct power_calcnext
 
char * name
 Name of the calculation. More...
 
struct poss_itemposs_items
 
dice_tdice
 Dice expression used in the calculation. More...
 
int operation
 How the calculation operates on power. More...
 
struct iterate iterate
 What the calculation iterates over. More...
 
char * apply_to
 What the calculation is applied to. More...
 

Field Documentation

◆ apply_to

char* apply_to

What the calculation is applied to.

Referenced by cleanup_object_power(), object_power(), and parse_object_power_apply_to().

◆ dice

dice_t* dice

Dice expression used in the calculation.

Referenced by cleanup_object_power(), parse_object_power_dice(), parse_object_power_expr(), and run_power_calculation().

◆ iterate

struct iterate iterate

What the calculation iterates over.

Referenced by object_power(), parse_object_power_iterate(), and parse_object_power_name().

◆ name

char* name

Name of the calculation.

Referenced by cleanup_object_power(), object_power(), and parse_object_power_name().

◆ next

struct power_calc* next

◆ operation

int operation

How the calculation operates on power.

Referenced by object_power(), and parse_object_power_operation().

◆ poss_items

struct poss_item* poss_items

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