mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Added a TributeAILogic for Oracle of Bones.
This commit is contained in:
@@ -428,6 +428,8 @@ public class CountersPutAi extends SpellAbilityAi {
|
|||||||
}
|
}
|
||||||
} else if (logic.equals("DontControlCreatures")) {
|
} else if (logic.equals("DontControlCreatures")) {
|
||||||
return !creats.isEmpty();
|
return !creats.isEmpty();
|
||||||
|
} else if (logic.equals("OppHasCardsInHand")) {
|
||||||
|
return !player.getOpponent().getCardsIn(ZoneType.Hand).isEmpty();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ K:Haste
|
|||||||
K:Tribute 2
|
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.
|
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: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:TributeAILogic:OppHasCardsInHand
|
||||||
SVar:CheckHand:Count$ValidHand Sorcery.YouCtrl,Instant.YouCtrl
|
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/oracle_of_bones.jpg
|
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.
|
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user