|
@@ -201,10 +201,10 @@ |
|
|
block discarded – undo |
|
201
|
201
|
} |
|
202
|
202
|
|
|
203
|
203
|
protected function setStats(array $stats): void { |
|
204
|
|
- $requiredStats = array_merge(["id", "name", "level", "initiativeFormula",], static::BASE_STATS); |
|
205
|
|
- $allStats = array_merge($requiredStats, ["occupation", "race", "specialization", "gender",]); |
|
|
204
|
+ $requiredStats = array_merge(["id", "name", "level", "initiativeFormula", ], static::BASE_STATS); |
|
|
205
|
+ $allStats = array_merge($requiredStats, ["occupation", "race", "specialization", "gender", ]); |
|
206
|
206
|
$numberStats = static::BASE_STATS; |
|
207
|
|
- $textStats = ["name", "race", "occupation", "specialization", "initiativeFormula",]; |
|
|
207
|
+ $textStats = ["name", "race", "occupation", "specialization", "initiativeFormula", ]; |
|
208
|
208
|
$resolver = new OptionsResolver(); |
|
209
|
209
|
$resolver->setDefined($allStats); |
|
210
|
210
|
$resolver->setAllowedTypes("id", ["integer", "string"]); |
Please login to merge, or discard this patch.