From 4e566634b478efb9f9afdea7daf9b6befee7a4d6 Mon Sep 17 00:00:00 2001 From: openlegends Date: Sat, 16 Mar 2024 12:49:16 +0200 Subject: [PATCH] add rarity setters --- src/Test/Card/Goblin.php | 4 ++++ src/Test/Card/Mouse.php | 4 ++++ src/Test/Card/Rat.php | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/src/Test/Card/Goblin.php b/src/Test/Card/Goblin.php index 21f0efb..32edcf3 100644 --- a/src/Test/Card/Goblin.php +++ b/src/Test/Card/Goblin.php @@ -16,6 +16,10 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card new \OpenLegends\Asset\Test\Type\Goblin() ); + $this->setRarity( + new \OpenLegends\Asset\Test\Rarity\Common() + ); + $this->setTitle( _('Goblin') ); diff --git a/src/Test/Card/Mouse.php b/src/Test/Card/Mouse.php index baf5746..e592afc 100644 --- a/src/Test/Card/Mouse.php +++ b/src/Test/Card/Mouse.php @@ -16,6 +16,10 @@ class Mouse extends \OpenLegends\Engine\Abstract\Card new \OpenLegends\Asset\Test\Type\Animal() ); + $this->setRarity( + new \OpenLegends\Asset\Test\Rarity\Common() + ); + $this->setTitle( _('Mouse') ); diff --git a/src/Test/Card/Rat.php b/src/Test/Card/Rat.php index 40c4a71..c51e2bf 100644 --- a/src/Test/Card/Rat.php +++ b/src/Test/Card/Rat.php @@ -16,6 +16,10 @@ class Rat extends \OpenLegends\Engine\Abstract\Card new \OpenLegends\Asset\Test\Type\Animal() ); + $this->setRarity( + new \OpenLegends\Asset\Test\Rarity\Common() + ); + $this->setTitle( _('Rat') );