mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- Removed the now-unused Explore hack from AF Dig.
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
package forge.game.ability.effects;
|
package forge.game.ability.effects;
|
||||||
|
|
||||||
import com.google.common.collect.Maps;
|
|
||||||
import forge.card.CardStateName;
|
import forge.card.CardStateName;
|
||||||
import forge.game.Game;
|
import forge.game.Game;
|
||||||
import forge.game.ability.AbilityUtils;
|
import forge.game.ability.AbilityUtils;
|
||||||
@@ -14,7 +13,6 @@ import forge.game.player.Player;
|
|||||||
import forge.game.player.PlayerView;
|
import forge.game.player.PlayerView;
|
||||||
import forge.game.spellability.SpellAbility;
|
import forge.game.spellability.SpellAbility;
|
||||||
import forge.game.spellability.TargetRestrictions;
|
import forge.game.spellability.TargetRestrictions;
|
||||||
import forge.game.trigger.TriggerType;
|
|
||||||
import forge.game.zone.PlayerZone;
|
import forge.game.zone.PlayerZone;
|
||||||
import forge.game.zone.ZoneType;
|
import forge.game.zone.ZoneType;
|
||||||
import forge.util.Lang;
|
import forge.util.Lang;
|
||||||
@@ -166,14 +164,6 @@ public class DigEffect extends SpellAbilityEffect {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (noMove && sa.hasParam("Explore")) {
|
|
||||||
// TODO: until Explore is written as a separate effect, this param can be used to emulate "X Explores"
|
|
||||||
// by firing the relevant trigger. Once Explores is a separate effect, this code can be removed.
|
|
||||||
final Map<String, Object> runParams = Maps.newHashMap();
|
|
||||||
runParams.put("Card", sa.getHostCard());
|
|
||||||
game.getTriggerHandler().runTrigger(TriggerType.Explores, runParams, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!noMove) {
|
if (!noMove) {
|
||||||
CardCollection movedCards;
|
CardCollection movedCards;
|
||||||
CardCollection andOrCards;
|
CardCollection andOrCards;
|
||||||
|
|||||||
Reference in New Issue
Block a user