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:
image: python
script:
- 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:
- master
......
......@@ -725,6 +725,9 @@ namespace WindBot.Game.AI
/// </summary>
protected bool DefaultMonsterRepos()
{
if (Card.IsMonsterInvincible())
return Card.IsDefense();
if (Card.Attack == 0)
{
if (Card.IsFaceup() && Card.IsAttack())
......
......@@ -26,7 +26,7 @@ namespace WindBot
Host = "127.0.0.1";
Port = 7911;
HostInfo = "";
Version = 0x1352;
Version = 0x1353;
Hand = 0;
Debug = false;
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