- Improve the AI use of Sokenzan, tweak the deck a little.

This commit is contained in:
Agetian
2018-11-26 20:44:17 +03:00
parent 4993043e88
commit 9502042d8c
3 changed files with 16 additions and 4 deletions

View File

@@ -1041,6 +1041,18 @@ public class ComputerUtil {
} }
} // AntiBuffedBy } // AntiBuffedBy
// Plane cards that give Haste (e.g. Sokenzan)
for (Card c : ai.getGame().getActivePlanes()) {
for (StaticAbility s : c.getStaticAbilities()) {
if (s.hasParam("AddKeyword")
&& s.getParam("AddKeyword").contains("Haste")
&& "Creature".equals(s.getParam("Affected"))
&& card.isCreature()) {
return true;
}
}
}
final CardCollectionView vengevines = ai.getCardsIn(ZoneType.Graveyard, "Vengevine"); final CardCollectionView vengevines = ai.getCardsIn(ZoneType.Graveyard, "Vengevine");
if (!vengevines.isEmpty()) { if (!vengevines.isEmpty()) {
final CardCollectionView creatures = ai.getCardsIn(ZoneType.Hand); final CardCollectionView creatures = ai.getCardsIn(ZoneType.Hand);

View File

@@ -8,7 +8,7 @@ Name=Ninjas of Kamigawa
1 Gifts Ungiven|CHK 1 Gifts Ungiven|CHK
1 Higure, the Still Wind|BOK 1 Higure, the Still Wind|BOK
1 Ink-Eyes, Servant of Oni|BOK 1 Ink-Eyes, Servant of Oni|BOK
9 Island|CHK 8 Island|CHK
1 Kira, Great Glass-Spinner|BOK 1 Kira, Great Glass-Spinner|BOK
1 Kusari-Gama|CHK 1 Kusari-Gama|CHK
1 Lifted by Clouds|CHK 1 Lifted by Clouds|CHK
@@ -23,10 +23,10 @@ Name=Ninjas of Kamigawa
1 Phantom Wings|BOK 1 Phantom Wings|BOK
1 Shizo, Death's Storehouse|CHK 1 Shizo, Death's Storehouse|CHK
1 Shuriken|BOK 1 Shuriken|BOK
1 Silent-Blade Oni|PCA
1 Skullsnatcher|BOK 1 Skullsnatcher|BOK
1 Soratami Savant|CHK
1 Student of Elements|CHK 1 Student of Elements|CHK
3 Swamp|CHK 4 Swamp|CHK
1 Throat Slitter|BOK 1 Throat Slitter|BOK
1 Umezawa's Jitte|BOK 1 Umezawa's Jitte|BOK
1 Walker of Secret Ways|BOK 1 Walker of Secret Ways|BOK

View File

@@ -1,6 +1,6 @@
Name:Higure, the Still Wind|Deck:Higure, the Still Wind.dck|Variant:Commander|Avatar:Higure, the Still Wind|Desc: Name:Higure, the Still Wind|Deck:Higure, the Still Wind.dck|Variant:Commander|Avatar:Higure, the Still Wind|Desc:
Name:Azami, Lady of Scrolls|Deck:Azami, Lady of Scrolls.dck|Variant:Commander|Avatar:Azami, Lady of Scrolls|Desc: Name:Azami, Lady of Scrolls|Deck:Azami, Lady of Scrolls.dck|Variant:Commander|Avatar:Azami, Lady of Scrolls|Desc:
Name:Ninjas of Kamigawa|Deck:Ninjas of Kamigawa.dck|Variant:Planechase|Avatar:Ninjas of Kamigawa|Desc: Name:Ninjas of Kamigawa|Deck:Ninjas of Kamigawa.dck|Variant:Planechase|Avatar:Silent-Blade Oni|Desc:
Name:EVENT4|Deck:Random|Variant:None|Avatar:None|Desc: Name:EVENT4|Deck:Random|Variant:None|Avatar:None|Desc:
Name:EVENT5|Deck:Random|Variant:None|Avatar:None|Desc: Name:EVENT5|Deck:Random|Variant:None|Avatar:None|Desc:
Name:EVENT6|Deck:Random|Variant:None|Avatar:None|Desc: Name:EVENT6|Deck:Random|Variant:None|Avatar:None|Desc: