Browse Source

init abilities

main
openlegends 9 months ago
parent
commit
c601def080
  1. 8
      src/Test/Ability/Drain.php
  2. 8
      src/Test/Ability/Lethal.php
  3. 4
      src/Test/Card/Goblin.php

8
src/Test/Ability/Drain.php

@ -0,0 +1,8 @@ @@ -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

@ -0,0 +1,8 @@ @@ -0,0 +1,8 @@
<?php
declare(strict_types=1);
namespace OpenLegends\Asset\Test\Ability;
class Lethal extends \OpenLegends\Engine\Abstract\Ability
{}

4
src/Test/Card/Goblin.php

@ -8,6 +8,10 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card @@ -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…
Cancel
Save