| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | private function generateCharacter(int $id): Character |
||
| 17 | { |
||
| 18 | $stats = [ |
||
| 19 | "id" => $id, "name" => "Player $id", "level" => 1, "initiativeFormula" => "1d4+DEX/4", "strength" => 10, |
||
| 20 | "dexterity" => 12, "constitution" => 10, "intelligence" => 10, "charisma" => 10 |
||
| 21 | ]; |
||
| 22 | return new Character($stats); |
||
| 23 | } |
||
| 39 |