|
Atrinik Server 2.5
|
#include <treasure.h>
Data Fields | |
| const char * | name |
| int | t_style |
| int | artifact_chance |
| sint16 | chance_fix |
| sint16 | total_chance |
| struct treasureliststruct * | next |
| struct treasurestruct * | items |
Treasure list structure
Definition at line 166 of file treasure.h.
Artifact chance
Definition at line 177 of file treasure.h.
If set, this will overrule total_chance.
Definition at line 180 of file treasure.h.
Items in this list, linked
Definition at line 192 of file treasure.h.
| const char* treasureliststruct::name |
Usually monster name/combination
Definition at line 169 of file treasure.h.
Next treasure-item in linked list
Definition at line 189 of file treasure.h.
Global style (used from artifacts file).
Definition at line 174 of file treasure.h.
If non zero, only 1 item on this list should be generated.
The total_chance contains the sum of the chance for this list.
Definition at line 186 of file treasure.h.
1.7.4