| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | protected function generateCharacter(int $id): Character { |
||
| 22 | $stats = [ |
||
| 23 | "id" => $id, "name" => "Player $id", "level" => 1, "initiativeFormula" => "1d2+DEX/4", "strength" => 10, |
||
| 24 | "dexterity" => 10, "constitution" => 10, "intelligence" => 10, "charisma" => 10 |
||
| 25 | ]; |
||
| 26 | return new Character($stats); |
||
| 27 | } |
||
| 47 | ?> |