mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Glimmerdust Nap and Entangling Vines should fall off if the creature they enchant becomes untapped.
This commit is contained in:
@@ -525,7 +525,9 @@ public class GameAction {
|
|||||||
Card perm = c.getEnchanting().get(i);
|
Card perm = c.getEnchanting().get(i);
|
||||||
if(!AllZone.GameAction.isCardInPlay(perm)
|
if(!AllZone.GameAction.isCardInPlay(perm)
|
||||||
|| CardFactoryUtil.hasProtectionFrom(c, perm)
|
|| CardFactoryUtil.hasProtectionFrom(c, perm)
|
||||||
|| (c.getKeyword().contains("Enchant creature") && !perm.getType().contains("Creature"))) {
|
|| ((c.getKeyword().contains("Enchant creature") || c.getKeyword().contains("Enchant tapped creature") )
|
||||||
|
&& !perm.getType().contains("Creature"))
|
||||||
|
|| (c.getKeyword().contains("Enchant tapped creature") && perm.isUntapped() ) ) {
|
||||||
c.unEnchantCard(perm);
|
c.unEnchantCard(perm);
|
||||||
destroy(c);
|
destroy(c);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user