mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Implemented rule 303.4h for auras.
This commit is contained in:
@@ -89,9 +89,14 @@ public class AttachEffect extends SpellAbilityEffect {
|
|||||||
// Spellweaver Volute, Dance of the Dead, Animate Dead
|
// Spellweaver Volute, Dance of the Dead, Animate Dead
|
||||||
// Although honestly, I'm not sure if the three of those could
|
// Although honestly, I'm not sure if the three of those could
|
||||||
// handle being scripted
|
// handle being scripted
|
||||||
handleAura(card, c);
|
// 303.4h: If the card can't be enchanted, the aura doesn't move
|
||||||
|
if (c.canBeEnchantedBy(card)) {
|
||||||
|
handleAura(card, c);
|
||||||
|
}
|
||||||
} else if (card.isEquipment()) {
|
} else if (card.isEquipment()) {
|
||||||
card.equipCard(c);
|
if(c.canBeEquippedBy(card)) {
|
||||||
|
card.equipCard(c);
|
||||||
|
}
|
||||||
} else if (card.isFortification()) {
|
} else if (card.isFortification()) {
|
||||||
card.fortifyCard(c);
|
card.fortifyCard(c);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user