Go to the documentation of this file.
20 :
AssetTWrapper(parent,
"Artifact", art), myResourcesManager(resourcesManager), mySpecificItem(nullptr)
29 name = tr(
"%1 (%2%, %3 chances on %4)")
31 .arg(qRound(100. *
n /
d))
36 if (
list &&
list->total_chance != 0) {
37 name = tr(
"%1 (%2%, %3 chances on %4)")
41 .arg(
list->total_chance);
83 auto face =
dynamic_cast<const FaceWrapper *
>(asset);
virtual QIcon displayIcon() const override
based on the size of the this randomly makes land number of spaces randomly lower or higher The default is Note that this is run also based on the the altitude amount will likely be less So if you do something like l and n
void markModified(ChangeType change, int extra=0)
std::vector< sstring > allowed
ArchetypeWrapper * wrap(archetype *arch, AssetWrapper *parent)
virtual QString displayName() const override
const Animations * animation
How to Install a Crossfire Server on you must install a python script engine on your computer Python is the default script engine of Crossfire You can find the python engine you have only to install them The VisualC Crossfire settings are for d
void artifact_compute_chance_for_item(const object *op, const artifact *art, int *numerator, int *denominator)
ArtifactWrapper(AssetWrapper *parent, artifact *art, ResourcesManager *resourcesManager)
ResourcesManager * myResourcesManager
uint16_t artifact_get_face(const artifact *art)
Magical Runes Runes are magical inscriptions on the dungeon which cast a spell or detonate when something steps on them Flying objects don t detonate runes Beware ! Runes are invisible most of the time They are only visible occasionally ! There are several runes which are there are some special runes which may only be called with the invoke and people may apply it to read it Maybe useful for mazes ! This rune will not nor is it ordinarily invisible Partial Visibility of they ll be visible only part of the time They have a(your level/2) chance of being visible in any given round
const object * mySpecificItem
void setChance(int chance)
static QIcon getIcon(uint16_t faceNumber)
artifactlist * find_artifactlist(int type)
virtual PossibleUse uses(const AssetWrapper *asset, std::string &) const override