mirror of
https://github.com/openlegends/asset-php.git
synced 2025-02-08 13:04:22 +00:00
add new setters
This commit is contained in:
parent
b59d519637
commit
99431f78ff
@ -36,6 +36,38 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card
|
|||||||
3
|
3
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$this->setBreakthrough(
|
||||||
|
true
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setCover(
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setDrain(
|
||||||
|
true
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setGuard(
|
||||||
|
true
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setLethal(
|
||||||
|
true
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setPilfer(
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setProphecy(
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setUnique(
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
$this->setAttribute(
|
$this->setAttribute(
|
||||||
new \OpenLegends\Asset\Test\Card\Attribute\Neutral()
|
new \OpenLegends\Asset\Test\Card\Attribute\Neutral()
|
||||||
);
|
);
|
||||||
|
@ -36,6 +36,38 @@ class Mouse extends \OpenLegends\Engine\Abstract\Card
|
|||||||
1
|
1
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$this->setBreakthrough(
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setCover(
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setDrain(
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setGuard(
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setLethal(
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setPilfer(
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setProphecy(
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setUnique(
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
$this->setAttribute(
|
$this->setAttribute(
|
||||||
new \OpenLegends\Asset\Test\Card\Attribute\Neutral()
|
new \OpenLegends\Asset\Test\Card\Attribute\Neutral()
|
||||||
);
|
);
|
||||||
|
@ -8,22 +8,6 @@ class Rat extends \OpenLegends\Engine\Abstract\Card
|
|||||||
{
|
{
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->setAttribute(
|
|
||||||
new \OpenLegends\Asset\Test\Card\Attribute\Neutral()
|
|
||||||
);
|
|
||||||
|
|
||||||
$this->setType(
|
|
||||||
new \OpenLegends\Asset\Test\Card\Type\Animal()
|
|
||||||
);
|
|
||||||
|
|
||||||
$this->setRarity(
|
|
||||||
new \OpenLegends\Asset\Test\Card\Rarity\Common()
|
|
||||||
);
|
|
||||||
|
|
||||||
$this->setAbility(
|
|
||||||
new \OpenLegends\Asset\Test\Card\Ability\Damage()
|
|
||||||
);
|
|
||||||
|
|
||||||
$this->setName(
|
$this->setName(
|
||||||
_('Rat')
|
_('Rat')
|
||||||
);
|
);
|
||||||
@ -51,5 +35,53 @@ class Rat extends \OpenLegends\Engine\Abstract\Card
|
|||||||
$this->setExtract(
|
$this->setExtract(
|
||||||
2
|
2
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$this->setBreakthrough(
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setCover(
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setDrain(
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setGuard(
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setLethal(
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setPilfer(
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setProphecy(
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setUnique(
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setAttribute(
|
||||||
|
new \OpenLegends\Asset\Test\Card\Attribute\Neutral()
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setType(
|
||||||
|
new \OpenLegends\Asset\Test\Card\Type\Animal()
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setRarity(
|
||||||
|
new \OpenLegends\Asset\Test\Card\Rarity\Common()
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setAbility(
|
||||||
|
new \OpenLegends\Asset\Test\Card\Ability\Damage()
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user