Merge branch 'master' of https://git.cardforge.org/core-developers/forge into apiTypeCaseCrashFix

This commit is contained in:
elliot
2018-03-25 23:20:39 -04:00
3 changed files with 5 additions and 5 deletions

View File

@@ -685,7 +685,6 @@ public class DamageDealAi extends DamageAiBase {
final boolean noPrevention = sa.hasParam("NoPrevention");
final boolean divided = sa.hasParam("DividedAsYouChoose");
final Player opp = ComputerUtil.getOpponentFor(ai);
System.out.println("damageChooseRequiredTargets " + ai + " " + sa);
while (sa.getTargets().getNumTargeted() < tgt.getMinTargets(sa.getHostCard(), sa)) {
// TODO: Consider targeting the planeswalker

View File

@@ -1,6 +1,7 @@
package forge.game.ability.effects;
import forge.game.Game;
import forge.game.GameLogEntryType;
import forge.game.ability.SpellAbilityEffect;
import forge.game.card.Card;
import forge.game.card.CardFactoryUtil;
@@ -216,7 +217,7 @@ public class CounterEffect extends SpellAbilityEffect {
if (!tgtSA.isAbility()) {
System.out.println("Send countered spell to " + destination);
game.getGameLog().add(GameLogEntryType.ZONE_CHANGE, "Send countered spell to " + destination);
}
}

View File

@@ -3,8 +3,8 @@ ManaCost:1 G G
Types:Creature Merfolk Warrior
PT:3/3
K:Flash
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ When CARDNAME enters the battlefield, target Merfolk gains hexproof until end of turn.
SVar:TrigPump:DB$Pump | ValidTgts$ Merfolk | TgtPrompt$ Select target Merfolk | KW$ Hexproof
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ When CARDNAME enters the battlefield, target Merfolk you control gains hexproof until end of turn.
SVar:TrigPump:DB$Pump | ValidTgts$ Merfolk.YouCtrl | TgtPrompt$ Select target Merfolk | KW$ Hexproof
DeckHints:Type$Merfolk
SVar:Picture:http://www.wizards.com/global/images/magic/general/swift warden.jpg
Oracle:Flash\nWhen Swift Warden enters the battlefield, target Merfolk gains hexproof until end of turn.
Oracle:Flash\nWhen Swift Warden enters the battlefield, target Merfolk you control gains hexproof until end of turn.