mirror of
https://github.com/openlegends/asset-php.git
synced 2025-02-08 13:04:22 +00:00
add rarity setters
This commit is contained in:
parent
d8161ce903
commit
4e566634b4
@ -16,6 +16,10 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card
|
|||||||
new \OpenLegends\Asset\Test\Type\Goblin()
|
new \OpenLegends\Asset\Test\Type\Goblin()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$this->setRarity(
|
||||||
|
new \OpenLegends\Asset\Test\Rarity\Common()
|
||||||
|
);
|
||||||
|
|
||||||
$this->setTitle(
|
$this->setTitle(
|
||||||
_('Goblin')
|
_('Goblin')
|
||||||
);
|
);
|
||||||
|
@ -16,6 +16,10 @@ class Mouse extends \OpenLegends\Engine\Abstract\Card
|
|||||||
new \OpenLegends\Asset\Test\Type\Animal()
|
new \OpenLegends\Asset\Test\Type\Animal()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$this->setRarity(
|
||||||
|
new \OpenLegends\Asset\Test\Rarity\Common()
|
||||||
|
);
|
||||||
|
|
||||||
$this->setTitle(
|
$this->setTitle(
|
||||||
_('Mouse')
|
_('Mouse')
|
||||||
);
|
);
|
||||||
|
@ -16,6 +16,10 @@ class Rat extends \OpenLegends\Engine\Abstract\Card
|
|||||||
new \OpenLegends\Asset\Test\Type\Animal()
|
new \OpenLegends\Asset\Test\Type\Animal()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$this->setRarity(
|
||||||
|
new \OpenLegends\Asset\Test\Rarity\Common()
|
||||||
|
);
|
||||||
|
|
||||||
$this->setTitle(
|
$this->setTitle(
|
||||||
_('Rat')
|
_('Rat')
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user