Commit b9b9761a authored by mercury233's avatar mercury233

fix Solemn traps

parent fc8ac407
......@@ -140,9 +140,9 @@ namespace WindBot.Game.AI.Decks
// 坑人
AddExecutor(ExecutorType.Activate, (int)CardId.星光大道, DefaultTrap);
AddExecutor(ExecutorType.Activate, (int)CardId.魔力抽取);
AddExecutor(ExecutorType.Activate, (int)CardId.神之警告, DefaultTrap);
AddExecutor(ExecutorType.Activate, (int)CardId.神之通告, DefaultTrap);
AddExecutor(ExecutorType.Activate, (int)CardId.神之宣告, DefaultTrap);
AddExecutor(ExecutorType.Activate, (int)CardId.神之警告, 神之警告);
AddExecutor(ExecutorType.Activate, (int)CardId.神之通告, 神之通告);
AddExecutor(ExecutorType.Activate, (int)CardId.神之宣告, 神之宣告);
AddExecutor(ExecutorType.Activate, (int)CardId.大宇宙, DefaultUniqueTrap);
AddExecutor(ExecutorType.Activate, (int)CardId.虚无空间, DefaultUniqueTrap);
AddExecutor(ExecutorType.Activate, (int)CardId.波纹防护罩波浪之力, DefaultUniqueTrap);
......@@ -193,6 +193,21 @@ namespace WindBot.Game.AI.Decks
return (Duel.LifePoints[0] > 1000) && DefaultMysticalSpaceTyphoon();
}
private bool 神之警告()
{
return (Duel.LifePoints[0] > 2000) && !(Duel.Player == 0 && LastChainPlayer == -1) && DefaultTrap();
}
private bool 神之通告()
{
return (Duel.LifePoints[0] > 1500) && !(Duel.Player == 0 && LastChainPlayer == -1) && DefaultTrap();
}
private bool 神之宣告()
{
return !(Duel.ChainTargets.Count == 1 && Card.Equals(Duel.ChainTargets[0])) && DefaultTrap();
}
private bool 强欲而谦虚之壶()
{
if (已发动削命)
......
......@@ -116,8 +116,8 @@ namespace DevBot.Game.AI.Decks
AddExecutor(ExecutorType.SpellSet, DefaultSpellSet);
AddExecutor(ExecutorType.Activate, (int)CardId.BreakthroughSkill, BreakthroughSkill);
AddExecutor(ExecutorType.Activate, (int)CardId.SolemnWarning, DefaultTrap);
AddExecutor(ExecutorType.Activate, (int)CardId.SolemnStrike, DefaultTrap);
AddExecutor(ExecutorType.Activate, (int)CardId.SolemnWarning, SolemnWarning);
AddExecutor(ExecutorType.Activate, (int)CardId.SolemnStrike, SolemnStrike);
}
public override bool OnSelectHand()
......@@ -280,6 +280,16 @@ namespace DevBot.Game.AI.Decks
return (CurrentChain.Count > 0 && DefaultTrap());
}
private bool SolemnWarning()
{
return (Duel.LifePoints[0] > 2000) && !(Duel.Player == 0 && LastChainPlayer == -1) && DefaultTrap();
}
private bool SolemnStrike()
{
return (Duel.LifePoints[0] > 1500) && !(Duel.Player == 0 && LastChainPlayer == -1) && DefaultTrap();
}
private bool MonsterRepos()
{
if (Card.Id == (int)CardId.NumberS39UtopiatheLightning)
......
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