forked from IceYGO/windbot
-
-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Util.GetBestEnemyCard()
canBeTarget parameter doesn't seem to work unless onlyFaceup is also true, so when the only available targets are cards like Dragun of the red-eyes the effect will activate and causes the ai to target one of its own cards
I:P masquerena effect
private bool IPMasquerenaEffect()
{
int[] materials1 = new[] {
CardId.CCrushWyvern,
CardId.BBusterDrake,
CardId.AAssaultCore,
CardId.IPMasquerena,
};
int[] materials2 = new[] {
CardId.IPMasquerena,
CardId.UnionCarrier,
CardId.KnightmareCerberus,
CardId.KnightmarePhoenix,
CardId.KnightmareUnicorn,
};
if (Duel.LastChainPlayer == 0)
return false;
ClientCard LastChainCard = Util.GetLastChainCard();
if (LastChainCard != null && LastChainCard.IsCode(MonsterMassRemoval))
{
if (Bot.HasInMonstersZone(CardId.ABCDragonBuster))
{
AI.SelectCard(CardId.ApollousaBOG);
AI.SelectMaterials(materials1);
return true;
}I have it so the ai would chain abc to masquerena effect, but if it does when the chain resolves masquerena the ai won't select the correct monster/materials to summon
Metadata
Metadata
Assignees
Labels
No labels