mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Fixed Venser, Shaper Savant not countering spells.
This commit is contained in:
@@ -237,7 +237,7 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
|
||||
sb.append(" ");
|
||||
|
||||
final ZoneType destination = ZoneType.smartValueOf(sa.getParam("Destination"));
|
||||
final ZoneType origin = ZoneType.smartValueOf(sa.getParam("Origin"));
|
||||
final ZoneType origin = ZoneType.listValueOf(sa.getParam("Origin")).get(0);
|
||||
|
||||
final StringBuilder sbTargets = new StringBuilder();
|
||||
|
||||
@@ -531,7 +531,7 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
|
||||
if (sa.hasParam("Fizzle")) {
|
||||
final FCollectionView<SpellAbility> spells = tgtC.getSpellAbilities();
|
||||
for (SpellAbility spell : spells) {
|
||||
if (tgtC.isInZone(ZoneType.Exile) || tgtC.isInZone(ZoneType.Hand)) {
|
||||
if (tgtC.isInZone(ZoneType.Exile) || tgtC.isInZone(ZoneType.Hand) || tgtC.isInZone(ZoneType.Stack)) {
|
||||
final SpellAbilityStackInstance si = game.getStack().getInstanceFromSpellAbility(spell);
|
||||
if (si != null) {
|
||||
game.getStack().remove(si);
|
||||
|
||||
@@ -6,5 +6,6 @@ K:CARDNAME enters the battlefield tapped.
|
||||
K:CARDNAME doesn't untap during your untap step.
|
||||
T:Mode$ DamageDone | ValidTarget$ Card.Self | Execute$ TrigUntap | TriggerDescription$ Whenever CARDNAME is dealt damage, untap it.
|
||||
SVar:TrigUntap:AB$ Untap | Cost$ 0 | Defined$ Self
|
||||
SVar:RemRandomDeck:True
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/deep_slumber_titan.jpg
|
||||
Oracle:Deep-Slumber Titan enters the battlefield tapped.\nDeep-Slumber Titan doesn't untap during your untap step.\nWhenever Deep-Slumber Titan is dealt damage, untap it.
|
||||
|
||||
Reference in New Issue
Block a user