mirror of
https://github.com/openlegends/asset-php.git
synced 2025-02-08 13:04:22 +00:00
add attack ability
This commit is contained in:
parent
692cf3567c
commit
80bcebc4f4
@ -18,6 +18,10 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card
|
||||
new \OpenLegends\Asset\Test\Card\Ability\Guard()
|
||||
);
|
||||
|
||||
$ability->add(
|
||||
new \OpenLegends\Asset\Test\Card\Ability\Attack()
|
||||
);
|
||||
|
||||
$this->setAbility(
|
||||
$ability
|
||||
);
|
||||
|
@ -20,6 +20,10 @@ class Mouse extends \OpenLegends\Engine\Abstract\Card
|
||||
new \OpenLegends\Asset\Test\Card\Rarity\Common()
|
||||
);
|
||||
|
||||
$this->setAbility(
|
||||
new \OpenLegends\Asset\Test\Card\Ability\Attack()
|
||||
);
|
||||
|
||||
$this->setTitle(
|
||||
_('Mouse')
|
||||
);
|
||||
|
@ -20,6 +20,10 @@ class Rat extends \OpenLegends\Engine\Abstract\Card
|
||||
new \OpenLegends\Asset\Test\Card\Rarity\Common()
|
||||
);
|
||||
|
||||
$this->setAbility(
|
||||
new \OpenLegends\Asset\Test\Card\Ability\Attack()
|
||||
);
|
||||
|
||||
$this->setTitle(
|
||||
_('Rat')
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user