Commit 4f4e4008 authored by 苍蓝's avatar 苍蓝

update TheLegend

parent 8026386f
Pipeline #5831 passed with stage
in 34 seconds
......@@ -18,3 +18,8 @@ SUPPORT_MASTER_RULE_3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020
Name=大恐龙驾 Deck=DinocarriageDynarmix Dialog=zh-CN
恐龙卡组。
SUPPORT_MASTER_RULE_3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020
!传说子
Name=传说子 Deck=TheLegend Dialog=rd
大量传说卡堆成的卡组。
SUPPORT_MASTER_RULE_3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020
\ No newline at end of file
#created by ...
#main
120120000
120120000
120170000
120170000
120110001
120110001
120110001
120183000
120194002
120194002
120194002
120194003
120194003
120194003
120151010
120151010
120151010
120110009
120110009
120110009
120170035
120170035
120120017
120120017
120120017
120151023
120151023
120151023
120181003
120181003
120181003
120151018
120151018
120151018
120194004
120194005
120194005
120150019
120150019
120150019
#extra
!side
120198003
120198003
120198003
\ No newline at end of file
{
"welcome": [
"你好,我是一个机器人,咱的名字叫羽柔子,但咱并不是本体,只是一个幻术分身哦。",
"那我们开始吧,我已经布置好隔音符文和隐身符文了,不会有人打扰我们的哦",
"AI功能正在测试中,遇到问题请及时反馈。"
],
"deckerror": [
"怎么回事,居然不让咱使用{0}!"
],
"duelstart": [
"我可是认真的",
"咱可不会手下留情的哦",
"前辈最好打起精神哦",
"另外...今天我的道号是什么呢,我的阿爹还没给咱想好呢"
],
"newturn": [
"又到咱的回合了,抽卡",
"嘻嘻!偷偷使用个幻术,从卡组挑选了1张卡。"
],
"endturn": [
"前辈的小心点哦,下个回合你得加油了。",
"咱的回合结束了,我使用了瞳术天赋,你的下抽是什么我都知道了哦"
],
"directattack": [
"哈哈,咱就不客气了哦,咱偷偷给{0}加个力量符文",
"前辈,你已经没有怪兽了呢,看咱给{0}加个加速符文吧",
"前辈,你松懈了哦,啊不好,咱不小心弄丢了宋前辈给我的{0}",
"咱的{0}可是附加了加倍符文哦,前辈要小心了"
],
"attack": [
"前辈的{1}好像打不过咱的{0}哦",
"{1}肯定不如{0}的,咱的{0}可是附加了敏捷符文哦~",
"{1}看起来不行了呢,咱的{0}可是带了三品法宝的哦"
],
"ondirectattack": [
"前辈,你都不让一下咱的吗",
"哇,你的{0}我好想要一只哦",
"前辈欺负咱,咱可要告诉阿爹去了!"
],
"facedownmonstername": "怪兽",
"activate": [
"咱的{0}亮出你的符文吧!",
"咱的{0}快使用你的御剑术!",
"咱的{0}快拿出你的法宝!"
],
"summon": [
"哈哈,咱从一寸蛇袋里找到了一只{0},前辈要小心了",
"嘻嘻,这只{0}是黄山前辈送咱的呢",
"太好了,我从阿爹给我的乾坤袋中找到了一只{0}。",
"前辈你好像大意了哦,触发了我的召唤符文,{0}是给前辈的惊喜呢"
],
"setmonster": [
"偷偷布置一个符文,千万别被前辈发现了呢",
"猜猜我设下的是什么阵法呢"
],
"chaining": [
"哎呀,咱好像不小心碰到什么机关了,原来,白前辈送我的{0}竟然有螺旋升天的符文呢",
"前辈小心了,{0}可是七生符前辈送咱的符文呢",
"哈哈,前辈,喜欢咱的{0}这个惊喜吗"
]
}
......@@ -55,13 +55,15 @@ namespace WindBot.Game.AI.Decks
AddExecutor(ExecutorType.Activate, CardId.落穴, 落穴Effect);
AddExecutor(ExecutorType.Activate, CardId.对死者的供奉, 死供Effect);
AddExecutor(ExecutorType.SpellSet, CardId.对死者的供奉);
AddExecutor(ExecutorType.MonsterSet, CardId.凤凰龙, monsterset);
AddExecutor(ExecutorType.Activate, CardId.凤凰龙);
AddExecutor(ExecutorType.Summon, CardId.凤凰龙, 凤凰龙summon);
AddExecutor(ExecutorType.MonsterSet, CardId.凤凰龙);
AddExecutor(ExecutorType.MonsterSet, CardId.火星心少女, monsterset);
AddExecutor(ExecutorType.MonsterSet, CardId.七星道法师, monsterset);
AddExecutor(ExecutorType.MonsterSet, CardId.耳语妖精, monsterset);
AddExecutor(ExecutorType.Summon, CardId.七星道法师);
AddExecutor(ExecutorType.Summon, CardId.凤凰龙);
AddExecutor(ExecutorType.Activate, CardId.凤凰龙);
AddExecutor(ExecutorType.SummonOrSet, DefaultMonsterSummon);
AddExecutor(ExecutorType.Repos, DefaultMonsterRepos);
AddExecutor(ExecutorType.SpellSet);
......@@ -188,11 +190,13 @@ namespace WindBot.Game.AI.Decks
{
foreach (ClientCard m in Bot.Hand)
AI.SelectCard(m);
if (Enemy.GetMonsters().GetHighestAttackMonster() == null)
{
AI.SelectNextCard(Enemy.MonsterZone.GetHighestDefenseMonster());
}
AI.SelectNextCard(Enemy.MonsterZone.GetHighestAttackMonster());
foreach (ClientCard mon in Enemy.GetMonsters())
if (mon.Level >= 9)
AI.SelectNextCard(mon);
else if (mon.Level >= 8)
AI.SelectNextCard(mon);
else if (mon.Level >= 7)
AI.SelectNextCard(mon);
return true;
}
return false;
......@@ -202,7 +206,12 @@ namespace WindBot.Game.AI.Decks
AI.SelectCard(Enemy.GetMonsters().GetHighestAttackMonster());
return true;
}
private bool 凤凰龙summon()
{
if (Bot.HasInGraveyard(new[] { CardId.连击龙, CardId.青眼白龙 }))
return true;
return false;
}
......
......@@ -61,13 +61,15 @@ namespace WindBot.Game.AI.Decks
AddExecutor(ExecutorType.Activate, CardId.落穴, 落穴Effect);
AddExecutor(ExecutorType.Activate, CardId.对死者的供奉, 死供Effect);
AddExecutor(ExecutorType.SpellSet, CardId.对死者的供奉);
AddExecutor(ExecutorType.MonsterSet, CardId.凤凰龙, monsterset);
AddExecutor(ExecutorType.Activate, CardId.凤凰龙);
AddExecutor(ExecutorType.Summon, CardId.凤凰龙, 凤凰龙summon);
AddExecutor(ExecutorType.MonsterSet, CardId.凤凰龙);
AddExecutor(ExecutorType.MonsterSet, CardId.火星心少女, monsterset);
AddExecutor(ExecutorType.MonsterSet, CardId.七星道法师, monsterset);
AddExecutor(ExecutorType.MonsterSet, CardId.耳语妖精, monsterset);
AddExecutor(ExecutorType.Summon, CardId.七星道法师);
AddExecutor(ExecutorType.Summon, CardId.凤凰龙);
AddExecutor(ExecutorType.Activate, CardId.凤凰龙);
AddExecutor(ExecutorType.SummonOrSet, DefaultMonsterSummon);
AddExecutor(ExecutorType.Repos, DefaultMonsterRepos);
AddExecutor(ExecutorType.SpellSet);
......@@ -186,11 +188,17 @@ namespace WindBot.Game.AI.Decks
}
private bool 死供Effect()
{
if (Util.IsOneEnemyBetterThanValue(1900, true))
if (Util.IsOneEnemyBetterThanValue(1900, false))
{
foreach (ClientCard m in Bot.Hand)
AI.SelectCard(m);
AI.SelectNextCard(Enemy.GetMonsters().GetHighestAttackMonster());
foreach (ClientCard mon in Enemy.GetMonsters())
if (mon.Level >= 9)
AI.SelectNextCard(mon);
else if (mon.Level >= 8)
AI.SelectNextCard(mon);
else if (mon.Level >= 7)
AI.SelectNextCard(mon);
return true;
}
return false;
......@@ -204,7 +212,12 @@ namespace WindBot.Game.AI.Decks
AI.SelectYesNo(true);
return true;
}
private bool 凤凰龙summon()
{
if (Bot.HasInGraveyard(new[] { CardId.连击龙, CardId.青眼白龙 }))
return true;
return false;
}
}
......
This diff is collapsed.
......@@ -697,8 +697,8 @@ namespace WindBot.Game.AI
if (Card.Level <= 4)
return true;
if (!UniqueFaceupMonster())
return false;
//if (!UniqueFaceupMonster())
// return false;
int tributecount = (int)Math.Ceiling((Card.Level - 4.0d) / 2.0d);
for (int j = 0; j < 7; ++j)
{
......
......@@ -85,6 +85,7 @@
<Compile Include="Game\AI\Decks\SkyStrikerExecutor.cs" />
<Compile Include="Game\AI\Decks\MokeyMokeyKingExecutor.cs" />
<Compile Include="Game\AI\Decks\MokeyMokeyExecutor.cs" />
<Compile Include="Game\AI\Decks\TheLegendExecutor.cs" />
<Compile Include="Game\AI\Decks\TimeThiefExecutor.cs" />
<Compile Include="Game\AI\Decks\ToadallyAwesomeExecutor.cs" />
<Compile Include="Game\AI\Decks\NekrozExecutor.cs" />
......
......@@ -15,6 +15,12 @@
"name": "大恐龙架",
"deck": "DinocarriageDynarmix",
"dialog": "zh-CN"
},
{
"name": "传说子",
"deck": "TheLegend",
"dialog": "rd"
}
]
}
\ 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