mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Fix: bestowed enchantments should animate into creatures when the enchanted permanent leaves the battlefield.
This commit is contained in:
@@ -820,8 +820,11 @@ public class GameAction {
|
|||||||
final ZoneType tgtZone = tgt.getZone().get(0);
|
final ZoneType tgtZone = tgt.getZone().get(0);
|
||||||
|
|
||||||
if (!perm.isInZone(tgtZone) || !perm.canBeEnchantedBy(c, true) || (perm.isPhasedOut() && !c.isPhasedOut())) {
|
if (!perm.isInZone(tgtZone) || !perm.canBeEnchantedBy(c, true) || (perm.isPhasedOut() && !c.isPhasedOut())) {
|
||||||
|
boolean bestowed = c.isBestowed();
|
||||||
c.unEnchantEntity(perm);
|
c.unEnchantEntity(perm);
|
||||||
|
if (!bestowed) {
|
||||||
moveToGraveyard(c);
|
moveToGraveyard(c);
|
||||||
|
}
|
||||||
checkAgain = true;
|
checkAgain = true;
|
||||||
}
|
}
|
||||||
} else if (entity instanceof Player) {
|
} else if (entity instanceof Player) {
|
||||||
|
|||||||
Reference in New Issue
Block a user