Commit 97ef826c authored by mercury233's avatar mercury233

update decks

parent 9881ad0c
......@@ -7,6 +7,7 @@
2851070
97396380
97396380
97396380
26302522
26302522
26302522
......@@ -19,26 +20,25 @@
44789585
44789585
44789585
19523799
19523799
19523799
45311864
45311864
45311864
20264508
20264508
46918794
46918794
46918794
72302403
72302403
72302403
98380593
8842266
79323590
79323590
85562745
85562745
29843091
36468556
62279055
62279055
62279055
1918087
1918087
48276469
98139712
98139712
98139712
#extra
!side
......@@ -2,26 +2,27 @@
#main
28601770
28601770
18842395
18842395
18842395
70095155
70095155
70095155
54343893
54343893
54343893
14778250
14778250
28601770
70095154
70095154
70095154
29353756
29353756
33911264
33911264
33911264
20932152
20932152
20932152
12299841
12299841
12299841
24610207
24610207
24610207
26082117
26082117
26082117
88552992
88552992
88552992
1845204
1845204
1845204
......@@ -33,27 +34,26 @@
14087893
13032689
26708437
26708437
44095762
44095762
53582587
56120475
58628539
58628539
96457619
96457619
#extra
45231177
45231177
45231177
29515122
29515122
72959823
72959823
72959823
91949988
91949988
10443957
10443957
10443957
31386180
31386180
94119480
94119480
29669359
29669359
29669359
55067058
55067058
55067058
50449881
58069384
58069384
58069384
!side
{
"welcome": [
"你好,我是一个机器人。",
"AI功能正在测试中,遇到问题请及时反馈。"
],
"duelstart": [
"这套卡组好旧啊……",
"使用过这套卡组的孩子身上发生了什么呢……"
],
"newturn": [
"到我的回合了,抽卡!",
"我的回合,抽卡!",
"我抽了一张卡。"
],
"endturn": [
"回合结束。",
"我的回合结束了。",
"轮到你了。"
],
"directattack": [
"{0},直接攻击!",
"{0},直接攻击对手!",
"{0},没有防守的地方,攻击!",
"{0},攻击对手的生命值!",
"{0},直接攻击对手的生命值!",
"{0},通过直接攻击打倒对手!",
"{0},使用直接攻击打倒对手!",
"{0},直接攻击释放你的力量吧!",
"我的{0}将会粉碎你的生命值!",
"向对手展示你的力量吧,{0}!",
"你已经无法阻止我了。{0},攻击!"
],
"attack": [
"{0},攻击这只{1}!",
"{0},消灭这只{1}!",
"{0},打倒{1}!",
"{0},冲向那只{1}!",
"{0},把你的力量释放到{1}上吧!"
],
"ondirectattack": [
"可恶……",
"不过是{0}而已!",
"咳咳……"
],
"facedownmonstername": "怪兽",
"activate": [
"我发动{0}。",
"我使用{0}的效果。",
"我使用{0}的力量。"
],
"summon": [
"我召唤{0}。",
"出来吧,{0}!",
"出现吧,{0}!",
"我召唤了强大的{0}!",
"我呼唤{0}参加战斗!",
"我呼唤出{0}。",
"让我召唤{0}。"
],
"setmonster": [
"我放置了一只怪兽。",
"我里侧表示放置了一只怪兽。"
],
"chaining": [
"看这里!我发动{0}!",
"我使用{0}的力量。",
"准备!我使用{0}!",
"我不认同。{0},发动!",
"看样子你忘了我的{0}!",
"你考虑过我有{0}吗?"
]
}
......@@ -2,7 +2,7 @@
"welcome": [
"你好,我是一个机器人。",
"AI功能正在测试中,遇到问题请及时反馈。",
"新的风暴已经出现,怎么能够停滞不前!我的希望皇卡组和龙骑星爆卡组都得到了加强!"
"新的风暴已经出现,怎么能够停滞不前!我的R5卡组也得到了加强!"
],
"duelstart": [
"好戏才正要开始呢!",
......
......@@ -15,12 +15,17 @@ namespace DevBot.Game.AI.Decks
Marshmallon = 31305911,
SpiritReaper = 23205979,
NaturiaBeans = 44789585,
ThunderShort = 20264508,
Ookazi = 19523799,
GoblinThief = 45311864,
TremendousFire = 46918794,
SwordsOfRevealingLight = 72302403,
SupremacyBerry = 98380593,
ChainEnergy = 79323590,
DarkRoomofNightmare = 85562745,
PoisonOfTheOldMan = 8842266,
OjamaTrio = 29843091,
Ceasefire = 36468556,
MagicCylinder = 62279055,
MinorGoblinOfficial = 1918087,
ChainBurst = 48276469,
......@@ -34,25 +39,26 @@ namespace DevBot.Game.AI.Decks
AddExecutor(ExecutorType.SpellSet, DefaultSpellSet);
// Activate Spells
AddExecutor(ExecutorType.Activate, (int)CardId.DarkRoomofNightmare);
AddExecutor(ExecutorType.Activate, (int)CardId.Ookazi);
AddExecutor(ExecutorType.Activate, (int)CardId.GoblinThief);
AddExecutor(ExecutorType.Activate, (int)CardId.TremendousFire);
AddExecutor(ExecutorType.Activate, (int)CardId.SwordsOfRevealingLight, SwordsOfRevealingLight);
AddExecutor(ExecutorType.Activate, (int)CardId.SupremacyBerry, SupremacyBerry);
AddExecutor(ExecutorType.Activate, (int)CardId.PoisonOfTheOldMan, PoisonOfTheOldMan);
AddExecutor(ExecutorType.Activate, (int)CardId.ThunderShort, ThunderShort);
// Hello, my name is Lava Golem
AddExecutor(ExecutorType.SpSummon, (int)CardId.LavaGolem, LavaGolem);
// Set an invincible monster
AddExecutor(ExecutorType.MonsterSet, (int)CardId.Marshmallon, SetInvincibleMonster);
AddExecutor(ExecutorType.MonsterSet, (int)CardId.SpiritReaper, SetInvincibleMonster);
AddExecutor(ExecutorType.MonsterSet, (int)CardId.NaturiaBeans, SetInvincibleMonster);
// Hello, my name is Lava Golem
AddExecutor(ExecutorType.SpSummon, (int)CardId.LavaGolem, LavaGolem);
AddExecutor(ExecutorType.MonsterSet, (int)CardId.BlastSphere);
// Set other monsters
AddExecutor(ExecutorType.Summon, (int)CardId.ReflectBounder);
AddExecutor(ExecutorType.SummonOrSet, (int)CardId.FencingFireFerret);
AddExecutor(ExecutorType.MonsterSet, (int)CardId.BlastSphere);
AddExecutor(ExecutorType.Summon, (int)CardId.ReflectBounder);
AddExecutor(ExecutorType.MonsterSet, (int)CardId.NaturiaBeans);
// We're a coward
......@@ -60,9 +66,17 @@ namespace DevBot.Game.AI.Decks
// Chain traps
AddExecutor(ExecutorType.Activate, (int)CardId.MagicCylinder, DefaultTrap);
AddExecutor(ExecutorType.Activate, (int)CardId.Ceasefire, Ceasefire);
AddExecutor(ExecutorType.Activate, (int)CardId.OjamaTrio);
AddExecutor(ExecutorType.Activate, (int)CardId.MinorGoblinOfficial);
AddExecutor(ExecutorType.Activate, (int)CardId.ChainBurst);
AddExecutor(ExecutorType.Activate, (int)CardId.SkullInvitation);
AddExecutor(ExecutorType.Activate, (int)CardId.ChainEnergy);
}
public override bool OnSelectHand()
{
return true;
}
private bool SwordsOfRevealingLight()
......@@ -82,13 +96,16 @@ namespace DevBot.Game.AI.Decks
return true;
}
private bool ThunderShort()
{
return Duel.Fields[1].GetMonsterCount() >= 3;
}
private bool SetInvincibleMonster()
{
foreach (ClientCard card in Duel.Fields[0].GetMonsters())
{
if (card.Id == (int)CardId.Marshmallon ||
card.Id == (int)CardId.SpiritReaper ||
(card.Id == (int)CardId.NaturiaBeans && Card.Id == (int)CardId.NaturiaBeans))
if (card.Id == (int)CardId.Marshmallon || card.Id == (int)CardId.SpiritReaper)
{
return false;
}
......@@ -99,15 +116,17 @@ namespace DevBot.Game.AI.Decks
private bool LavaGolem()
{
bool found = false;
foreach (ClientCard card in Duel.Fields[0].GetMonsters())
foreach (ClientCard card in Duel.Fields[1].GetMonsters())
{
if (card.Id == (int)CardId.Marshmallon ||
card.Id == (int)CardId.SpiritReaper)
if (card.Attack > 2000)
found = true;
}
if (!found && Duel.LifePoints[1] > 1000)
return false;
return true;
return found;
}
private bool Ceasefire()
{
return Duel.Fields[0].GetMonsterCount() + Duel.Fields[1].GetMonsterCount() >= 3;
}
private bool ReposEverything()
......
This diff is collapsed.
......@@ -6,7 +6,7 @@ using WindBot.Game.AI;
namespace WindBot.Game.AI.Decks
{
[Deck("ToadallyAwesome", "AI_ToadallyAwesome")]
[Deck("Toadally Awesome", "AI_ToadallyAwesome")]
public class ToadallyAwesomeExecutor : DefaultExecutor
{
public enum CardId
......
......@@ -2,7 +2,7 @@
"windbots": [
{
"name": "琪露诺",
"deck": "ToadallyAwesome",
"deck": "Toadally Awesome",
"dialog": "cirno.zh-CN"
},
{
......@@ -59,6 +59,21 @@
"name": "尼亚",
"deck": "Yosenju",
"dialog": "near.zh-CN"
},
{
"name": "永远之魂",
"deck": "Burn",
"dialog": "zh-CN"
},
{
"name": "永远之魂",
"deck": "Frog",
"dialog": "zh-CN"
},
{
"name": "永远之魂",
"deck": "Horus",
"dialog": "zh-CN"
}
]
}
\ 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