mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00:00
- Removed some test code
This commit is contained in:
parent
92580e480b
commit
0385d9a653
1 changed files with 0 additions and 2 deletions
|
@ -109,7 +109,6 @@ class QuicksilverFountainEffect extends OneShotEffect {
|
||||||
SimpleStaticAbility gainAbility = new SimpleStaticAbility(Zone.BATTLEFIELD, effect);
|
SimpleStaticAbility gainAbility = new SimpleStaticAbility(Zone.BATTLEFIELD, effect);
|
||||||
gainAbility.setSourceId(landChosen.getId());
|
gainAbility.setSourceId(landChosen.getId());
|
||||||
gainAbility.getTargets().add(source.getTargets().get(0));
|
gainAbility.getTargets().add(source.getTargets().get(0));
|
||||||
System.out.println("The source target in the oneshoteffect? " + source.getTargets().get(0));
|
|
||||||
game.addEffect(effect, gainAbility);
|
game.addEffect(effect, gainAbility);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -178,7 +177,6 @@ class LandHasFloodCounterCondition implements Condition {
|
||||||
@Override
|
@Override
|
||||||
public boolean apply(Game game, Ability source) {
|
public boolean apply(Game game, Ability source) {
|
||||||
Permanent permanent = game.getPermanent(source.getFirstTarget());
|
Permanent permanent = game.getPermanent(source.getFirstTarget());
|
||||||
System.out.println("The source and its target? " + source.toString() + " " + source.getFirstTarget());
|
|
||||||
return permanent != null
|
return permanent != null
|
||||||
&& permanent.getCounters(game).getCount(CounterType.FLOOD) > 0;
|
&& permanent.getCounters(game).getCount(CounterType.FLOOD) > 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue