Browse Source

implement base act

main
openlegends 9 months ago
parent
commit
4adff3ce11
  1. 6
      src/Test/Card/Goblin.php
  2. 6
      src/Test/Card/Mouse.php
  3. 6
      src/Test/Card/Rat.php

6
src/Test/Card/Goblin.php

@ -55,5 +55,9 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card @@ -55,5 +55,9 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card
public function act(
\OpenLegends\Engine\Abstract\Card $target
) {}
) {
$this->attack(
$target
);
}
}

6
src/Test/Card/Mouse.php

@ -55,5 +55,9 @@ class Mouse extends \OpenLegends\Engine\Abstract\Card @@ -55,5 +55,9 @@ class Mouse extends \OpenLegends\Engine\Abstract\Card
public function act(
\OpenLegends\Engine\Abstract\Card $target
) {}
) {
$this->attack(
$target
);
}
}

6
src/Test/Card/Rat.php

@ -55,5 +55,9 @@ class Rat extends \OpenLegends\Engine\Abstract\Card @@ -55,5 +55,9 @@ class Rat extends \OpenLegends\Engine\Abstract\Card
public function act(
\OpenLegends\Engine\Abstract\Card $target
) {}
) {
$this->attack(
$target
);
}
}
Loading…
Cancel
Save