mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- AI hint for Sakura Tribe-Elder blocking. (#4177)
- AI hint for Visions of Dread.
This commit is contained in:
@@ -252,8 +252,10 @@ public class AiBlockController {
|
||||
}
|
||||
}
|
||||
// 4.Blockers that have a big upside when dying
|
||||
// 4a.Blockers that are profitable to sacrifice even in the event of an unfavorable block
|
||||
for (Card b : blockers) {
|
||||
if (b.hasSVar("SacMe") && Integer.parseInt(b.getSVar("SacMe")) > 3) {
|
||||
if ((b.hasSVar("SacMe") && Integer.parseInt(b.getSVar("SacMe")) > 3) ||
|
||||
(b.hasSVar("SacMeAfterBlock") && !attacker.hasKeyword(Keyword.TRAMPLE) && !attacker.hasKeyword(Keyword.BANDING))) {
|
||||
blocker = b;
|
||||
if (!ComputerUtilCombat.canDestroyAttacker(ai, attacker, blocker, combat, false)) {
|
||||
blockedButUnkilled.add(attacker);
|
||||
|
||||
@@ -3,4 +3,5 @@ ManaCost:1 G
|
||||
Types:Creature Snake Shaman
|
||||
PT:1/1
|
||||
A:AB$ ChangeZone | Cost$ Sac<1/CARDNAME> | Origin$ Library | Destination$ Battlefield | Tapped$ True | ChangeType$ Land.Basic | ChangeNum$ 1 | SpellDescription$ Search your library for a basic land card, put it onto the battlefield tapped, then shuffle.
|
||||
SVar:SacMeAfterBlock:TRUE
|
||||
Oracle:Sacrifice Sakura-Tribe Elder: Search your library for a basic land card, put that card onto the battlefield tapped, then shuffle.
|
||||
|
||||
@@ -6,4 +6,6 @@ SVar:DBChangeZone:DB$ ChangeZone | Defined$ ChosenCard | Origin$ Graveyard | Gai
|
||||
K:Flashback:8 B B:ReduceCost$ X:This spell costs {X} less to cast this way, where X is the greatest mana value of a commander you own on the battlefield or in the command zone.
|
||||
SVar:X:Count$ValidBattlefield,Command Card.IsCommander+YouOwn$GreatestCMC
|
||||
DeckHas:Ability$Graveyard
|
||||
SVar:NeedsToPlayVar:Z GE1
|
||||
SVar:Z:Count$ValidGraveyard Creature.OppOwn
|
||||
Oracle:Target opponent puts a creature card of their choice from their graveyard onto the battlefield under your control.\nFlashback {8}{B}{B}. This spell costs {X} less to cast this way, where X is the greatest mana value of a commander you own on the battlefield or in the command zone. (You may cast this card from your graveyard for its flashback cost. Then exile it.)
|
||||
|
||||
Reference in New Issue
Block a user