Skip to content

Commit e26b30d

Browse files
authored
Merge pull request #443 from fmasa/fast-trait
Add support for Fast trait
2 parents 3e02d20 + cf8584d commit e26b30d

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

common/src/commonMain/kotlin/cz/frantisekmasa/wfrp_master/common/character/effects/CharacteristicChange.kt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,31 +94,31 @@ open class CharacteristicChange(
9494
)
9595
}
9696

97-
if (name.equals(translator.translate(Str.character_effect_leader), ignoreCase = true)) {
97+
if (name.equals(translator.translate(Str.character_effect_fast), ignoreCase = true)) {
9898
return CharacteristicChange(
9999
plus =
100100
Stats.ZERO.copy(
101-
fellowship = 10,
102-
willPower = 10,
101+
agility = 10,
103102
),
104103
)
105104
}
106105

107-
if (name.equals(translator.translate(Str.character_effect_tough), ignoreCase = true)) {
106+
if (name.equals(translator.translate(Str.character_effect_leader), ignoreCase = true)) {
108107
return CharacteristicChange(
109108
plus =
110109
Stats.ZERO.copy(
111-
toughness = 10,
110+
fellowship = 10,
112111
willPower = 10,
113112
),
114113
)
115114
}
116115

117-
if (name.equals(translator.translate(Str.character_effect_brute), ignoreCase = true)) {
116+
if (name.equals(translator.translate(Str.character_effect_tough), ignoreCase = true)) {
118117
return CharacteristicChange(
119118
plus =
120119
Stats.ZERO.copy(
121-
weaponSkill = 10,
120+
toughness = 10,
121+
willPower = 10,
122122
),
123123
)
124124
}

common/src/commonMain/moko-resources/base/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@
119119
<string name="character_effect_coolheaded">coolheaded</string>
120120
<string name="character_effect_cunning">cunning</string>
121121
<string name="character_effect_elite">elite</string>
122+
<string name="character_effect_fast">fast</string>
122123
<string name="character_effect_hardy">hardy</string>
123124
<string name="character_effect_leader">leader</string>
124125
<string name="character_effect_lightning_reflexes">lightning reflexes</string>

0 commit comments

Comments
 (0)