mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Fixed spells with Bestow not getting "unbestowed" when they are countered and go to graveyard.
This commit is contained in:
@@ -162,6 +162,11 @@ public class CounterEffect extends SpellAbilityEffect {
|
||||
}
|
||||
game.getStack().remove(si);
|
||||
|
||||
// if the target card on stack was a spell with Bestow, then unbestow it
|
||||
if (tgtSA.getHostCard() != null && tgtSA.getHostCard().isBestowed()) {
|
||||
tgtSA.getHostCard().unanimateBestow(true);
|
||||
}
|
||||
|
||||
String destination = srcSA.hasParam("Destination") ? srcSA.getParam("Destination") : tgtSA.isAftermath() ? "Exile" : "Graveyard";
|
||||
if (srcSA.hasParam("DestinationChoice")) {//Hinder
|
||||
List<String> pos = Arrays.asList(srcSA.getParam("DestinationChoice").split(","));
|
||||
|
||||
Reference in New Issue
Block a user