Commit af44c1ad authored by nanahira's avatar nanahira

Merge branch 'master' of git.mycard.moe:mycard/windbot into 2pick

parents dcd2ad00 64f7f2bd
...@@ -49,7 +49,7 @@ upload_to_minio: ...@@ -49,7 +49,7 @@ upload_to_minio:
image: python image: python
script: script:
- pip install -U -i https://mirrors.aliyun.com/pypi/simple/ awscli - pip install -U -i https://mirrors.aliyun.com/pypi/simple/ awscli
- aws s3 --endpoint=https://minio.mycard.moe:9000 sync dist/ s3://mycard/windbot - aws s3 --endpoint=https://minio.mycard.moe:9000 sync dist/ s3://mycard/windbot-mc
only: only:
- master - master
......
...@@ -725,6 +725,9 @@ namespace WindBot.Game.AI ...@@ -725,6 +725,9 @@ namespace WindBot.Game.AI
/// </summary> /// </summary>
protected bool DefaultMonsterRepos() protected bool DefaultMonsterRepos()
{ {
if (Card.IsMonsterInvincible())
return Card.IsDefense();
if (Card.Attack == 0) if (Card.Attack == 0)
{ {
if (Card.IsFaceup() && Card.IsAttack()) if (Card.IsFaceup() && Card.IsAttack())
......
...@@ -26,7 +26,7 @@ namespace WindBot ...@@ -26,7 +26,7 @@ namespace WindBot
Host = "127.0.0.1"; Host = "127.0.0.1";
Port = 7911; Port = 7911;
HostInfo = ""; HostInfo = "";
Version = 0x1352; Version = 0x1353;
Hand = 0; Hand = 0;
Debug = false; Debug = false;
Chat = true; Chat = true;
......
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