Commit 8321f8cd authored by wind2009's avatar wind2009

添加火球/滑槽发动操作,LP小于1000时对话

parent c372c0c4
Pipeline #23817 passed with stage
in 28 seconds
......@@ -42,4 +42,9 @@ AI_LV3 SUPPORT_MASTER_RULE_2020
!复制梁龙-闪刀姬
Name=复制梁龙 Deck=SkyStriker Dialog=anothercopy.zh-CN
旧式闪刀姬卡组。
AI_LV3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020
\ No newline at end of file
AI_LV3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020
!发牌姬-发牌姬
Name=发牌姬 Deck=Lucky Dialog=fapaiji.zh-CN
失控发牌姬。
AI_LV3 SUPPORT_MASTER_RULE_3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020
\ No newline at end of file
......@@ -120,5 +120,8 @@
"每一步都是未知的数学方程式,我已解锁其中的答案。{0}!",
"{0},粉碎这个计谋!",
"我一直在计算着每一步。你的行动只是我战略的一部分。"
],
"custom": [
"绝地仍有生机,死战方可破敌!"
]
}
\ No newline at end of file
......@@ -82,6 +82,10 @@ namespace WindBot.Game.AI.Decks
AddExecutor(ExecutorType.Summon, _CardId.RightArmofTheForbiddenOne, JustDontIt);
AddExecutor(ExecutorType.Summon, _CardId.ExodiaTheForbiddenOne, JustDontIt);
}
private enum CustomMessage
{
InDanger
}
private List<int> HintMsgForEnemy = new List<int>
{
......@@ -217,6 +221,12 @@ namespace WindBot.Game.AI.Decks
return 0;
}
public override void OnNewTurn()
{
if (Bot.LifePoints <= 1000) AI.SendCustomChat((int)CustomMessage.InDanger);
base.OnNewTurn();
}
private bool ImFeelingLucky()
{
return Program.Rand.Next(10) >= 5 && DefaultDontChainMyself();
......
......@@ -127,6 +127,10 @@ namespace WindBot.Game.AI
public const int DivineArsenalAAZEUS_SkyThunder = 90448279;
public const int RescueACEHydrant = 37617348;
public const int Hinotama = 46130346;
public const int TrapDustshoot = 64697231;
}
protected class _Setcode
......@@ -141,6 +145,8 @@ namespace WindBot.Game.AI
AddExecutor(ExecutorType.Activate, _CardId.VaylantzWorld_ShinraBansho, DefaultVaylantzWorld_ShinraBansho);
AddExecutor(ExecutorType.Activate, _CardId.VaylantzWorld_KonigWissen, DefaultVaylantzWorld_KonigWissen);
AddExecutor(ExecutorType.Activate, _CardId.SantaClaws);
AddExecutor(ExecutorType.Activate, _CardId.Hinotama);
AddExecutor(ExecutorType.Activate, _CardId.TrapDustshoot);
}
/// <summary>
......
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