Skip to content

Commit

Permalink
本地化
Browse files Browse the repository at this point in the history
  • Loading branch information
KLjiana committed Jul 26, 2024
1 parent 500808d commit 07c014a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ public class AttackConfig {
.define("Attack Again Probability", 15.0);
DAMAGE = builder
.comment("The damage percentage of a subsequent attack, default: 0.35")
.define("Damage Percentage", 0.35);
.define("Attack Again Percentage", 0.35);
FREQUENCY = builder
.comment("The frequency of subsequent attacks, default: 1.0")
.define("Damage Frequency", 1.0);
.define("Attack Again Frequency", 1.0);
builder.pop();
CONFIG = builder.build();
}
Expand Down
5 changes: 5 additions & 0 deletions src/main/resources/assets/attack_again/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"attribute.name.attack_again.attack_probability": "Attack Again Probability",
"attribute.name.attack_again.attack_damage": "Attack Again Percentage",
"attribute.name.attack_again.attack_frequency": "Attack Again Frequency"
}
5 changes: 5 additions & 0 deletions src/main/resources/assets/attack_again/lang/zh_cn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"attribute.name.attack_again.attack_probability": "追击概率",
"attribute.name.attack_again.attack_damage": "追击伤害",
"attribute.name.attack_again.attack_frequency": "追击次数"
}

0 comments on commit 07c014a

Please sign in to comment.