From 4adff3ce117af78e9dff605f20003de7ab6f3401 Mon Sep 17 00:00:00 2001 From: openlegends Date: Fri, 15 Mar 2024 16:32:18 +0200 Subject: [PATCH] implement base act --- src/Test/Card/Goblin.php | 6 +++++- src/Test/Card/Mouse.php | 6 +++++- src/Test/Card/Rat.php | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/Test/Card/Goblin.php b/src/Test/Card/Goblin.php index 1233b86..e7ac28e 100644 --- a/src/Test/Card/Goblin.php +++ b/src/Test/Card/Goblin.php @@ -55,5 +55,9 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card public function act( \OpenLegends\Engine\Abstract\Card $target - ) {} + ) { + $this->attack( + $target + ); + } } \ No newline at end of file diff --git a/src/Test/Card/Mouse.php b/src/Test/Card/Mouse.php index c048351..d61c1e2 100644 --- a/src/Test/Card/Mouse.php +++ b/src/Test/Card/Mouse.php @@ -55,5 +55,9 @@ class Mouse extends \OpenLegends\Engine\Abstract\Card public function act( \OpenLegends\Engine\Abstract\Card $target - ) {} + ) { + $this->attack( + $target + ); + } } \ No newline at end of file diff --git a/src/Test/Card/Rat.php b/src/Test/Card/Rat.php index a87574d..761bc97 100644 --- a/src/Test/Card/Rat.php +++ b/src/Test/Card/Rat.php @@ -55,5 +55,9 @@ class Rat extends \OpenLegends\Engine\Abstract\Card public function act( \OpenLegends\Engine\Abstract\Card $target - ) {} + ) { + $this->attack( + $target + ); + } } \ No newline at end of file