Commit 7d43f7bc authored by mercury233's avatar mercury233

small update to the lightsworn deck

parent be393710
#created by ... #created by ...
#main #main
77558536
18144506
57774843 57774843
57774843 57774843
57774843 57774843
...@@ -9,7 +11,6 @@ ...@@ -9,7 +11,6 @@
59019082 59019082
77558536 77558536
77558536 77558536
77558536
22624373 22624373
22624373 22624373
67696066 67696066
...@@ -34,7 +35,6 @@ ...@@ -34,7 +35,6 @@
691925 691925
691925 691925
5133471 5133471
18144506
32807846 32807846
73594093 73594093
94886282 94886282
......
...@@ -120,12 +120,18 @@ namespace WindBot.Game.AI.Decks ...@@ -120,12 +120,18 @@ namespace WindBot.Game.AI.Decks
private bool ReinforcementOfTheArmyEffect() private bool ReinforcementOfTheArmyEffect()
{ {
if (!Bot.HasInHand(CardId.Goblindbergh)) if (!Bot.HasInHand(CardId.Raiden))
AI.SelectCard(CardId.Goblindbergh); {
else if (!Bot.HasInHand(CardId.Raiden))
AI.SelectCard(CardId.Raiden); AI.SelectCard(CardId.Raiden);
return true; return true;
} }
else if (!Bot.HasInHand(CardId.Goblindbergh))
{
AI.SelectCard(CardId.Goblindbergh);
return true;
}
return false;
}
private bool ChargeOfTheLightBrigadeEffect() private bool ChargeOfTheLightBrigadeEffect()
{ {
...@@ -157,9 +163,9 @@ namespace WindBot.Game.AI.Decks ...@@ -157,9 +163,9 @@ namespace WindBot.Game.AI.Decks
private bool GoblindberghSummon() private bool GoblindberghSummon()
{ {
foreach (ClientCard card in Bot.Hand) foreach (ClientCard card in Bot.Hand.GetMonsters())
{ {
if (card != Card && card.IsMonster() && card.Level == 4) if (!card.Equals(Card) && card.Level == 4)
return true; return true;
} }
return false; return false;
...@@ -178,6 +184,32 @@ namespace WindBot.Game.AI.Decks ...@@ -178,6 +184,32 @@ namespace WindBot.Game.AI.Decks
return true; return true;
} }
private bool LuminaEffect()
{
if (!Bot.HasInGraveyard(CardId.Raiden) && Bot.HasInHand(CardId.Raiden))
{
AI.SelectCard(CardId.Raiden);
}
else if (!ClownUsed && Bot.HasInHand(CardId.PerformageTrickClown))
{
AI.SelectCard(CardId.PerformageTrickClown);
}
else
{
AI.SelectCard(new[] {
CardId.Wulf,
CardId.Felis,
CardId.Minerva,
CardId.ThousandBlades
});
}
AI.SelectNextCard(new[] {
CardId.Raiden,
CardId.Felis
});
return true;
}
private bool PerformageTrickClownEffect() private bool PerformageTrickClownEffect()
{ {
ClownUsed = true; ClownUsed = true;
...@@ -185,9 +217,48 @@ namespace WindBot.Game.AI.Decks ...@@ -185,9 +217,48 @@ namespace WindBot.Game.AI.Decks
return true; return true;
} }
private bool MinervaTheExaltedEffect()
{
if (Card.Location == CardLocation.MonsterZone)
{
return true;
}
else
{
IList<ClientCard> targets = new List<ClientCard>();
ClientCard target1 = AI.Utils.GetBestEnemyMonster();
if (target1 != null)
targets.Add(target1);
ClientCard target2 = AI.Utils.GetBestEnemySpell();
if (target2 != null)
targets.Add(target2);
foreach (ClientCard target in Enemy.GetMonsters())
{
if (targets.Count >= 3)
break;
if (!targets.Contains(target))
targets.Add(target);
}
foreach (ClientCard target in Enemy.GetSpells())
{
if (targets.Count >= 3)
break;
if (!targets.Contains(target))
targets.Add(target);
}
if (targets.Count == 0)
return false;
AI.SelectNextCard(targets);
return true;
}
}
private bool HonestEffect() private bool HonestEffect()
{ {
return Duel.Phase != DuelPhase.Main1; return Duel.Phase != DuelPhase.Main1;
} }
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment