📖
genshin_panel_doc
  • Introduction
  • Install
  • Character
    • Create a Character
    • Supported Character
    • Character Args
  • Weapon
    • Create a Weapon
    • Supported Weapon
  • Artifact
    • Create Artifact
    • Artifact Set Names
    • Artifact Position(Slot) Names
    • Artifact Tag(Stat) Names
  • Attribute
    • Build Attribute
    • Attribute Properties
  • Other
    • Custom Weapon
    • Custom Artifact Effect Rate
Powered by GitBook
On this page

Was this helpful?

  1. Artifact

Create Artifact

PreviousArtifactNextArtifact Set Names

Last updated 3 years ago

Was this helpful?

Use artifact builder to create an artifact

Examples

const app = require("genshin_panel");

let art1 = new app.ArtifactBuilder()
    .setName("thunderingFury")
    .position("flower")
    .mainTag("lifeStatic", 4780)
    .tag("critical", 0.086)
    .tag("elementalMastery", 21)
    .tag("attackPercentage", 0.099)
    .tag("defendStatic", 39)
    .build()
;

All set names are available

All positions(slots) are available

All tag names(stat names) are available

here
here
here