mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
- Improved AI of Glint Hawk Idol.
This commit is contained in:
@@ -5,6 +5,7 @@ Text:no text
|
|||||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Artifact.Other+YouCtrl | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigAnimate | TriggerDescription$ Whenever another artifact enters the battlefield under your control, you may have CARDNAME become a 2/2 Bird artifact creature with flying until end of turn.
|
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Artifact.Other+YouCtrl | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigAnimate | TriggerDescription$ Whenever another artifact enters the battlefield under your control, you may have CARDNAME become a 2/2 Bird artifact creature with flying until end of turn.
|
||||||
SVar:TrigAnimate:AB$Animate | Cost$ 0 | Defined$ Self | Power$ 2 | Toughness$ 2 | Types$ Artifact,Creature,Bird | Keywords$ Flying
|
SVar:TrigAnimate:AB$Animate | Cost$ 0 | Defined$ Self | Power$ 2 | Toughness$ 2 | Types$ Artifact,Creature,Bird | Keywords$ Flying
|
||||||
A:AB$ Animate | Cost$ W | Defined$ Self | Power$ 2 | Toughness$ 2 | Types$ Artifact,Creature,Bird | Keywords$ Flying | SpellDescription$ CARDNAME becomes a 2/2 Bird artifact creature with flying until end of turn.
|
A:AB$ Animate | Cost$ W | Defined$ Self | Power$ 2 | Toughness$ 2 | Types$ Artifact,Creature,Bird | Keywords$ Flying | SpellDescription$ CARDNAME becomes a 2/2 Bird artifact creature with flying until end of turn.
|
||||||
|
SVar:BuffedBy:Artifact
|
||||||
SVar:Rarity:Common
|
SVar:Rarity:Common
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/glint_hawk_idol.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/glint_hawk_idol.jpg
|
||||||
SetInfo:SOM|Common|http://magiccards.info/scans/en/som/156.jpg
|
SetInfo:SOM|Common|http://magiccards.info/scans/en/som/156.jpg
|
||||||
|
|||||||
@@ -395,9 +395,11 @@ public final class AbilityFactoryAnimate {
|
|||||||
*/
|
*/
|
||||||
private static boolean animatePlayDrawbackAI(final AbilityFactory af, final SpellAbility sa) {
|
private static boolean animatePlayDrawbackAI(final AbilityFactory af, final SpellAbility sa) {
|
||||||
// AI should only activate this during Human's turn
|
// AI should only activate this during Human's turn
|
||||||
boolean chance = AbilityFactoryAnimate.animateTgtAI(af, sa);
|
boolean chance = true;
|
||||||
|
|
||||||
// TODO - restrict the subAbility a bit
|
if (sa.getTarget() != null) {
|
||||||
|
chance = AbilityFactoryAnimate.animateTgtAI(af, sa);
|
||||||
|
}
|
||||||
|
|
||||||
final AbilitySub subAb = sa.getSubAbility();
|
final AbilitySub subAb = sa.getSubAbility();
|
||||||
if (subAb != null) {
|
if (subAb != null) {
|
||||||
@@ -425,7 +427,11 @@ public final class AbilityFactoryAnimate {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean chance = AbilityFactoryAnimate.animateTgtAI(af, sa);
|
boolean chance = true;
|
||||||
|
|
||||||
|
if (sa.getTarget() != null) {
|
||||||
|
chance = AbilityFactoryAnimate.animateTgtAI(af, sa);
|
||||||
|
}
|
||||||
|
|
||||||
// Improve AI for triggers. If source is a creature with:
|
// Improve AI for triggers. If source is a creature with:
|
||||||
// When ETB, sacrifice a creature. Check to see if the AI has something
|
// When ETB, sacrifice a creature. Check to see if the AI has something
|
||||||
|
|||||||
Reference in New Issue
Block a user