Skip to content

Commit

Permalink
Merge pull request #177 from chinosk6/main
Browse files Browse the repository at this point in the history
增加事件簿支持
  • Loading branch information
chinosk6 authored Mar 25, 2024
2 parents 6afaf7b + 245d9e3 commit cd504cc
Show file tree
Hide file tree
Showing 23 changed files with 893 additions and 12 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
cp resources/text_data_info_i18n_zh_tw.json package/localized_data/config_schema/text_data_info_i18n_zh_tw.json
cp resources/text_data_info_i18n_ja.json package/localized_data/config_schema/text_data_info_i18n_ja.json
cp resources/legend_g_plugin.exe package/legend_g_plugin.exe.autoupdate
cp -r resources/eventHelper package/localized_data/eventHelper_examples
- uses: actions/upload-artifact@v2
with:
name: trainers-legend-g
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,4 @@ resources/text_dumper/bin
.cache/
.vscode/
/backend
/utils/events.br
3 changes: 2 additions & 1 deletion resources/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,6 @@
"enableCustomPersistentDataPath": false,
"customPersistentDataPath": ""
},
"uploadGachaHistory": false
"uploadGachaHistory": false,
"enableEventHelper": false
}
5 changes: 5 additions & 0 deletions resources/config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,11 @@
"description": "上传您的抽卡记录\n点击\"抽奖记录\"按钮上传\n您可以前往 uma.gacha.chinosk6.cn 查看抽卡记录",
"type": "boolean",
"default": false
},
"enableEventHelper": {
"description": "启用事件簿",
"type": "boolean",
"default": false
}
},
"additionalProperties": false,
Expand Down
5 changes: 5 additions & 0 deletions resources/config_en.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,11 @@
"description": "Upload your gacha history\nClick on the \"Gacha history\" button to upload\nYou can go to uma.gacha.chinosk6.cn to view the gacha history",
"type": "boolean",
"default": false
},
"enableEventHelper": {
"description": "Enable Events Helper",
"type": "boolean",
"default": false
}
},
"additionalProperties": false,
Expand Down
5 changes: 5 additions & 0 deletions resources/config_ja.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,11 @@
"description": "ガチャの履歴の情報をアップロード\n「Gacha Records」ボタンをクリックでアップロードします。\nガチャの履歴は、uma.gacha.chinosk6.cnから確認ができます。",
"type": "boolean",
"default": false
},
"enableEventHelper": {
"description": "Enable Events Helper",
"type": "boolean",
"default": false
}
},
"additionalProperties": false,
Expand Down
5 changes: 5 additions & 0 deletions resources/config_zh_tw.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,11 @@
"description": "上傳您的抽卡記錄\n點擊「轉蛋記錄」按鈕上傳\n您可以前往 uma.gacha.chinosk6.cn 查看抽卡記錄",
"type": "boolean",
"default": false
},
"enableEventHelper": {
"description": "啟用事件簿",
"type": "boolean",
"default": false
}
},
"additionalProperties": false,
Expand Down
42 changes: 42 additions & 0 deletions resources/eventHelper/events_en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[
{
"Id": 400001017,
"Name": "二人三脚",
"Choices": [
[
{
"Option": "桐生院葵編成有り",
"SuccessEffect": "Wisdom +20、Skill Pt +20、「鋼の意志」 Hint Lv +3",
"FailedEffect": ""
}
],
[
{
"Option": "桐生院葵編成無し",
"SuccessEffect": "Wisdom +20、Skill Pt +20、「鋼の意志」 Hint Lv +1",
"FailedEffect": ""
}
]
]
},
{
"Id": 400001029,
"Name": "ハッピーな靴選び",
"Choices": [
[
{
"Option": "桐生院葵編成有り",
"SuccessEffect": "Power +20",
"FailedEffect": ""
}
],
[
{
"Option": "桐生院葵編成無し",
"SuccessEffect": "Power +10",
"FailedEffect": ""
}
]
]
}
]
42 changes: 42 additions & 0 deletions resources/eventHelper/events_jp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[
{
"Id": 400001017,
"Name": "二人三脚",
"Choices": [
[
{
"Option": "桐生院葵編成有り",
"SuccessEffect": "賢さ +20、スキルPt +20、「鋼の意志」 ヒント +3",
"FailedEffect": ""
}
],
[
{
"Option": "桐生院葵編成無し",
"SuccessEffect": "賢さ +20、スキルPt +20、「鋼の意志」 ヒント +1",
"FailedEffect": ""
}
]
]
},
{
"Id": 400001029,
"Name": "ハッピーな靴選び",
"Choices": [
[
{
"Option": "桐生院葵編成有り",
"SuccessEffect": "パワー +20",
"FailedEffect": ""
}
],
[
{
"Option": "桐生院葵編成無し",
"SuccessEffect": "パワー +10",
"FailedEffect": ""
}
]
]
}
]
42 changes: 42 additions & 0 deletions resources/eventHelper/events_scn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[
{
"Id": 400001017,
"Name": "二人三脚",
"Choices": [
[
{
"Option": "桐生院葵編成有り",
"SuccessEffect": "智力 +20、技能Pt +20、「鋼の意志」 Hint Lv +3",
"FailedEffect": ""
}
],
[
{
"Option": "桐生院葵編成無し",
"SuccessEffect": "智力 +20、技能Pt +20、「鋼の意志」 Hint Lv +1",
"FailedEffect": ""
}
]
]
},
{
"Id": 400001029,
"Name": "ハッピーな靴選び",
"Choices": [
[
{
"Option": "桐生院葵編成有り",
"SuccessEffect": "力量 +20",
"FailedEffect": ""
}
],
[
{
"Option": "桐生院葵編成無し",
"SuccessEffect": "力量 +10",
"FailedEffect": ""
}
]
]
}
]
42 changes: 42 additions & 0 deletions resources/eventHelper/events_tcn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[
{
"Id": 400001017,
"Name": "二人三脚",
"Choices": [
[
{
"Option": "桐生院葵編成有り",
"SuccessEffect": "智力 +20、技能Pt +20、「鋼の意志」 Hint Lv +3",
"FailedEffect": ""
}
],
[
{
"Option": "桐生院葵編成無し",
"SuccessEffect": "智力 +20、技能Pt +20、「鋼の意志」 Hint Lv +1",
"FailedEffect": ""
}
]
]
},
{
"Id": 400001029,
"Name": "ハッピーな靴選び",
"Choices": [
[
{
"Option": "桐生院葵編成有り",
"SuccessEffect": "力量 +20",
"FailedEffect": ""
}
],
[
{
"Option": "桐生院葵編成無し",
"SuccessEffect": "力量 +10",
"FailedEffect": ""
}
]
]
}
]
Binary file modified resources/legend_g_plugin.exe
Binary file not shown.
Loading

0 comments on commit cd504cc

Please sign in to comment.