- Added a TributeAILogic for Oracle of Bones.

This commit is contained in:
Sloth
2014-04-14 11:21:01 +00:00
parent d7aae2e285
commit 82aad02edb
2 changed files with 3 additions and 2 deletions

View File

@@ -428,6 +428,8 @@ public class CountersPutAi extends SpellAbilityAi {
}
} else if (logic.equals("DontControlCreatures")) {
return !creats.isEmpty();
} else if (logic.equals("OppHasCardsInHand")) {
return !player.getOpponent().getCardsIn(ZoneType.Hand).isEmpty();
}
}
}

View File

@@ -6,7 +6,6 @@ K:Haste
K:Tribute 2
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self+notTributed | Execute$ TrigNotTribute | TriggerDescription$ When CARDNAME enters the battlefield, if tribute wasn't paid, you may cast an instant or sorcery card from your hand without paying its mana cost.
SVar:TrigNotTribute:AB$ Play | Cost$ 0 | ValidZone$ Hand | Valid$ Instant.YouOwn,Sorcery.YouOwn | Controller$ You | WithoutManaCost$ True | Optional$ True | Amount$ 1
SVar:NeedsToPlayVar:CheckHand GE1
SVar:CheckHand:Count$ValidHand Sorcery.YouCtrl,Instant.YouCtrl
SVar:TributeAILogic:OppHasCardsInHand
SVar:Picture:http://www.wizards.com/global/images/magic/general/oracle_of_bones.jpg
Oracle:Haste\nTribute 2 (As this creature enters the battlefield, an opponent of your choice may place two +1/+1 counters on it.)\nWhen Oracle of Bones enters the battlefield, if tribute wasn't paid, you may cast an instant or sorcery card from your hand without paying its mana cost.