Create Artifact

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 here

All positions(slots) are available here

All tag names(stat names) are available here

Last updated