Crossfire Server, Trunk
artifact Struct Reference

#include <artifact.h>

+ Collaboration diagram for artifact:

Data Fields

std::vector< sstringallowed
uint16_t chance
uint8_t difficulty

Detailed Description

This is one artifact, ie one special item.

Definition at line 14 of file artifact.h.

Field Documentation

◆ allowed

std::vector<sstring> artifact::allowed

◆ chance

uint16_t artifact::chance

◆ difficulty

uint8_t artifact::difficulty

Minimum map difficulty for the artifact to happen.

Definition at line 17 of file artifact.h.

Referenced by ArtifactLoader::load().

◆ item

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