mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
fix Seance
Spirit subtype wasn't being added, and the token shouldn't have haste
This commit is contained in:
parent
aef3de9348
commit
1750bf32a1
2 changed files with 3 additions and 5 deletions
|
@ -97,7 +97,7 @@ class SeanceEffect extends OneShotEffect {
|
|||
Player controller = game.getPlayer(source.getControllerId());
|
||||
if (controller != null && card != null) {
|
||||
if (controller.moveCards(card, null, Zone.EXILED, source, game)) {
|
||||
PutTokenOntoBattlefieldCopyTargetEffect effect = new PutTokenOntoBattlefieldCopyTargetEffect(source.getControllerId(), null, true);
|
||||
PutTokenOntoBattlefieldCopyTargetEffect effect = new PutTokenOntoBattlefieldCopyTargetEffect(source.getControllerId(), null, false);
|
||||
effect.setTargetPointer(new FixedTarget(card.getId(), card.getZoneChangeCounter(game)));
|
||||
effect.setAdditionalSubType("Spirit");
|
||||
effect.apply(game, source);
|
||||
|
|
|
@ -164,10 +164,8 @@ public class PutTokenOntoBattlefieldCopyTargetEffect extends OneShotEffect {
|
|||
if (gainsHaste) {
|
||||
token.addAbility(HasteAbility.getInstance());
|
||||
}
|
||||
if (additionalSubType != null) {
|
||||
if (token.getSubtype().contains(additionalSubType)) {
|
||||
token.getSubtype().add(additionalSubType);
|
||||
}
|
||||
if (additionalSubType != null && !token.getSubtype().contains(additionalSubType)) {
|
||||
token.getSubtype().add(additionalSubType);
|
||||
}
|
||||
token.putOntoBattlefield(number, game, source.getSourceId(), playerId == null ? source.getControllerId() : playerId, tapped, attacking, attackedPlayer);
|
||||
for (UUID tokenId : token.getLastAddedTokenIds()) { // by cards like Doubling Season multiple tokens can be added to the battlefield
|
||||
|
|
Loading…
Reference in a new issue