DungeonCrawl
Loading...
Searching...
No Matches
ability_init_t Struct Reference

To get the ability table from the database, we need to define a struct This struct is for the initialization of the ability table The values of the struct corresponds to the init_ability() method in. More...

#include <ability_database.h>

Data Fields

int ability_number
char * name
int roll_amount
int accuracy
int resource_cost
dice_size_t dice_size
damage_type_t damage_type

Detailed Description

To get the ability table from the database, we need to define a struct This struct is for the initialization of the ability table The values of the struct corresponds to the init_ability() method in.

See also
{ability.h} &
{ability.c}

Definition at line 16 of file ability_database.h.

Field Documentation

◆ ability_number

int ability_init_t::ability_number

Definition at line 17 of file ability_database.h.

◆ accuracy

int ability_init_t::accuracy

Definition at line 20 of file ability_database.h.

◆ damage_type

damage_type_t ability_init_t::damage_type

Definition at line 23 of file ability_database.h.

◆ dice_size

dice_size_t ability_init_t::dice_size

Definition at line 22 of file ability_database.h.

◆ name

char* ability_init_t::name

Definition at line 18 of file ability_database.h.

◆ resource_cost

int ability_init_t::resource_cost

Definition at line 21 of file ability_database.h.

◆ roll_amount

int ability_init_t::roll_amount

Definition at line 19 of file ability_database.h.


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