diff --git a/assets/characters/ruadhri.pdf b/assets/characters/ruadhri.pdf new file mode 100644 index 0000000..394e496 Binary files /dev/null and b/assets/characters/ruadhri.pdf differ diff --git a/src/Command/SeedCharactersCommand.php b/src/Command/SeedCharactersCommand.php index 9907501..f40e37d 100644 --- a/src/Command/SeedCharactersCommand.php +++ b/src/Command/SeedCharactersCommand.php @@ -254,6 +254,29 @@ class SeedCharactersCommand extends Command 'flaws' => 'A disastrous mistake I made in battle cost many lives - I will do anything to keep that mistake a secret.', 'treasure' => '25 gp', ], + [ + // His sheet is still sparse; this is everything it has so far. AC 16 + // reads the sheet's "14+2" as scale mail + shield; no shield is listed yet. + 'name' => 'Ruadhri', 'playerName' => 'Adriaan', + 'race' => 'Halfling, stout', 'characterClass' => 'Cleric', 'level' => 2, + 'background' => 'Hermit', + 'armorClass' => 16, 'initiative' => 0, 'speed' => '25 ft.', + 'hitPointMaximum' => 19, 'hitDice' => '2d8', + 'proficiencyBonus' => 2, + 'strength' => 10, 'dexterity' => 10, 'constitution' => 15, + 'intelligence' => 15, 'wisdom' => 15, 'charisma' => 8, + 'savingThrowProficiencies' => ['Wisdom', 'Charisma'], + 'skillProficiencies' => ['Insight', 'Medicine', 'Nature', 'Persuasion', 'Religion'], + 'attacks' => [ + ['name' => 'Mace', 'bonus' => '+2', 'damage' => '1d6 bludgeoning', 'range' => 'Melee'], + ['name' => 'Quarterstaff', 'bonus' => '+2', 'damage' => '1d6/1d8 bludgeoning', 'range' => 'Melee, versatile'], + ['name' => 'Spell attack', 'bonus' => '+4', 'damage' => 'Save DC 12', 'range' => ''], + ], + 'otherProficienciesLanguages' => "Languages: Common, Halfling, Sylvan\n\nTools: Herbalism kit", + 'equipment' => "Scale mail\nScroll case\nWinter blanket\nCommon clothes\nHerbalism kit\nExplorer's pack", + 'spellcasting' => "Spellcasting ability: Wisdom (spell save DC 12, spell attack bonus +4)\n\nCantrips: Guidance, Thaumaturgy, Light, Shillelagh", + 'treasure' => "17 gp\nHerbs worth 60 gp\n2 recipes", + ], ]; } } diff --git a/tests/Character/SeedCharactersCatalogTest.php b/tests/Character/SeedCharactersCatalogTest.php index c566470..993fbcb 100644 --- a/tests/Character/SeedCharactersCatalogTest.php +++ b/tests/Character/SeedCharactersCatalogTest.php @@ -24,7 +24,7 @@ class SeedCharactersCatalogTest extends KernelTestCase $hydrate = new \ReflectionMethod($command, 'hydrate'); $names = array_column($sheets, 'name'); - self::assertSame(['Darragh Fermwyr', 'Owayn Fermwyr', 'Dunnchadh', 'Aoife Fermwyr'], $names); + self::assertSame(['Darragh Fermwyr', 'Owayn Fermwyr', 'Dunnchadh', 'Aoife Fermwyr', 'Ruadhri'], $names); foreach ($sheets as $row) { /** @var Character $c */