From d2862a676bd21be4247a9d2277b6be01570ae163 Mon Sep 17 00:00:00 2001 From: hypergraphUniverse <44737387+hypergraphUniverse@users.noreply.github.com> Date: Mon, 4 Apr 2022 09:29:31 +0200 Subject: [PATCH] pause for the project Due to the unclear planning for the structure and function, this project is being stopped. --- LookUpTable.jl | 25 +++++++++++++++++++++++++ Main.jl | 8 +++++++- README.md | 4 ++++ data/notice.md | 10 ++++++++++ src/notice.md | 9 +++++++++ 5 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 data/notice.md create mode 100644 src/notice.md diff --git a/LookUpTable.jl b/LookUpTable.jl index bb094de..5b9b877 100644 --- a/LookUpTable.jl +++ b/LookUpTable.jl @@ -18,6 +18,8 @@ substatProject=Dict( "critical_hurt"=>10, ) +substatProjectRev= + # Please add your output mainstat Sequence that you wish mainstatProject=Dict( "hp"=>1, @@ -40,6 +42,29 @@ mainstatProject=Dict( "physical_add_hurt"=>18, ) +mainstatProjectRev= + +# Right side is your variable name for those stats. Also used in comment. +statName=Dict( + "hp"=>"HP", + "hp_percent"=>"HP%", + "attack"=>"ATK", + "attack_percent"=>"ATK%", + "defence"=>"DEF", + "defence_percent"=>"DEF%", + "charge_efficiency"=>"ELEMENT_CHARGE", + "element_mastery"=>"ELEMENT_MASTERY", + "critical"=>"CRIT_RATE", + "critical_hurt"=>"CRIT_DMG", + "heal_add"=>10, + "fire_add_hurt"=>12, + "elec_add_hurt"=>13, + "water_add_hurt"=>14, + "wind_add_hurt"=>15, + "rock_add_hurt"=>16, + "ice_add_hurt"=>17, + "physical_add_hurt"=>18, +) #==============end of user configured section===============# diff --git a/Main.jl b/Main.jl index ba6b9ca..78cc54c 100644 --- a/Main.jl +++ b/Main.jl @@ -27,9 +27,15 @@ using .JSONPhraser # Your Version Number YourVersion= "0.1" -# C(suitable for C and C++),Julia +# Target code style +# Option: C(suitable for C and C++),Julia codeStyle = "Julia" +# Target data Type +# Option: f32(suggested), f64 +dataType = "f32" + + #=======================User configured Section==========================# M1=ReliAffixECDConverter(); diff --git a/README.md b/README.md index 7e3c4a4..02412fb 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ +Warning, this Repo is currently not in maintainance due to the unclear planning for the function, contact the author if you have a plan for this project! + +警告,这一项目目前没有在维护,因为涉及到此项目的功能规划非常混乱。如果说你对这个项目的功能有兴趣且能够对项目的规划做出一些建议,请联系作者。 +--- # GenshinDataConverter Convert GenshinData's JSON into other codestyle. \ 将GenshinData的JSON数据转换成其他代码的工具。 diff --git a/data/notice.md b/data/notice.md new file mode 100644 index 0000000..8453935 --- /dev/null +++ b/data/notice.md @@ -0,0 +1,10 @@ +# Notice +## for Folder Data + +Here is where you put original JSON files in + +Please use the deobfuscated version of JSON files form Dimbreath/GenshinData! + +Supported: +- ReliquaryAffixExcelConfigData.json (artifacts substat Data) +- ReliquaryLevelExcelConfigData.json (artifacts mainstat Data) diff --git a/src/notice.md b/src/notice.md new file mode 100644 index 0000000..8204826 --- /dev/null +++ b/src/notice.md @@ -0,0 +1,9 @@ +# Notice +## for Folder src + +The files in src are not the scource code of the project, instead, it is the independent formatter for different languages. + +You can use the scripts in the folder in your project. It has no connection with the Converter. + +Author for different scripts: +gi_api.py: moon-xu37 \ No newline at end of file