- Removed the now-unused Explore hack from AF Dig.

git-svn-id: http://svn.slightlymagic.net/forge/trunk@35758 269b9781-a132-4a9b-9d4e-f004f1b56b58
This commit is contained in:
Agetian 2017-09-25 07:31:54 +00:00
parent a1dad93b7e
commit 443f0f5ee2

View File

@ -1,6 +1,5 @@
package forge.game.ability.effects;
import com.google.common.collect.Maps;
import forge.card.CardStateName;
import forge.game.Game;
import forge.game.ability.AbilityUtils;
@ -14,7 +13,6 @@ import forge.game.player.Player;
import forge.game.player.PlayerView;
import forge.game.spellability.SpellAbility;
import forge.game.spellability.TargetRestrictions;
import forge.game.trigger.TriggerType;
import forge.game.zone.PlayerZone;
import forge.game.zone.ZoneType;
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) {
CardCollection movedCards;
CardCollection andOrCards;