mirror of
https://github.com/openlegends/asset-php.git
synced 2025-02-08 13:04:22 +00:00
init abilities
This commit is contained in:
parent
4e566634b4
commit
c601def080
8
src/Test/Ability/Drain.php
Normal file
8
src/Test/Ability/Drain.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OpenLegends\Asset\Test\Ability;
|
||||
|
||||
class Drain extends \OpenLegends\Engine\Abstract\Ability
|
||||
{}
|
8
src/Test/Ability/Lethal.php
Normal file
8
src/Test/Ability/Lethal.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OpenLegends\Asset\Test\Ability;
|
||||
|
||||
class Lethal extends \OpenLegends\Engine\Abstract\Ability
|
||||
{}
|
@ -8,6 +8,10 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
$this->addAbility(
|
||||
new \OpenLegends\Asset\Test\Ability\Lethal()
|
||||
);
|
||||
|
||||
$this->addAttribute(
|
||||
new \OpenLegends\Asset\Test\Attribute\Neutral()
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user