@@ -52,7 +52,7 @@ |
||
52 | 52 | } |
53 | 53 | |
54 | 54 | protected function configureOptions(OptionsResolver $resolver): void { |
55 | - $allStats = ["id", "name", "slot", "type", "strength", "worn",]; |
|
55 | + $allStats = ["id", "name", "slot", "type", "strength", "worn", ]; |
|
56 | 56 | $resolver->setRequired($allStats); |
57 | 57 | $resolver->setAllowedTypes("id", "integer"); |
58 | 58 | $resolver->setAllowedTypes("name", "string"); |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | $this->onCombatEnd[] = [$this, "logCombatResult"]; |
83 | 83 | $this->onCombatEnd[] = [$this, "resetInitiative"]; |
84 | 84 | $this->onRoundStart[] = [$this, "decreaseEffectsDuration"]; |
85 | - $this->onRoundStart[] = [$this ,"recalculateStats"]; |
|
85 | + $this->onRoundStart[] = [$this, "recalculateStats"]; |
|
86 | 86 | $this->onRoundStart[] = [$this, "logRoundNumber"]; |
87 | 87 | $this->onRoundStart[] = [$this, "applyPoison"]; |
88 | 88 | $this->onRound[] = [$this, "mainStage"]; |
@@ -363,7 +363,7 @@ discard block |
||
363 | 363 | return null; |
364 | 364 | } |
365 | 365 | /** @var Team $enemies */ |
366 | - $enemies = Team::fromArray($enemyTeam->getItems(["positionRow" => $rowToAttack, "hitpoints>" => 0,]), $enemyTeam->name); |
|
366 | + $enemies = Team::fromArray($enemyTeam->getItems(["positionRow" => $rowToAttack, "hitpoints>" => 0, ]), $enemyTeam->name); |
|
367 | 367 | } else { |
368 | 368 | $enemies = $enemyTeam; |
369 | 369 | } |