mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 06:52:02 -08:00
Added test for Mana Flare.
This commit is contained in:
parent
b583f616bf
commit
ca9ee416e8
3 changed files with 92 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ public class AddManaOfAnyTypeProducedEffect extends ManaEffect {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Permanent permanent = game.getPermanent(this.targetPointer.getFirst(game, source));
|
||||
Permanent permanent = game.getPermanent(getTargetPointer().getFirst(game, source));
|
||||
if (permanent != null) {
|
||||
Player targetController = game.getPlayer(permanent.getControllerId());
|
||||
if (targetController == null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue