Commit ee4903b9 authored by 苍蓝's avatar 苍蓝

update

parent cfdfd02a
#created by ...
#main
120183063
120183024
120183031
120183031
120183031
120183054
120183054
120193002
120193002
120193002
120183002
120183002
120181001
120181001
120181001
120155015
120155015
120155015
120183024
120183030
120183030
120183030
120151010
120181011
120181011
120181011
120193003
120193003
120193003
120130039
120130039
120183054
120151023
120155060
120155060
120183062
120183062
120183063
120183063
120183064
#extra
!side
......@@ -24,6 +24,8 @@ namespace WindBot.Game.AI.Decks
public const int 雅灭鲁拉 = 120120029;
public const int 耳语妖精 = 120120018;
public const int 神秘庄家 = 120105006;
public const int 光芒巫师 = 120145001;
public const int 暗黑巫师 = 120105005;
public const int 火星心少女 = 120145014;
public const int 斗牛士 = 120170035;
public const int 凤凰龙 = 120110009;
......@@ -50,7 +52,7 @@ namespace WindBot.Game.AI.Decks
AddExecutor(ExecutorType.Summon, CardId.七星道魔术师, DefaultMonsterSummon);
AddExecutor(ExecutorType.Summon, CardId.人造人, DefaultMonsterSummon);
AddExecutor(ExecutorType.Summon, CardId.神秘庄家);
AddExecutor(ExecutorType.Activate, CardId.神秘庄家);
AddExecutor(ExecutorType.Activate, CardId.神秘庄家, draweffect);
AddExecutor(ExecutorType.SpellSet, CardId.暗黑释放, 圣防Effect);
AddExecutor(ExecutorType.SpellSet, CardId.落穴);
AddExecutor(ExecutorType.Activate, CardId.落穴, 落穴Effect);
......@@ -212,7 +214,7 @@ namespace WindBot.Game.AI.Decks
}
private bool 死供Eff()
{
if (Util.IsOneEnemyBetterThanValue(2500, false))
if (Util.IsOneEnemyBetterThanValue(2600, false))
{
foreach (ClientCard m in Bot.Hand)
AI.SelectCard(m);
......@@ -232,6 +234,20 @@ namespace WindBot.Game.AI.Decks
AI.SelectCard(Enemy.GetMonsters().GetHighestAttackMonster());
return true;
}
private bool draweffect()
{
if ((Bot.MonsterZone.GetMatchingCardsCount(card => card.Level < 5) + Bot.Hand.GetMatchingCardsCount(card => card.Level < 5)) <= 2)
{
if ((Bot.MonsterZone.GetMatchingCardsCount(card => card.Level > 5) > 2) && Bot.HasInHand(CardId.七星道魔术师))
AI.SelectCard(CardId.七星道魔术师);
else
return false;
}
else
AI.SelectCard(CardId.七星道法师, CardId.火星心少女, CardId.耳语妖精, CardId.神秘庄家, CardId.光芒巫师, CardId.暗黑巫师);
return true;
}
private bool 凤凰龙summon()
{
if (Bot.HasInGraveyard(new[] { CardId.连击龙, CardId.青眼白龙 }))
......
......@@ -27,6 +27,8 @@ namespace WindBot.Game.AI.Decks
public const int 雅灭鲁拉 = 120120029;
public const int 耳语妖精 = 120120018;
public const int 神秘庄家 = 120105006;
public const int 光芒巫师 = 120145001;
public const int 暗黑巫师 = 120105005;
public const int 火星心少女 = 120145014;
public const int 斗牛士 = 120170035;
public const int 凤凰龙 = 120110009;
......@@ -56,7 +58,7 @@ namespace WindBot.Game.AI.Decks
AddExecutor(ExecutorType.Summon, CardId.七星道魔术师, DefaultMonsterSummon);
AddExecutor(ExecutorType.Summon, CardId.人造人, DefaultMonsterSummon);
AddExecutor(ExecutorType.Summon, CardId.神秘庄家);
AddExecutor(ExecutorType.Activate, CardId.神秘庄家);
AddExecutor(ExecutorType.Activate, CardId.神秘庄家, draweffect);
AddExecutor(ExecutorType.SpellSet, CardId.暗黑释放, 圣防Effect);
AddExecutor(ExecutorType.SpellSet, CardId.落穴);
AddExecutor(ExecutorType.Activate, CardId.落穴, 落穴Effect);
......@@ -213,7 +215,7 @@ namespace WindBot.Game.AI.Decks
}
private bool 死供Eff()
{
if (Util.IsOneEnemyBetterThanValue(2500, false))
if (Util.IsOneEnemyBetterThanValue(2600, false))
{
foreach (ClientCard m in Bot.Hand)
AI.SelectCard(m);
......@@ -236,6 +238,20 @@ namespace WindBot.Game.AI.Decks
AI.SelectYesNo(true);
return true;
}
private bool draweffect()
{
if ((Bot.MonsterZone.GetMatchingCardsCount(card => card.Level < 5) + Bot.Hand.GetMatchingCardsCount(card => card.Level < 5)) <= 2)
{
if ((Bot.MonsterZone.GetMatchingCardsCount(card => card.Level > 5) > 2) && Bot.HasInHand(CardId.七星道魔术师))
AI.SelectCard(CardId.七星道魔术师);
else
return false;
}
else
AI.SelectCard(CardId.七星道法师, CardId.火星心少女, CardId.耳语妖精, CardId.神秘庄家, CardId.光芒巫师, CardId.暗黑巫师);
return true;
}
private bool 凤凰龙summon()
{
if (Bot.HasInGraveyard(new[] { CardId.连击龙, CardId.青眼白龙 }))
......
......@@ -67,7 +67,7 @@ namespace WindBot.Game.AI.Decks
AddExecutor(ExecutorType.Activate, CardId.最强战旗, 最强战旗Effect);
AddExecutor(ExecutorType.Activate, CardId.对死者的供奉, 死供Effect);
AddExecutor(ExecutorType.MonsterSet, CardId.成金恐龙王);
AddExecutor(ExecutorType.Activate, CardId.工匠无人机);
AddExecutor(ExecutorType.Activate, CardId.工匠无人机,无人机Effect);
AddExecutor(ExecutorType.Summon, CardId.工匠无人机);
AddExecutor(ExecutorType.Summon, CardId.突击坦克, 突击坦克summon);
AddExecutor(ExecutorType.Activate, CardId.死苏, 死苏effect);
......@@ -161,7 +161,7 @@ namespace WindBot.Game.AI.Decks
}
private bool DefaultDoubleSummon()
{
if (!DoubleTribute && Bot.HasInMonstersZone(CardId.双角兽))
if (!DoubleTribute && (Bot.MonsterZone.GetMatchingCardsCount(card => card.IsAttack() && Card.IsCode(CardId.双角兽))) >=1 )
{ AI.SelectCard(CardId.双角兽);
return true;
}
......@@ -271,7 +271,7 @@ namespace WindBot.Game.AI.Decks
}
private bool 死供Eff()
{
if (Util.IsOneEnemyBetterThanValue(2500, false))
if (Util.IsOneEnemyBetterThanValue(2600, false))
{
foreach (ClientCard m in Bot.Hand)
AI.SelectCard(m);
......@@ -381,6 +381,20 @@ namespace WindBot.Game.AI.Decks
}
return false;
}
private bool 无人机Effect()
{
if ((Bot.MonsterZone.GetMatchingCardsCount(card => card.Level < 5)+ Bot.Hand.GetMatchingCardsCount(card => card.Level < 5)) <= 2 )
{
if ((Bot.MonsterZone.GetMatchingCardsCount(card => card.Level > 5) >2))
AI.SelectCard(CardId.最强战旗, CardId.钢机神, CardId.恶德);
else
return false;
}
else
AI.SelectCard(CardId.瞄准鹰, CardId.突击坦克, CardId.工匠无人机, CardId.社员, CardId.旗兽);
return true;
}
private bool 最强战旗Effect()
{
if (Util.IsOneEnemyBetterThanValue(1900, false))
......
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