From 1a0562d9eb6644db09cd81baa991937ca61c6fba Mon Sep 17 00:00:00 2001 From: openlegends Date: Sat, 16 Mar 2024 13:29:36 +0200 Subject: [PATCH] move guard to abilities --- src/Test/Ability/Guard.php | 8 ++++++++ src/Test/Card/Goblin.php | 8 ++++---- src/Test/Card/Mouse.php | 4 ---- src/Test/Card/Rat.php | 4 ---- 4 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 src/Test/Ability/Guard.php diff --git a/src/Test/Ability/Guard.php b/src/Test/Ability/Guard.php new file mode 100644 index 0000000..ed32f8c --- /dev/null +++ b/src/Test/Ability/Guard.php @@ -0,0 +1,8 @@ +addAbility( + new \OpenLegends\Asset\Test\Ability\Guard() + ); + $this->addAttribute( new \OpenLegends\Asset\Test\Attribute\Neutral() ); @@ -52,10 +56,6 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card 3 ); - $this->setGuard( - true - ); - $this->setSilent( false ); diff --git a/src/Test/Card/Mouse.php b/src/Test/Card/Mouse.php index e592afc..17170f0 100644 --- a/src/Test/Card/Mouse.php +++ b/src/Test/Card/Mouse.php @@ -48,10 +48,6 @@ class Mouse extends \OpenLegends\Engine\Abstract\Card 1 ); - $this->setGuard( - false - ); - $this->setSilent( false ); diff --git a/src/Test/Card/Rat.php b/src/Test/Card/Rat.php index c51e2bf..360d934 100644 --- a/src/Test/Card/Rat.php +++ b/src/Test/Card/Rat.php @@ -48,10 +48,6 @@ class Rat extends \OpenLegends\Engine\Abstract\Card 2 ); - $this->setGuard( - false - ); - $this->setSilent( false );