Commit f3d66bd5 authored by 苍蓝's avatar 苍蓝

update

parent 9b7a4b4f
Pipeline #5935 passed with stage
in 38 seconds
...@@ -24,7 +24,6 @@ namespace WindBot.Game.AI.Decks ...@@ -24,7 +24,6 @@ namespace WindBot.Game.AI.Decks
public const int 机器栗子 = 120120017; public const int 机器栗子 = 120120017;
public const int 斗牛士 = 120170035; public const int 斗牛士 = 120170035;
public const int 凤凰龙 = 120110009; public const int 凤凰龙 = 120110009;
public const int 七星道法师 = 120130016;
public const int 死苏 = 120194004; public const int 死苏 = 120194004;
public const int 成金哥布林 = 120151018; public const int 成金哥布林 = 120151018;
public const int 强欲之壶 = 120181003; public const int 强欲之壶 = 120181003;
...@@ -51,14 +50,15 @@ namespace WindBot.Game.AI.Decks ...@@ -51,14 +50,15 @@ namespace WindBot.Game.AI.Decks
AddExecutor(ExecutorType.SummonOrSet, CardId.电子科技翼龙, DefaultMonsterSummon); AddExecutor(ExecutorType.SummonOrSet, CardId.电子科技翼龙, DefaultMonsterSummon);
AddExecutor(ExecutorType.Summon, CardId.机器栗子,栗子summon); AddExecutor(ExecutorType.Summon, CardId.机器栗子,栗子summon);
AddExecutor(ExecutorType.Activate, CardId.死苏, 死苏effect); AddExecutor(ExecutorType.Activate, CardId.死苏, 死苏effect);
AddExecutor(ExecutorType.Activate, CardId.死苏, 死苏effect2); AddExecutor(ExecutorType.Activate, CardId.死苏, 死苏effect2);
AddExecutor(ExecutorType.MonsterSet, CardId.斗牛士, Monsterset);
AddExecutor(ExecutorType.Summon, CardId.斗牛士); AddExecutor(ExecutorType.Summon, CardId.斗牛士);
AddExecutor(ExecutorType.Activate, CardId.凤凰龙); AddExecutor(ExecutorType.Activate, CardId.凤凰龙);
AddExecutor(ExecutorType.Activate, CardId.对死者的供奉, 死供Effect); AddExecutor(ExecutorType.Activate, CardId.对死者的供奉, 死供Effect);
AddExecutor(ExecutorType.SummonOrSet, CardId.成金恐龙王, 成金恐龙王Summon); AddExecutor(ExecutorType.SummonOrSet, CardId.成金恐龙王, 成金恐龙王Summon);
AddExecutor(ExecutorType.Summon, CardId.血腥魔兽人); AddExecutor(ExecutorType.SummonOrSet, CardId.血腥魔兽人);
AddExecutor(ExecutorType.Summon, CardId.凤凰龙, 凤凰龙summon); AddExecutor(ExecutorType.Summon, CardId.凤凰龙, 凤凰龙summon);
AddExecutor(ExecutorType.SpellSet, CardId.圣防); AddExecutor(ExecutorType.SpellSet, CardId.圣防);
AddExecutor(ExecutorType.SpellSet, CardId.落穴); AddExecutor(ExecutorType.SpellSet, CardId.落穴);
...@@ -69,7 +69,7 @@ namespace WindBot.Game.AI.Decks ...@@ -69,7 +69,7 @@ namespace WindBot.Game.AI.Decks
AddExecutor(ExecutorType.SpellSet, CardId.对死者的供奉); AddExecutor(ExecutorType.SpellSet, CardId.对死者的供奉);
AddExecutor(ExecutorType.MonsterSet, CardId.圣精灵); AddExecutor(ExecutorType.MonsterSet, CardId.圣精灵);
AddExecutor(ExecutorType.MonsterSet, CardId.凤凰龙); AddExecutor(ExecutorType.MonsterSet, CardId.凤凰龙);
AddExecutor(ExecutorType.MonsterSet, CardId.斗牛士, monsterset);
AddExecutor(ExecutorType.MonsterSet, CardId.机器栗子); AddExecutor(ExecutorType.MonsterSet, CardId.机器栗子);
AddExecutor(ExecutorType.MonsterSet, CardId.成金恐龙王); AddExecutor(ExecutorType.MonsterSet, CardId.成金恐龙王);
...@@ -140,7 +140,7 @@ namespace WindBot.Game.AI.Decks ...@@ -140,7 +140,7 @@ namespace WindBot.Game.AI.Decks
// go first // go first
return true; return true;
} }
public bool monsterset() public bool Monsterset()
{ {
if (Duel.Turn == 1) if (Duel.Turn == 1)
{ {
...@@ -157,18 +157,7 @@ namespace WindBot.Game.AI.Decks ...@@ -157,18 +157,7 @@ namespace WindBot.Game.AI.Decks
return false; return false;
return true; return true;
} }
private bool 耳语妖精Effect()
{
IList<ClientCard> targets = new List<ClientCard>();
foreach (ClientCard card in Enemy.GetGraveyardMonsters())
{
if (card.Level <= 4)
targets.Add(card);
}
return true;
}
private bool 落穴Effect() private bool 落穴Effect()
{ {
foreach (ClientCard n in Duel.LastSummonedCards) foreach (ClientCard n in Duel.LastSummonedCards)
...@@ -187,7 +176,7 @@ namespace WindBot.Game.AI.Decks ...@@ -187,7 +176,7 @@ namespace WindBot.Game.AI.Decks
} }
private bool 炸甲Effect() private bool 炸甲Effect()
{ {
if (Enemy.BattlingMonster.Attack > 1900) if (Enemy.BattlingMonster.Attack > 1500)
return true; return true;
return false; return false;
} }
...@@ -201,10 +190,10 @@ namespace WindBot.Game.AI.Decks ...@@ -201,10 +190,10 @@ namespace WindBot.Game.AI.Decks
}; };
if (!Bot.HasInGraveyard(targets) || !Enemy.HasInGraveyard(targets)) if (!Bot.HasInGraveyard(targets) || !Enemy.HasInGraveyard(targets))
{ {
return false; AI.SelectCard(targets);
return true;
} }
AI.SelectCard(targets); return false;
return true;
} }
private bool 死苏effect2() private bool 死苏effect2()
{ {
...@@ -240,14 +229,7 @@ namespace WindBot.Game.AI.Decks ...@@ -240,14 +229,7 @@ namespace WindBot.Game.AI.Decks
return true; return true;
return false; return false;
} }
private bool 火星心少女Effect()
{
foreach (ClientCard m in Bot.Hand)
AI.SelectCard(m);
AI.SelectNextCard(Enemy.GetMonsters().GetHighestAttackMonster());
AI.SelectYesNo(true);
return true;
}
private bool 死供Effect() private bool 死供Effect()
{ {
if (Util.IsOneEnemyBetterThanValue(1900, false)) if (Util.IsOneEnemyBetterThanValue(1900, false))
...@@ -278,13 +260,6 @@ namespace WindBot.Game.AI.Decks ...@@ -278,13 +260,6 @@ namespace WindBot.Game.AI.Decks
} }
// return false; // return false;
} }
private bool 七星道法师Effect()
{
AI.SelectCard(Enemy.GetMonsters().GetHighestAttackMonster());
return true;
}
} }
......
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