{"id":19297481,"url":"https://github.com/wormtql/genshin_panel","last_synced_at":"2025-06-27T18:32:31.780Z","repository":{"id":49327437,"uuid":"309680575","full_name":"wormtql/genshin_panel","owner":"wormtql","description":"原神面板计算器, Genshin Impact attribute calculator","archived":false,"fork":false,"pushed_at":"2022-03-30T15:30:09.000Z","size":1431,"stargazers_count":58,"open_issues_count":3,"forks_count":10,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-20T11:10:02.038Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wormtql.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-03T12:32:45.000Z","updated_at":"2025-06-05T06:06:51.000Z","dependencies_parsed_at":"2022-09-26T19:53:31.012Z","dependency_job_id":null,"html_url":"https://github.com/wormtql/genshin_panel","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/wormtql/genshin_panel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wormtql%2Fgenshin_panel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wormtql%2Fgenshin_panel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wormtql%2Fgenshin_panel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wormtql%2Fgenshin_panel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wormtql","download_url":"https://codeload.github.com/wormtql/genshin_panel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wormtql%2Fgenshin_panel/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262310843,"owners_count":23291632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T23:05:04.382Z","updated_at":"2025-06-27T18:32:31.685Z","avatar_url":"https://github.com/wormtql.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 《原神》面板计算器\n\u003c!-- [![Build Status](https://travis-ci.org/wormtql/genshin_panel.svg?branch=main)](https://travis-ci.org/wormtql/genshin_panel) --\u003e\n![npm](https://img.shields.io/npm/v/genshin_panel)  \n\n**This repository is no longer supported**\n\n模拟角色、装备、圣遗物的搭配，得出最终面板。\n\n注：最终面板与实际面板有出入，这是因为游戏中的圣遗物只保留到小数点后一位，实际上这之后的小数位数并不是零。  \n最终结果仅有非常小的差别，可以忽略不计\n\n## Install\n```bash\nnpm install genshin_panel\n```\n\n## Documentation\n[https://wormtql.gitbook.io/genshin-panel-doc/](https://wormtql.gitbook.io/genshin-panel-doc/)\n\n\n## Build Character and Weapon\n```js\nconst genshin = require(\"genshin_panel\");\n\n// 刻晴，80级，已突破，0命之座\nlet keqing = new genshin.Character(\"keqing\", 80, true, 0);\n// use Chinese or English\nlet keqing = new genshin.Character(\"刻晴\", 80, true, 0);\n\n// 黑剑，90级，未突破，精炼2（初始为精炼1）\nlet heijian = new genshin.Weapon(\"heijian\", 90, false, 2);\n// same\nlet heijian = new genshin.Weapon(\"theblacksword\", 90, false, 2);\n```\n\n\n## Build artifacts\nuse ArtifactBuilder to build artifacts\n```js\nconst genshin = require(\"genshin_panel\");\n\nlet art1 = new genshin.ArtifactBuilder()\n    .setName(\"thunderingFury\")      // 如雷的盛怒\n    .position(\"flower\")             // 生之花\n    .mainTag(\"lifeStatic\", 4780)\n    .tag(\"critical\", 0.086)\n    .tag(\"elementalMastery\", 21)\n    .tag(\"attackPercentage\", 0.099)\n    .tag(\"defendStatic\", 39)\n    .build()\n;\n```\n\n\n## Build Panel\n```js\nconst genshin = require(\"genshin_panel\");\n\nlet attribute = new genshin.AttributeBuilder()\n    .character(keqing)\n    .weapon(weapon)\n    .artifact(art1)\n    .artifact(art2)\n    .artifact(art3)\n    .artifact(art4)\n    .artifact(art5)\n    .build()\n;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwormtql%2Fgenshin_panel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwormtql%2Fgenshin_panel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwormtql%2Fgenshin_panel/lists"}