- Fixed a check in isPreferredTarget AI function.

This commit is contained in:
Sloth
2015-12-12 21:27:43 +00:00
parent 2a3c54d20c
commit e91a069b2b
2 changed files with 2 additions and 2 deletions

View File

@@ -944,7 +944,7 @@ public class ChangeZoneAi extends SpellAbilityAi {
}
// Only care about combatants during combat
if (game.getPhaseHandler().inCombat()) {
if (game.getPhaseHandler().inCombat() && origin.equals(ZoneType.Battlefield)) {
list = CardLists.getValidCards(list, "Card.attacking,Card.blocking", null, null);
}

View File

@@ -4,6 +4,6 @@ Types:Creature Human Ninja
PT:2/2
A:AB$ ChangeZone | Cost$ 1 U Return<1/Creature.attacking+unblocked> | CostDesc$ Ninjutsu 1 U | ActivationZone$ Hand | Origin$ Hand | Ninjutsu$ True | Destination$ Battlefield | Defined$ Self | SpellDescription$ ({1}{U}, Return an unblocked attacker you control to hand: Put this card onto the battlefield from your hand tapped and attacking.)
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | Execute$ TrigDraw | OptionalDecider$ You | CombatDamage$ True | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you may draw a card.
SVar:TrigDraw:AB$Draw | Cost$ 0 | Defined$ You | NumCards$ 1
SVar:TrigDraw:AB$ Draw | Cost$ 0 | Defined$ You | NumCards$ 1
SVar:Picture:http://www.wizards.com/global/images/magic/general/ninja_of_the_deep_hours.jpg
Oracle:Ninjutsu {1}{U} ({1}{U}, Return an unblocked attacker you control to hand: Put this card onto the battlefield from your hand tapped and attacking.)\nWhenever Ninja of the Deep Hours deals combat damage to a player, you may draw a card.