mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
Revert order of Eaten by Spiders and Murderous Spoils.
This commit is contained in:
@@ -72,7 +72,8 @@ public class DestroyEffect extends SpellAbilityEffect {
|
||||
final Game game = card.getGame();
|
||||
|
||||
final boolean remDestroyed = sa.hasParam("RememberDestroyed");
|
||||
if (remDestroyed) {
|
||||
final boolean remAttached = sa.hasParam("RememberAttached");
|
||||
if (remDestroyed || remAttached) {
|
||||
card.clearRemembered();
|
||||
}
|
||||
|
||||
@@ -95,6 +96,11 @@ public class DestroyEffect extends SpellAbilityEffect {
|
||||
if (tgtC.isInPlay() && ((tgt == null) || tgtC.canBeTargetedBy(sa))) {
|
||||
boolean destroyed = false;
|
||||
final Card lki = CardUtil.getLKICopy(tgtC);
|
||||
if (remAttached) {
|
||||
card.getRemembered().addAll(tgtC.getEnchantedBy());
|
||||
card.getRemembered().addAll(tgtC.getEquippedBy());
|
||||
card.getRemembered().addAll(tgtC.getFortifiedBy());
|
||||
}
|
||||
if (sac) {
|
||||
destroyed = game.getAction().sacrifice(tgtC, sa) != null;
|
||||
} else if (noRegen) {
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
Name:Eaten by Spiders
|
||||
ManaCost:2 G
|
||||
Types:Instant
|
||||
A:SP$ DestroyAll | Cost$ 2 G | ValidTgts$ Creature.withFlying | TgtPrompt$ Select target creature with flying | ValidCards$ Targeted.Equipment+Attached | SubAbility$ Destroy | SpellDescription$ Destroy target creature with flying and all Equipment attached to that creature.
|
||||
SVar:Destroy:DB$ Destroy | Defined$ Targeted
|
||||
A:SP$ Destroy | Cost$ 2 G | ValidTgts$ Creature.withFlying | TgtPrompt$ Select target creature with flying | RememberAttached$ True | SubAbility$ ChompEquip | SpellDescription$ Destroy target creature with flying and all Equipment attached to that creature.
|
||||
SVar:ChompEquip:DB$ DestroyAll | ValidCards$ Remembered.Equipment | SpellDescription$ Destroy all Equipment attached to that creature. | SubAbility$ Cleanup
|
||||
SVar:Cleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/eaten_by_spiders.jpg
|
||||
Oracle:Destroy target creature with flying and all Equipment attached to that creature.
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
Name:Murderous Spoils
|
||||
ManaCost:5 B
|
||||
Types:Instant
|
||||
A:SP$ GainControl | Cost$ 5 B | ValidTgts$ Creature.nonBlack | AllValid$ Targeted.Equipment+Attached | TgtPrompt$ Select target non-black creature | SubAbility$ Destroy | NoRegen$ True | SpellDescription$ Destroy target nonblack creature. It can't be regenerated. You gain control of all Equipment that was attached to it. (This effect lasts indefinitely.)
|
||||
SVar:Destroy:DB$ Destroy | Defined$ Targeted | NoRegen$ True
|
||||
A:SP$ Destroy | Cost$ 5 B | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select target non-black creature | SubAbility$ StealEquip | NoRegen$ True | RememberAttached$ True | SpellDescription$ Destroy target nonblack creature. It can't be regenerated. You gain control of all Equipment that was attached to it. (This effect lasts indefinitely.)
|
||||
SVar:StealEquip:DB$ GainControl | AllValid$ Remembered.Equipment | SubAbility$ Cleanup
|
||||
SVar:Cleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/murderous_spoils.jpg
|
||||
Oracle:Destroy target nonblack creature. It can't be regenerated. You gain control of all Equipment that was attached to it. (This effect lasts indefinitely.)
|
||||
|
||||
Reference in New Issue
Block a user