Commit 72497b5d authored by wind2009's avatar wind2009 Committed by GitHub

add Exosister Deck (#161)

parent 3c40d4c4
...@@ -189,11 +189,16 @@ Name=我太帅了 Deck=Brave Dialog=smart.zh-CN ...@@ -189,11 +189,16 @@ Name=我太帅了 Deck=Brave Dialog=smart.zh-CN
水机百头龙凤凰人勇者卡组。 水机百头龙凤凰人勇者卡组。
AI_LV3 SUPPORT_MASTER_RULE_2020 AI_LV3 SUPPORT_MASTER_RULE_2020
!玻璃女巫 !玻璃女巫-魔女术
Name=玻璃女巫 Deck=Witchcraft Dialog=verre.zh-CN Name=玻璃女巫 Deck=Witchcraft Dialog=verre.zh-CN
魔女术卡组。 魔女术卡组。
AI_LV3 SUPPORT_MASTER_RULE_3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020 AI_LV3 SUPPORT_MASTER_RULE_3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020
!玻璃女巫-救祓少女
Name=玻璃女巫 Deck=Exosister Dialog=verre.zh-CN
救祓少女卡组。
AI_LV3 SUPPORT_MASTER_RULE_3 SUPPORT_MASTER_RULE_2020
!神数不神-刹帝利 !神数不神-刹帝利
Name=神数不神 Deck=Kashtira Dialog=Zefra.zh-CN Name=神数不神 Deck=Kashtira Dialog=Zefra.zh-CN
俱舍怒威族卡组。 俱舍怒威族卡组。
......
#created by ...
#main
37343995
37343995
37343995
16889337
16889337
16889337
16474916
16474916
16474916
67972302
67972302
67972302
79858629
79858629
43863925
43863925
43863925
5352328
5352328
14558127
14558127
14558127
23434538
23434538
23434538
84211599
84211599
4408198
24224830
24224830
77913594
77913594
77913594
197042
197042
10045474
10045474
77891946
77891946
77891946
#extra
90448279
59242457
59242457
9272381
42741437
42741437
42741437
78135071
78135071
41524885
41524885
46772449
5530780
58858807
8728498
!side
74689476
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -124,6 +124,7 @@ namespace WindBot.Game.AI ...@@ -124,6 +124,7 @@ namespace WindBot.Game.AI
public const int VaylantzWorld_ShinraBansho = 49568943; public const int VaylantzWorld_ShinraBansho = 49568943;
public const int VaylantzWorld_KonigWissen = 75952542; public const int VaylantzWorld_KonigWissen = 75952542;
public const int DivineArsenalAAZEUS_SkyThunder = 90448279;
} }
protected DefaultExecutor(GameAI ai, Duel duel) protected DefaultExecutor(GameAI ai, Duel duel)
...@@ -798,7 +799,8 @@ namespace WindBot.Game.AI ...@@ -798,7 +799,8 @@ namespace WindBot.Game.AI
_CardId.BlackRoseDragon, _CardId.BlackRoseDragon,
_CardId.JudgmentDragon, _CardId.JudgmentDragon,
_CardId.TopologicTrisbaena, _CardId.TopologicTrisbaena,
_CardId.EvenlyMatched _CardId.EvenlyMatched,
_CardId.DivineArsenalAAZEUS_SkyThunder
}; };
int[] destroyAllOpponentSpellList = int[] destroyAllOpponentSpellList =
{ {
......
...@@ -18,8 +18,10 @@ namespace WindBot.Game ...@@ -18,8 +18,10 @@ namespace WindBot.Game
public BattlePhase BattlePhase { get; set; } public BattlePhase BattlePhase { get; set; }
public int LastChainPlayer { get; set; } public int LastChainPlayer { get; set; }
public CardLocation LastChainLocation { get; set; }
public IList<ClientCard> CurrentChain { get; set; } public IList<ClientCard> CurrentChain { get; set; }
public IList<ClientCard> ChainTargets { get; set; } public IList<ClientCard> ChainTargets { get; set; }
public IList<ClientCard> LastChainTargets { get; set; }
public IList<ClientCard> ChainTargetOnly { get; set; } public IList<ClientCard> ChainTargetOnly { get; set; }
public int LastSummonPlayer { get; set; } public int LastSummonPlayer { get; set; }
public IList<ClientCard> SummoningCards { get; set; } public IList<ClientCard> SummoningCards { get; set; }
...@@ -31,8 +33,10 @@ namespace WindBot.Game ...@@ -31,8 +33,10 @@ namespace WindBot.Game
Fields[0] = new ClientField(); Fields[0] = new ClientField();
Fields[1] = new ClientField(); Fields[1] = new ClientField();
LastChainPlayer = -1; LastChainPlayer = -1;
LastChainLocation = 0;
CurrentChain = new List<ClientCard>(); CurrentChain = new List<ClientCard>();
ChainTargets = new List<ClientCard>(); ChainTargets = new List<ClientCard>();
LastChainTargets = new List<ClientCard>();
ChainTargetOnly = new List<ClientCard>(); ChainTargetOnly = new List<ClientCard>();
LastSummonPlayer = -1; LastSummonPlayer = -1;
SummoningCards = new List<ClientCard>(); SummoningCards = new List<ClientCard>();
......
...@@ -728,7 +728,8 @@ namespace WindBot.Game ...@@ -728,7 +728,8 @@ namespace WindBot.Game
card.SetId(cardId); card.SetId(cardId);
int cc = GetLocalPlayer(packet.ReadByte()); int cc = GetLocalPlayer(packet.ReadByte());
if (_debug) if (_debug)
if (card != null) Logger.WriteLine("(" + cc.ToString() + " 's " + (card.Name ?? "UnKnowCard") + " activate effect)"); if (card != null) Logger.WriteLine("(" + cc.ToString() + " 's " + (card.Name ?? "UnKnowCard") + " activate effect from " + (CardLocation)pcl + ")");
_duel.LastChainLocation = (CardLocation)pcl;
_ai.OnChaining(card, cc); _ai.OnChaining(card, cc);
//_duel.ChainTargets.Clear(); //_duel.ChainTargets.Clear();
_duel.ChainTargetOnly.Clear(); _duel.ChainTargetOnly.Clear();
...@@ -742,8 +743,10 @@ namespace WindBot.Game ...@@ -742,8 +743,10 @@ namespace WindBot.Game
{ {
_ai.OnChainEnd(); _ai.OnChainEnd();
_duel.LastChainPlayer = -1; _duel.LastChainPlayer = -1;
_duel.LastChainLocation = 0;
_duel.CurrentChain.Clear(); _duel.CurrentChain.Clear();
_duel.ChainTargets.Clear(); _duel.ChainTargets.Clear();
_duel.LastChainTargets.Clear();
_duel.ChainTargetOnly.Clear(); _duel.ChainTargetOnly.Clear();
} }
...@@ -856,6 +859,7 @@ namespace WindBot.Game ...@@ -856,6 +859,7 @@ namespace WindBot.Game
private void OnBecomeTarget(BinaryReader packet) private void OnBecomeTarget(BinaryReader packet)
{ {
_duel.LastChainTargets.Clear();
int count = packet.ReadByte(); int count = packet.ReadByte();
for (int i = 0; i < count; ++i) for (int i = 0; i < count; ++i)
{ {
...@@ -868,6 +872,7 @@ namespace WindBot.Game ...@@ -868,6 +872,7 @@ namespace WindBot.Game
if (_debug) if (_debug)
Logger.WriteLine("(" + (CardLocation)loc + " 's " + (card.Name ?? "UnKnowCard") + " become target)"); Logger.WriteLine("(" + (CardLocation)loc + " 's " + (card.Name ?? "UnKnowCard") + " become target)");
_duel.ChainTargets.Add(card); _duel.ChainTargets.Add(card);
_duel.LastChainTargets.Add(card);
_duel.ChainTargetOnly.Add(card); _duel.ChainTargetOnly.Add(card);
} }
} }
......
...@@ -73,6 +73,7 @@ ...@@ -73,6 +73,7 @@
<Compile Include="Game\AI\Decks\BraveExecutor.cs" /> <Compile Include="Game\AI\Decks\BraveExecutor.cs" />
<Compile Include="Game\AI\Decks\FamiliarPossessedExecutor.cs" /> <Compile Include="Game\AI\Decks\FamiliarPossessedExecutor.cs" />
<Compile Include="Game\AI\Decks\BlackwingExecutor.cs" /> <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\KashtiraExecutor.cs" />
<Compile Include="Game\AI\Decks\LuckyExecutor.cs" /> <Compile Include="Game\AI\Decks\LuckyExecutor.cs" />
<Compile Include="Game\AI\Decks\MathMechExecutor.cs" /> <Compile Include="Game\AI\Decks\MathMechExecutor.cs" />
......
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