Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
Add new skills
Browse files Browse the repository at this point in the history
  • Loading branch information
MalitsPlus committed Feb 23, 2022
1 parent a3c5ac4 commit 04821fd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public String localizedDetail(int level, Property property) {
if(actionDetail1 == 100 || actionDetail1 == 101 || actionDetail1 == 200 || actionDetail1 == 300 || actionDetail1 == 500 || actionDetail1 == 501
|| actionDetail1 == 502 || actionDetail1 == 503 || actionDetail1 == 504 || actionDetail1 == 511 || actionDetail1 == 512
|| (actionDetail1 >=600 && actionDetail1 < 900) || (actionDetail1 >= 901 && actionDetail1 < 1000)
|| actionDetail1 == 1300 || actionDetail1 == 1400 || (actionDetail1 >= 6000 && actionDetail1 < 7000)) {
|| actionDetail1 == 1300 || actionDetail1 == 1400 || actionDetail1 == 1600 || (actionDetail1 >= 6000 && actionDetail1 < 7000)) {
if(trueClause != null && falseClause != null)
return I18N.getString(R.string.Condition_s, trueClause + falseClause);
else if(trueClause != null)
Expand All @@ -91,6 +91,7 @@ else if(falseClause != null)
}

enum IfType{
unknown(-1),
controllered(100),
hastened(101),
blind(200),
Expand All @@ -104,7 +105,8 @@ enum IfType{
curseOrHex(511),
poisonOrVenom(512),
Break(710),
polymorph(1400);
polymorph(1400),
fear(1600);

private int value;
IfType(int value){
Expand All @@ -119,7 +121,7 @@ public static IfType parse(int value){
if(item.getValue() == value)
return item;
}
return null;
return IfType.unknown;
}

public String description(){
Expand All @@ -138,7 +140,8 @@ public String description(){
case polymorph: return I18N.getString(R.string.polymorphed);
case hex: return I18N.getString(R.string.hexed);
case curseOrHex: return I18N.getString(R.string.cursed_or_hexed);
default: return "";
case fear: return I18N.getString(R.string.feared);
default: return I18N.getString(R.string.unknown);
}
}
}
1 change: 1 addition & 0 deletions app/src/main/res/values-zh/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -688,4 +688,5 @@
<string name="cursed_or_hexed">诅咒或恶咒状态中</string>
<string name="Implement_some_visual_effects_to_s1">对%s付与一些特殊的视觉效果。</string>
<string name="This_damage_type_is_judged_by_the_lower_defence_value_of_targeted_enemy">本伤害的类型会切换为目标的较低数值的防御类型进行计算。</string>
<string name="feared">恐慌状态中</string>
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,7 @@
<string name="Knock_s1_away_s2">%1$sをノックバックする、距離 [%2$s]。</string>
<string name="hexed">呪詛状態中</string>
<string name="cursed_or_hexed">呪い或いは呪詛状態中</string>
<string name="feared">恐慌状態中</string>
<string name="Implement_some_visual_effects_to_s1">%sに特別なビジュアル効果を付与する。</string>
<string name="This_damage_type_is_judged_by_the_lower_defence_value_of_targeted_enemy">このスキルのダメージタイプは目標の低いほうの防御タイプによって決められる。</string>
</resources>

0 comments on commit 04821fd

Please sign in to comment.