mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Fixed Unleash not interacting correctly with Corpsejack Menace.
This commit is contained in:
@@ -2,9 +2,8 @@ Name:Remote Farm
|
||||
ManaCost:no cost
|
||||
Types:Land
|
||||
Text:no text
|
||||
K:ETBReplacement:Other:ETBTap
|
||||
K:CARDNAME enters the battlefield tapped.
|
||||
K:ETBReplacement:Other:ETBCounters
|
||||
SVar:ETBTap:DB$ Tap | Defined$ Self | ETB$ True | SpellDescription$ CARDNAME enters the battlefield tapped.
|
||||
SVar:ETBCounters:DB$ PutCounter | Defined$ Self | CounterType$ DEPLETION | CounterNum$ 2 | SpellDescription$ CARDNAME enters the battlefield with 2 depletion counters on it.
|
||||
A:AB$ Mana | Cost$ T SubCounter<1/DEPLETION> | Produced$ W | Deplete$ DEPLETION | Amount$ 2 | SpellDescription$ Add W W to your mana pool. If there are no depletion counters on CARDNAME, sacrifice it.
|
||||
SVar:RemAIDeck:True
|
||||
|
||||
@@ -757,7 +757,7 @@ public class AbilityFactoryCounters {
|
||||
final Zone zone = Singletons.getModel().getGame().getZoneOf(tgtCard);
|
||||
if (zone == null) {
|
||||
// Do nothing, token disappeared
|
||||
} else if (zone.is(ZoneType.Battlefield)) {
|
||||
} else if (zone.is(ZoneType.Battlefield) || zone.is(ZoneType.Stack)) {
|
||||
tgtCard.addCounter(Counters.valueOf(type), counterAmount);
|
||||
} else {
|
||||
// adding counters to something like re-suspend cards
|
||||
|
||||
@@ -1241,7 +1241,11 @@ public class AbilityFactoryPermanentState {
|
||||
}
|
||||
|
||||
for (final Card tgtC : tgtCards) {
|
||||
if ((tgtC.isInPlay() || params.containsKey("ETB")) && ((tgt == null) || tgtC.canBeTargetedBy(sa))) {
|
||||
if (tgt != null && !tgtC.canBeTargetedBy(sa)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (params.containsKey("ETB") || tgtC.isInPlay()) {
|
||||
if (tgtC.isUntapped() && (remTapped)) {
|
||||
card.addRemembered(tgtC);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user