Commit a27db336 authored by nanahira's avatar nanahira

Merge branch '2pick' of https://code.mycard.moe/mycard/windbot into 2pick

parents a487a8ce af44c1ad
Pipeline #5349 passed with stage
in 39 seconds
...@@ -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