@@ -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 | } |