mirror of
https://github.com/openlegends/asset-php.git
synced 2025-09-09 12:42:04 +00:00
59 lines
888 B
PHP
59 lines
888 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace OpenLegends\Asset\Test\Card;
|
|
|
|
class Goblin extends \OpenLegends\Engine\Abstract\Card
|
|
{
|
|
public function __construct()
|
|
{
|
|
$this->addAttribute(
|
|
_('Neutral')
|
|
);
|
|
|
|
$this->setType(
|
|
_('Unknown')
|
|
);
|
|
|
|
$this->setTitle(
|
|
_('Goblin')
|
|
);
|
|
|
|
$this->setDescription(
|
|
_('Just goblin')
|
|
);
|
|
|
|
$this->setCost(
|
|
1
|
|
);
|
|
|
|
$this->setPower(
|
|
3
|
|
);
|
|
|
|
$this->setHealth(
|
|
3
|
|
);
|
|
|
|
$this->setCraft(
|
|
3
|
|
);
|
|
|
|
$this->setExtract(
|
|
3
|
|
);
|
|
|
|
$this->setGuard(
|
|
true
|
|
);
|
|
|
|
$this->setSilent(
|
|
false
|
|
);
|
|
}
|
|
|
|
public function act(
|
|
\OpenLegends\Engine\Abstract\Card $target
|
|
) {}
|
|
} |