Commit 2aa84bc7 authored by wyykak's avatar wyykak

Add WDL and local support

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 1d36fa32
......@@ -6,6 +6,7 @@ using System.Text.RegularExpressions;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Linq;
using System.Threading;
namespace BotWrapper
{
......@@ -29,6 +30,11 @@ namespace BotWrapper
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
string arg = args[0];
if (Regex.Match(arg, "\\[EXT\\]").Success)
{
startInfo.WorkingDirectory = Path.GetFullPath("WindBot_ext");
startInfo.FileName = startInfo.WorkingDirectory + "\\WindBot.exe";
}
Match match = Regex.Match(arg, "Random=(.*)");
if (match.Success)
{
......
This diff is collapsed.
#created by ...
#main
86379901
86379901
86379901
86379903
86379903
86379903
86379905
86379905
86379905
86379907
86379907
86379907
86379931
86379931
86379931
86379933
86379933
86379933
86379937
86379937
86379937
86379939
86379939
86379939
86379935
86379935
86379935
86379923
86379923
86379923
86379925
86379925
86379925
86379013
86379013
86379017
86379017
86379921
86379921
86379921
86379927
86379927
86379927
#extra
86379911
86379911
86379911
86379913
86379913
86379913
86379915
86379915
86379915
86379917
86379917
86379917
!side
This diff is collapsed.
......@@ -77,6 +77,7 @@
<Compile Include="Game\AI\Decks\BlackwingExecutor.cs" />
<Compile Include="Game\AI\Decks\ExosisterExecutor.cs" />
<Compile Include="Game\AI\Decks\KashtiraExecutor.cs" />
<Compile Include="Game\AI\Decks\THC_WDLExecutor.cs" />
<Compile Include="Game\AI\Decks\LuckyExecutor.cs" />
<Compile Include="Game\AI\Decks\MathMechExecutor.cs" />
<Compile Include="Game\AI\Decks\PureWindsExecutor.cs" />
......@@ -161,6 +162,9 @@
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="Decks\AI_THC_WDL.ydk">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="sqlite3.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
......
......@@ -281,6 +281,11 @@
"deck": "THC_DSReimu",
"dialog": "default"
},
{
"name": "强袭型王圆圆",
"deck": "THC_WDL",
"dialog": "ayane.zh-CN"
},
{
"name": "神数不神",
"deck": "Tearlaments",
......
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