1 Star 0 Fork 0

Kurarion / Genshin-Calc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT


Inteyvat

English | 简体中文 | 繁體中文 | 日本語

Application Feature

  • Support all characters, weapons of more than 3 stars, 5 stars and level 20 artifact calculations

  • Support Enka.API (a public third-party game display panel character data query API) to import the game display panel character data (the panel character information needs to be pubic in the game)

  • Real-time data calculation and local automatic data save

  • Full skill damage (including reaction) broken line of damage value increase under each refining change of weapon and artifact property promotion

  • Team Buff that calculated based on the actual data of auxiliary characters (data of auxiliary characters need to be initialized or imported firstly)

  • Rich custom Buff

  • artifact growth label

  • The optimization calculation of the artifact property (specific skill information with the limition of maximum critical rate):

  1. The specific damage can be optimized under the limited number of step by closing the proportion of actual artifact property to the optimal calculation result

(Note: because the actual number of entries of each artifact is not necessarily completely realistic, it is only for reference in the main direction of ascension)

  1. When want to know the strength of a character (specific weapon, specific Buff, specific teammate, etc.), if there is no specific information of artifact or the selection of artifact, you can use this to quickly estimate the relative strength of each character under the same number of step under the condition that only the main property of artifact is limited

(Note: At present, this project only provides the damage value of each skill, excluding the DPS calculation. The manipulation and operation axis need to be calculated by other ways)

  • This project is a PWA, which can be installed locally and used offline (Note: local installation also require net for Enka.API and image resources)

Try It

Use Case

  • Sorry, there are only examples in Chinese at present.


Description

■ Characters

  • All talent Buffs are off by default

  • All constellation Buffs are off by default

■ Weapons

  • All effect Buffs are off by default

  • Only weapons of 3 stars and above

■ Artifact

  • The artifact Buffs are off by default

  • Only support level 20 5-star artifact

■ Automatic calculation of artifact

  • The definition of a step is the maximum value of each increase (for example, the critical rate is 3.9%), which can be specified to one decimal place (for example, 0.1 step corresponds to the critical rate of 0.39%, 2.7% corresponds to 0.7 step)

  • If the calculation target is the normal attack damage after enchantment, please check whether the enchantment in the normal attack is in the corresponding enchantment state before calculation

  • This calculation is under the current context, that is, when any attribute or Buff related to the target calculation other than the number of step in this function area changed, it needs to be recalculated (such as the switch of weapon refining or related Buff)

  • In order to reduce the resource cost of automatic calculation, the value property steps are not included in the calculation scope (small attack value, small HP value, small defense value)

■ Artifact labels (growth/rarity)

  • The growth/rarity tag value can't evaluate the quality of a artifact very well, but simply evaluate the rarity of a artifact (that is, the value range of the initial value and each increase after+4)

  • Growth is non-linear, involving the difference between the growth value and growth times each increase, rather than the linear value of the final step value. The larger the growth value and the more growth times, the higher the growth tag value, which means the closer to the King of XX (for example, the King of Defense with a 35.7% defense or more)

  • The rarity is the sum of all growth, which means the difficulty of obtaining the artifact (the higher the value, the rarer it is). At the same time, please note that it does not mean that the artifact are effective rare, but I think you should not use a artifact with a rarity of more than 100% as dog food at any time ٩ ( ˊ ᗜ ˋ*)و

Other

■ Auto save

  • All user data use the browser's LocalStorage, and can be reset through"Data Clear" in the [...] menu in the lower right corner

Running Locally

This project is a noBackend web application developed with Angular, which can be built locally only by this project. The steps are as follows

■ Requirements

  • Node. js (v16.15.0 is recommended)

  • Golang (above 1.16.3 is recommended)

■ Download

git clone https://github.com/Kurarion/Genshin-Calc.git
cd Genshin-Calc
npm install

■ Game data initialize

The following code cannot be used currently because Dimbreath's GenshinData repository was sanctioned

npm run generateGenshinData

Maybe you should use the data of other Genshin Impact data Raw Url or local file

  • Raw Url, a repository of Genshin Impact Data, such as Grasscutter Resources
go run GenshinData -resUrl=https://gitlab.com/????/GC-Resources/-/raw/3.?/Resources/
  • Use local file
go run GenshinData -localResPath=./GenshinData

After the game version is updated or when the test and custom data need to be used, the Game data initialize needs to be executed again to generate the latest data for the project, and the configuration of the updated content needs to be added to src/assets/init/data.json

Interface reference: src/app/shared/interface/interfaces.ts

Constant reference: src/app/shared/const/const.ts

■ Test

//use angular-cli
npm run start

■ Build

//use http-server after building
npm run build
npm run serve

Thanks

MIT License Copyright (c) 2022 Sirokuma Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Inteyvat | 因提瓦特 | インテイワット - Genshin Impact Calculation Web App | 原神数值计算Web应用 | 原神数値計算Webアプリ 展开 收起
TypeScript 等 5 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
TypeScript
1
https://gitee.com/Kurarion/Genshin-Calc.git
git@gitee.com:Kurarion/Genshin-Calc.git
Kurarion
Genshin-Calc
Genshin-Calc
main

搜索帮助

53164aa7 5694891 3bd8fe86 5694891