Commit 1b11b65b authored by nanahira's avatar nanahira

Merge branch 'master' of github.com:moecube/windbot

parents fbde761a 714846e1
Pipeline #20128 failed with stages
in 35 seconds
#created by ...
#main
3717252
77723643
572850
572850
572850
73956664
73956664
25926710
25926710
25926710
99937011
99937011
99937011
62320425
62320425
62320425
63542003
63542003
97518132
37961969
37961969
37961969
74078255
74078255
74078255
92919429
92919429
92919429
17266660
17266660
17266660
21074344
21074344
21074344
40177746
6767771
77103950
77103950
74920585
74920585
#extra
28226490
84330567
69946549
92731385
92731385
94977269
80532587
84815190
33158448
21044178
98127546
21887175
38342335
27381364
65741786
!side
......@@ -142,6 +142,13 @@ namespace WindBot.Game.AI.Decks
AddExecutor(ExecutorType.SpellSet, SpellSet);
AddExecutor(ExecutorType.Repos, DefaultRepos);
}
public override bool OnSelectHand()
{
// go first
return true;
}
public override void OnNewTurn()
{
if (pre_link_mode < 0) pre_link_mode = Program.Rand.Next(2);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -248,6 +248,13 @@ namespace WindBot.Game.AI.Decks
}
}
#endregion
public override bool OnSelectHand()
{
// go first
return true;
}
public override void OnNewTurn()
{
handActivated = false;
......
......@@ -165,6 +165,10 @@ namespace WindBot.Game.AI
// For overriding
return null;
}
public virtual void OnSelectChain(IList<ClientCard> cards)
{
return;
}
public virtual bool OnSelectYesNo(int desc)
{
......
......@@ -304,6 +304,7 @@ namespace WindBot.Game
/// <returns>Index of the activated card or -1.</returns>
public int OnSelectChain(IList<ClientCard> cards, IList<int> descs, bool forced)
{
Executor.OnSelectChain(cards);
foreach (CardExecutor exec in Executor.Executors)
{
for (int i = 0; i < cards.Count; ++i)
......
......@@ -86,6 +86,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\TearlamentsExecutor.cs" />
<Compile Include="Game\AI\Decks\ThunderDragonExecutor.cs" />
<Compile Include="Game\AI\Decks\TimeThiefExecutor.cs" />
<Compile Include="Game\AI\Decks\ToadallyAwesomeExecutor.cs" />
......
......@@ -225,6 +225,11 @@
"name": "神数不神",
"deck": "Kashtira",
"dialog": "Zefra.zh-CN"
},
{
"name": "神数不神",
"deck": "Tearlaments",
"dialog": "Zefra.zh-CN"
}
]
}
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