|
@@ -190,10 +190,10 @@ |
|
|
block discarded – undo |
|
190
|
190
|
} |
|
191
|
191
|
|
|
192
|
192
|
protected function setStats(array $stats): void { |
|
193
|
|
- $requiredStats = array_merge(["id", "name", "level", "initiativeFormula",], static::BASE_STATS); |
|
194
|
|
- $allStats = array_merge($requiredStats, ["occupation", "race", "specialization", "gender", "experience",]); |
|
|
193
|
+ $requiredStats = array_merge(["id", "name", "level", "initiativeFormula", ], static::BASE_STATS); |
|
|
194
|
+ $allStats = array_merge($requiredStats, ["occupation", "race", "specialization", "gender", "experience", ]); |
|
195
|
195
|
$numberStats = static::BASE_STATS; |
|
196
|
|
- $textStats = ["name", "race", "occupation", "initiativeFormula",]; |
|
|
196
|
+ $textStats = ["name", "race", "occupation", "initiativeFormula", ]; |
|
197
|
197
|
$resolver = new OptionsResolver(); |
|
198
|
198
|
$resolver->setDefined($allStats); |
|
199
|
199
|
$resolver->setAllowedTypes("id", ["integer", "string"]); |
Please login to merge, or discard this patch.