mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
- Improved AI using Show and Tell and Eureka.
This commit is contained in:
@@ -14,8 +14,9 @@ SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
SVar:NumPlayerGiveup:Number$0
|
||||
SVar:TotalPlayer:PlayerCountPlayers$Amount
|
||||
SVar:CheckHand:Count$ValidHand Permanent.IsNotRemembered+RememberedPlayerCtrl
|
||||
SVar:RemAIDeck:True
|
||||
SVar:RemRandomDeck:True
|
||||
SVar:NeedsToPlayVar:Y GE1
|
||||
SVar:Y:Count$ValidHand Permanent.YouCtrl+cmcGE5
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/eureka.jpg
|
||||
SetInfo:LEG|Rare|http://magiccards.info/scans/en/lg/99.jpg
|
||||
Oracle:Starting with you, each player may put a permanent card from his or her hand onto the battlefield. Repeat this process until no one puts a card onto the battlefield.
|
||||
|
||||
@@ -17,7 +17,8 @@ SVar:NumPlayerGiveup:Number$0
|
||||
SVar:TotalPlayer:PlayerCountPlayers$Amount
|
||||
SVar:CheckHand:Count$ValidHand Artifact.IsNotRemembered+RememberedPlayerCtrl,Creature.IsNotRemembered+RememberedPlayerCtrl,Enchantment.IsNotRemembered+RememberedPlayerCtrl,Land.IsNotRemembered+RememberedPlayerCtrl
|
||||
SVar:RemRandomDeck:True
|
||||
SVar:RemAIDeck:True
|
||||
SVar:NeedsToPlayVar:Y GE1
|
||||
SVar:Y:Count$ValidHand Permanent.YouCtrl+cmcGE5
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/hypergenesis.jpg
|
||||
SetInfo:TSP|Rare|http://magiccards.info/scans/en/ts/201.jpg
|
||||
Oracle:Sorcery\nSuspend 3- {1}{G}{G} (Rather than cast this card from your hand, pay {1}{G}{G} and exile it with three time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost.)\nStarting with you, each player may put an artifact, creature, enchantment, or land card from his or her hand onto the battlefield. Repeat this process until no one puts a card onto the battlefield.
|
||||
|
||||
@@ -2,6 +2,8 @@ Name:Show and Tell
|
||||
ManaCost:2 U
|
||||
Types:Sorcery
|
||||
A:SP$ ChangeZone | Cost$ 2 U | Origin$ Hand | Destination$ Battlefield | ChangeType$ Creature,Artifact,Enchantment,Land | DefinedPlayer$ Player | ChangeNum$ 1 | SpellDescription$ Each player may put an artifact, creature, enchantment, or land card from his or her hand onto the battlefield.
|
||||
SVar:NeedsToPlayVar:Y GE1
|
||||
SVar:Y:Count$ValidHand Permanent.YouCtrl+cmcGE4
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/show_and_tell.jpg
|
||||
SetInfo:USG|Rare|http://magiccards.info/scans/en/us/96.jpg
|
||||
|
||||
@@ -294,8 +294,6 @@ public class ChangeZoneAi extends SpellAbilityAi {
|
||||
}
|
||||
}
|
||||
|
||||
chance &= (r.nextFloat() < .8);
|
||||
|
||||
final AbilitySub subAb = sa.getSubAbility();
|
||||
chance &= subAb == null || subAb.getAi().chkDrawbackWithSubs(ai, subAb);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user