ARTIFACTS¶
artifact.enabled¶
- This condition checks if a specific artifact trait is enabled for a given spell.
Parameters¶
spell: The spell for which to check if the artifact trait is enabled.
Returns BOOL¶
trueif the artifact trait is enabled for the spell,falseotherwise.
Example:¶
artifact.acquired_power¶
- This condition returns the amount of acquired artifact power for a specific artifact by its ID.
Parameters¶
artifactID: The ID of the artifact for which to retrieve the acquired artifact power.
Returns NUMBER¶
- The amount of acquired artifact power for the specified artifact.
Example:¶
artifact.active_id¶
- This condition returns the ID of the currently active artifact.
Returns NUMBER¶
- The ID of the currently active artifact.
Example:¶
artifact.knowledge¶
- This condition returns the amount of artifact knowledge the player has.
Returns NUMBER¶
- The amount of artifact knowledge.
Example:¶
artifact.power¶
- This condition returns the artifact power of a specific artifact.
Parameters¶
artifactID: The ID of the artifact.
Returns NUMBER¶
- The artifact power of the specified artifact.
Example:¶
artifact.relics¶
- This condition returns the relics of a specific artifact.
Parameters¶
artifactID: The ID of the artifact.
Returns TABLE¶
- The relics associated with the specified artifact.
Example:¶
artifact.num_obtained¶
- This condition returns the number of obtained artifacts.
Returns NUMBER¶
- The number of artifacts obtained by the player.