forked from External/mage
fixes for issues 18, 19, 20, 21 + more fixes
This commit is contained in:
parent
2aad7682bd
commit
428609ab8b
58 changed files with 482 additions and 356 deletions
|
|
@ -95,7 +95,7 @@ public class Spell<T extends Spell<T>> implements StackObject, Card {
|
|||
}
|
||||
else if (card.getCardType().contains(CardType.ENCHANTMENT) && card.getSubtype().contains("Aura")) {
|
||||
if (ability.getTargets().stillLegal(ability, game)) {
|
||||
if (card.putOntoBattlefield(game, Zone.HAND, controllerId)) {
|
||||
if (card.putOntoBattlefield(game, Zone.HAND, ability.getId(), controllerId)) {
|
||||
return ability.resolve(game);
|
||||
}
|
||||
return false;
|
||||
|
|
@ -105,7 +105,7 @@ public class Spell<T extends Spell<T>> implements StackObject, Card {
|
|||
return false;
|
||||
}
|
||||
else {
|
||||
result = card.putOntoBattlefield(game, Zone.HAND, controllerId);
|
||||
result = card.putOntoBattlefield(game, Zone.HAND, ability.getId(), controllerId);
|
||||
resolveKicker(game);
|
||||
return result;
|
||||
}
|
||||
|
|
@ -298,7 +298,7 @@ public class Spell<T extends Spell<T>> implements StackObject, Card {
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean putOntoBattlefield(Game game, Zone fromZone, UUID controllerId) {
|
||||
public boolean putOntoBattlefield(Game game, Zone fromZone, UUID sourceId, UUID controllerId) {
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue