Commit 780b6d6c authored by 苍蓝's avatar 苍蓝

update

parent 1f9ceee2
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
120130029 120130029
120130029 120130029
120130029 120130029
120231056
120130005 120130005
120130005 120130005
120151012 120151012
...@@ -20,7 +21,6 @@ ...@@ -20,7 +21,6 @@
120151012 120151012
120151013 120151013
120151013 120151013
120151013
120151011 120151011
120151009 120151009
120151009 120151009
......
...@@ -14,6 +14,7 @@ namespace WindBot.Game.AI.Decks ...@@ -14,6 +14,7 @@ namespace WindBot.Game.AI.Decks
public class CardId public class CardId
{ {
public const int 超级恐龙王 = 120130029; public const int 超级恐龙王 = 120130029;
public const int 凶怒甲龙 = 120231056;
public const int 巨身多角龙 = 120130005; public const int 巨身多角龙 = 120130005;
public const int 荒野盗龙 = 120151012; public const int 荒野盗龙 = 120151012;
public const int 名流雷龙 = 120151013; public const int 名流雷龙 = 120151013;
...@@ -40,11 +41,20 @@ namespace WindBot.Game.AI.Decks ...@@ -40,11 +41,20 @@ namespace WindBot.Game.AI.Decks
AddExecutor(ExecutorType.Activate, CardId.抑龙); AddExecutor(ExecutorType.Activate, CardId.抑龙);
AddExecutor(ExecutorType.Activate, CardId.成金恐龙王, 成金恐龙王Effect); AddExecutor(ExecutorType.Activate, CardId.成金恐龙王, 成金恐龙王Effect);
AddExecutor(ExecutorType.Activate, CardId.机械镰刀盗龙, 机械镰刀盗龙Effect); AddExecutor(ExecutorType.Activate, CardId.机械镰刀盗龙, 机械镰刀盗龙Effect);
AddExecutor(ExecutorType.Summon, CardId.大恐龙驾L, MAXLsummon); AddExecutor(ExecutorType.Summon, CardId.大恐龙驾L, MAXLsummon);
AddExecutor(ExecutorType.Summon, CardId.大恐龙驾R, MAXRsummon); AddExecutor(ExecutorType.Summon, CardId.大恐龙驾R, MAXRsummon);
AddExecutor(ExecutorType.Activate, CardId.奇迹的共进化, 奇迹的共进化Effect); AddExecutor(ExecutorType.Activate, CardId.奇迹的共进化, 奇迹的共进化Effect);
AddExecutor(ExecutorType.Repos, CardId.大恐龙驾L, 共进化repos);
AddExecutor(ExecutorType.Repos, CardId.大恐龙驾R, 共进化repos);
AddExecutor(ExecutorType.Repos, CardId.抑龙, 共进化repos);
AddExecutor(ExecutorType.Repos, CardId.机械镰刀盗龙, 共进化repos);
AddExecutor(ExecutorType.Repos, CardId.成金恐龙王, 共进化repos);
AddExecutor(ExecutorType.Repos, CardId.名流雷龙, 共进化repos);
AddExecutor(ExecutorType.Repos, CardId.荒野盗龙, 共进化repos);
AddExecutor(ExecutorType.Summon, CardId.巨身多角龙, DefaultMonsterSummon); AddExecutor(ExecutorType.Summon, CardId.巨身多角龙, DefaultMonsterSummon);
AddExecutor(ExecutorType.Summon, CardId.超级恐龙王, DefaultMonsterSummon); AddExecutor(ExecutorType.Summon, CardId.超级恐龙王, DefaultMonsterSummon);
AddExecutor(ExecutorType.Summon, CardId.凶怒甲龙, DefaultMonsterSummon);
AddExecutor(ExecutorType.Activate, CardId.超级恐龙王, 超级恐龙王Effect); AddExecutor(ExecutorType.Activate, CardId.超级恐龙王, 超级恐龙王Effect);
AddExecutor(ExecutorType.Summon, CardId.机械镰刀盗龙); AddExecutor(ExecutorType.Summon, CardId.机械镰刀盗龙);
AddExecutor(ExecutorType.Summon, CardId.抑龙, 抑龙Summon); AddExecutor(ExecutorType.Summon, CardId.抑龙, 抑龙Summon);
...@@ -60,6 +70,9 @@ namespace WindBot.Game.AI.Decks ...@@ -60,6 +70,9 @@ namespace WindBot.Game.AI.Decks
AddExecutor(ExecutorType.MonsterSet, CardId.成金恐龙王); AddExecutor(ExecutorType.MonsterSet, CardId.成金恐龙王);
AddExecutor(ExecutorType.MonsterSet, CardId.名流雷龙, monsterset); AddExecutor(ExecutorType.MonsterSet, CardId.名流雷龙, monsterset);
AddExecutor(ExecutorType.Activate, CardId.侏罗纪世界); AddExecutor(ExecutorType.Activate, CardId.侏罗纪世界);
AddExecutor(ExecutorType.Activate, CardId.凶怒甲龙);
AddExecutor(ExecutorType.Activate, _CardId.圣防, 圣防Effect);
AddExecutor(ExecutorType.Activate, _CardId.魔法筒, 魔法筒Effect);
AddExecutor(ExecutorType.Activate, CardId.恐力重压); AddExecutor(ExecutorType.Activate, CardId.恐力重压);
AddExecutor(ExecutorType.Activate, CardId.超越进化, 超越进化Effect); AddExecutor(ExecutorType.Activate, CardId.超越进化, 超越进化Effect);
AddExecutor(ExecutorType.SpellSet); AddExecutor(ExecutorType.SpellSet);
...@@ -98,6 +111,7 @@ namespace WindBot.Game.AI.Decks ...@@ -98,6 +111,7 @@ namespace WindBot.Game.AI.Decks
CardId.巨身多角龙, CardId.巨身多角龙,
CardId.成金恐龙王, CardId.成金恐龙王,
CardId.机械镰刀盗龙, CardId.机械镰刀盗龙,
CardId.凶怒甲龙,
CardId.超级恐龙王, CardId.超级恐龙王,
CardId.大恐龙驾, CardId.大恐龙驾,
CardId.大恐龙驾L, CardId.大恐龙驾L,
...@@ -183,6 +197,7 @@ namespace WindBot.Game.AI.Decks ...@@ -183,6 +197,7 @@ namespace WindBot.Game.AI.Decks
else if (Bot.HasInHand(new[] { else if (Bot.HasInHand(new[] {
CardId.巨身多角龙, CardId.巨身多角龙,
CardId.超级恐龙王, CardId.超级恐龙王,
CardId.凶怒甲龙,
})) }))
return false; return false;
return true; return true;
...@@ -207,13 +222,21 @@ namespace WindBot.Game.AI.Decks ...@@ -207,13 +222,21 @@ namespace WindBot.Game.AI.Decks
} }
private bool 奇迹的共进化Effect() private bool 奇迹的共进化Effect()
{ {
if (Bot.HasInHand(CardId.超级恐龙王)) if (Bot.HasInMonstersZone(CardId.大恐龙驾)) return false;
{ if (Bot.HasInHand(CardId.超级恐龙王) && Bot.MonsterZone.GetMatchingCardsCount(card => card.Level < 7) >= 1 && (Bot.HasInGraveyard(CardId.巨身多角龙) || Bot.HasInGraveyard(CardId.荒野盗龙)))
if (Bot.HasInMonstersZone(CardId.大恐龙驾))
{ {
return false; AI.SelectCard(
CardId.大恐龙驾L,
CardId.大恐龙驾R,
CardId.抑龙,
CardId.名流雷龙,
CardId.荒野盗龙,
CardId.巨身多角龙
);
AI.SelectNextCard(CardId.超级恐龙王); return true;
} }
else if (Bot.HasInHand(CardId.凶怒甲龙) && Bot.MonsterZone.GetMatchingCardsCount(card => card.Level < 5) >=1)
{
AI.SelectCard( AI.SelectCard(
CardId.大恐龙驾L, CardId.大恐龙驾L,
CardId.大恐龙驾R, CardId.大恐龙驾R,
...@@ -222,8 +245,19 @@ namespace WindBot.Game.AI.Decks ...@@ -222,8 +245,19 @@ namespace WindBot.Game.AI.Decks
CardId.荒野盗龙, CardId.荒野盗龙,
CardId.巨身多角龙 CardId.巨身多角龙
); );
AI.SelectNextCard(CardId.超级恐龙王); AI.SelectNextCard(CardId.凶怒甲龙); return true;
return true; }
if (Bot.HasInHand(CardId.超级恐龙王) && Bot.MonsterZone.GetMatchingCardsCount(card => card.Level < 5) >= 1)
{
AI.SelectCard(
CardId.大恐龙驾L,
CardId.大恐龙驾R,
CardId.抑龙,
CardId.名流雷龙,
CardId.荒野盗龙,
CardId.巨身多角龙
);
AI.SelectNextCard(CardId.超级恐龙王); return true;
} }
return false; return false;
} }
...@@ -289,7 +323,8 @@ namespace WindBot.Game.AI.Decks ...@@ -289,7 +323,8 @@ namespace WindBot.Game.AI.Decks
{ {
AI.SelectCard( AI.SelectCard(
CardId.大恐龙驾, CardId.大恐龙驾,
CardId.超级恐龙王 CardId.超级恐龙王,
CardId.凶怒甲龙
); );
return true; return true;
} }
...@@ -302,15 +337,21 @@ namespace WindBot.Game.AI.Decks ...@@ -302,15 +337,21 @@ namespace WindBot.Game.AI.Decks
); );
return true; return true;
} }
private bool 共进化repos()
{
if (Bot.HasInHandOrInSpellZone(CardId.奇迹的共进化) && (Bot.GetCountCardInZone(Bot.Hand, CardId.凶怒甲龙) + Bot.GetCountCardInZone(Bot.Hand, CardId.超级恐龙王) >= 1))
return true;
return false;
}
private bool MAXLsummon() private bool MAXLsummon()
{ {
if (Bot.GetCountCardInZone(Bot.Hand, CardId.大恐龙驾L) >= 2 && Bot.GetCountCardInZone(Bot.Hand, CardId.奇迹的共进化) >= 1 && Bot.GetCountCardInZone(Bot.Hand, CardId.超级恐龙王) >= 1) if (Bot.GetCountCardInZone(Bot.Hand, CardId.大恐龙驾L) >= 2 && Bot.HasInHandOrInSpellZone(CardId.奇迹的共进化) && (Bot.GetCountCardInZone(Bot.Hand, CardId.凶怒甲龙) + Bot.GetCountCardInZone(Bot.Hand, CardId.超级恐龙王) >= 1))
return true; return true;
return false; return false;
} }
private bool MAXRsummon() private bool MAXRsummon()
{ {
if (Bot.GetCountCardInZone(Bot.Hand, CardId.大恐龙驾R) >= 2 && Bot.GetCountCardInZone(Bot.Hand, CardId.奇迹的共进化) >= 1 && Bot.GetCountCardInZone(Bot.Hand, CardId.超级恐龙王) >= 1) if (Bot.GetCountCardInZone(Bot.Hand, CardId.大恐龙驾R) >= 2 && Bot.HasInHandOrInSpellZone(CardId.奇迹的共进化) && (Bot.GetCountCardInZone(Bot.Hand, CardId.凶怒甲龙)+ Bot.GetCountCardInZone(Bot.Hand, CardId.超级恐龙王) >= 1))
return true; return true;
return false; return 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