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