From a0b8d73d19a89728f12a5a04aba8282b69d42b17 Mon Sep 17 00:00:00 2001 From: openlegends Date: Sat, 16 Mar 2024 15:21:24 +0200 Subject: [PATCH] update method names --- src/Test/Card/Goblin.php | 4 ++-- src/Test/Card/Mouse.php | 2 +- src/Test/Card/Rat.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Test/Card/Goblin.php b/src/Test/Card/Goblin.php index 6cabf95..6d73927 100644 --- a/src/Test/Card/Goblin.php +++ b/src/Test/Card/Goblin.php @@ -8,7 +8,7 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card { public function __construct() { - $this->addAbility( + $this->setAbility( new \OpenLegends\Asset\Test\Ability\Lethal() ); @@ -16,7 +16,7 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card new \OpenLegends\Asset\Test\Ability\Guard() ); - $this->addAttribute( + $this->setAttribute( new \OpenLegends\Asset\Test\Attribute\Neutral() ); diff --git a/src/Test/Card/Mouse.php b/src/Test/Card/Mouse.php index 17170f0..0f38dce 100644 --- a/src/Test/Card/Mouse.php +++ b/src/Test/Card/Mouse.php @@ -8,7 +8,7 @@ class Mouse extends \OpenLegends\Engine\Abstract\Card { public function __construct() { - $this->addAttribute( + $this->setAttribute( new \OpenLegends\Asset\Test\Attribute\Neutral() ); diff --git a/src/Test/Card/Rat.php b/src/Test/Card/Rat.php index 360d934..12f69ad 100644 --- a/src/Test/Card/Rat.php +++ b/src/Test/Card/Rat.php @@ -8,7 +8,7 @@ class Rat extends \OpenLegends\Engine\Abstract\Card { public function __construct() { - $this->addAttribute( + $this->setAttribute( new \OpenLegends\Asset\Test\Attribute\Neutral() );