Skip to content

Commit

Permalink
Merge branch 'sub_ex_skill' into Momoi
Browse files Browse the repository at this point in the history
  • Loading branch information
Gakuto1112 committed Oct 26, 2024
2 parents 20413ae + b796f95 commit 4edb773
Show file tree
Hide file tree
Showing 6 changed files with 90 additions and 47 deletions.
9 changes: 7 additions & 2 deletions .github/README_templates/en.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,15 @@ Target figura version: [0.1.4](https://modrinth.com/mod/figura/version/0.1.4+1.2
![Birth day](../README_images/birth_day.svg)

## Ex Skill
The familiar Ex skill cut-in from the original game is imitated. To play Ex skill cut-in, press the Ex skill key (default is "V" key) while in the **third-person perspective**.
The familiar Ex skill cut-in from the original game is imitated. To play Ex skill cut-in, press the Ex skill key (default is "G" key) while in the **third-person perspective**.

> [!IMPORTANT]
> From v1.9.4, the Ex skill action play key has been changed from the "V" key to the "G" key.
![Ex skill](../README_images/ex_skill.jpg)

Some characters have the secondary Ex skill. It can be played by pressing the "H" key.

Ex skill cut-ins are only visual and have no effect. However, some Ex skills leave objects in place after the cut-in (also only visual).

> [!NOTE]
Expand All @@ -82,7 +87,7 @@ Ex skill cut-ins are only visual and have no effect. However, some Ex skills lea
Figura provides the action wheel with which players can play some actions (emotes, animations, configs, and etc.). It will be shown when holding the action wheel key (default is B key). This avatar also has some actions.

> [!IMPORTANT]
> The Ex skill action has been changed to play on key press.
> From v1.8.4, the Ex skill action has been changed to play on key press.
![Action wheel](../README_images/action_wheel.jpg)

Expand Down
9 changes: 7 additions & 2 deletions .github/README_templates/jp.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,15 @@
![誕生日](../README_images/birth_day.svg)

## Exスキル
本家でお馴染みのExスキルのカットインが再現されています。Exスキルを再生するには、**三人称視点で**Exスキルのキー(デフォルトは「V」キー)を押してください。
本家でお馴染みのExスキルのカットインが再現されています。Exスキルを再生するには、**三人称視点で**Exスキルのキー(デフォルトは「G」キー)を押してください。

> [!IMPORTANT]
> v1.9.4より、Exスキルのアクションの再生キーが「V」キーから「G」キーに変更されました。
![Exスキル](../README_images/ex_skill.jpg)

一部の生徒さんは、Exスキルを2つ持っています。2つ目のExスキルは「H」キーで再生できます。

Exスキルのカットインは見た目だけであり、効果は特にありません。ただし、Exスキルによってはカットインの後にオブジェクトをその場に残すものもあります(こちらも見た目だけです)。

> [!NOTE]
Expand All @@ -82,7 +87,7 @@ Exスキルのカットインは見た目だけであり、効果は特にあり
Figuraには、アクションホイールキー(デフォルトは「B」キー)を押すことで、エモートなどを実行できるリングメニューが実装されています。このレポジトリのアバターには共通したアクションが用意されています。

> [!IMPORTANT]
> Exスキルのアクションはキー押下で再生されるように変更されました。
> v1.8.4より、Exスキルのアクションはキー押下で再生されるように変更されました。
![アクションホイール](../README_images/action_wheel.jpg)

Expand Down
2 changes: 1 addition & 1 deletion scripts/action_wheel/action_wheel_gui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ ActionWheelGui = {
bubbleKeyNames[3]:setText("§0"..keybindTable[Language:getTranslate("key_name__bubble_3")]:getKeyName())
bubbleKeyNames[4]:setText("§0"..keybindTable[Language:getTranslate("key_name__bubble_4")]:getKeyName())
bubbleKeyNames[5]:setText("§0"..keybindTable[Language:getTranslate("key_name__bubble_5")]:getKeyName())
exSkillGuideBody:setText("§0§l\""..Language:getTranslate("action_wheel_gui__ex_skill_guide__ex_skill_"..BlueArchiveCharacter.COSTUME.costumes[Costume.CurrentCostume].exSkill.."__name").."\"§r\n§0"..Language:getTranslate("action_wheel_gui__ex_skill_guide__key_pre")..keybindTable[Language:getTranslate("key_name__ex_skill")]:getKeyName()..Language:getTranslate("action_wheel_gui__ex_skill_guide__key_post"))
exSkillGuideBody:setText(BlueArchiveCharacter.COSTUME.costumes[Costume.CurrentCostume].subExSkill == nil and "§0§l\""..Language:getTranslate("action_wheel_gui__ex_skill_guide__ex_skill_"..BlueArchiveCharacter.COSTUME.costumes[Costume.CurrentCostume].exSkill.."__name").."\"§r\n§0"..Language:getTranslate("action_wheel_gui__ex_skill_guide__key_pre")..keybindTable[Language:getTranslate("key_name__ex_skill")]:getKeyName()..Language:getTranslate("action_wheel_gui__ex_skill_guide__key_post") or "§0§l\""..Language:getTranslate("action_wheel_gui__ex_skill_guide__ex_skill_"..BlueArchiveCharacter.COSTUME.costumes[Costume.CurrentCostume].exSkill.."__name").."\"§r§0 - \""..keybindTable[Language:getTranslate("key_name__ex_skill")]:getKeyName().."\"\n§l\""..Language:getTranslate("action_wheel_gui__ex_skill_guide__ex_skill_"..BlueArchiveCharacter.COSTUME.costumes[Costume.CurrentCostume].subExSkill.."__name").."\"§r§0 - \""..keybindTable[Language:getTranslate("key_name__ex_skill_sub")]:getKeyName().."\"")
end
local windowSize = client:getScaledWindowSize()
models.models.action_wheel_gui.Gui.BubbleGuide:setPos(windowSize.x * -0.5 + 44, windowSize.y * -0.5 + 5, 0)
Expand Down
6 changes: 5 additions & 1 deletion scripts/blue_archive_character.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,11 @@ BlueArchiveCharacter = {
---コスチュームに対応するExスキルのインデックス番号
---@type integer
exSkill = 1
exSkill = 1,
---コスチュームに対応するサブExスキルのインデックス番号(任意)
---@type integer
subExSkill = 1
}
]]

Expand Down
Loading

0 comments on commit 4edb773

Please sign in to comment.