Angband
Data Fields
random Struct Reference

A struct representing a strategy for making a dice roll. More...

#include <z-rand.h>

Data Fields

int base
 
int dice
 
int sides
 
int m_bonus
 

Detailed Description

A struct representing a strategy for making a dice roll.

The result will be base + XdY + BONUS, where m_bonus is used in a tricky way to determine BONUS.

Field Documentation

◆ base

int base

◆ dice

int dice

◆ m_bonus

int m_bonus

◆ sides

int sides

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