Skip to content

Add a Swordsoul AI to Windbot.#29

Merged
edo9300 merged 11 commits into
ProjectIgnis:masterfrom
wobbaone:dev/swordsoul
Feb 13, 2022
Merged

Add a Swordsoul AI to Windbot.#29
edo9300 merged 11 commits into
ProjectIgnis:masterfrom
wobbaone:dev/swordsoul

Conversation

@wobbaone

Copy link
Copy Markdown

No description provided.

Summon Chenying/Baronne if possible before vishuda grave effect to account for quick play destruction and negates
Summon Chenying if possible before activating blackout since it can give a "free" trigger and creates a big body
Don't trigger blackout on quick play spells
Don't target chaofeng for blackout
Fix some whitespace
@TheFlameFlash

Copy link
Copy Markdown

Hello, i have been testing your swordsoul ai and its looking decent, but i have encountered the few issues with it
replay.zip

@wobbaone

Copy link
Copy Markdown
Author

Hello, i have been testing your swordsoul ai and its looking decent, but i have encountered the few issues with it replay.zip

Thank you so much for the help testing!

I recognize the problems on all but one of the replays, why is the taia mill incorrect in the replay: "AI-Swordsoul Taia Mill"?
It wants to ensure there is a water in grave for Adamancipator Dragnite, just in case one of them needs to be banished for cost.

If the issue is that it always selects moye, then you are probably correct. I'll make it mill a tenyi if it already has a moye in grave, and change the other swordsouls to avoid banishing the last moye for costs if possible.

wobbaone and others added 7 commits November 22, 2021 08:37
This fixes the Chengying crash while under forbidden droplet.
Don't attempt to target for effect activations while disabled
   -Fixes "AI-Swordsoul error.yrpX"

Mill Tenyis in more situations for taia effect
  -Still prefer milling one Mo Ye first for enabling Summit/Dragnite
  -Fixes "AI-SwordSoul Taia Mill.yrpX"

Baronne tries to avoid untargetable monsters
  -It still activates first to find out what's targetable though, so it may
   still be forced to target self
  -Fixes "AI-SwordSoul-Fleur Targeting itself.yrpX"

Add code to resolve activation limit
   -This should be fixed properly on the engine side in a separate PR
   -Fixes "AI-Swordsoul Not using longyuan#1.yrpX"
   -Fixes "AI-Swordsoul Not using longyuan#2.yrpX"

Prefer IsCode instead of ID equality checks
Activate Vishuda in more situations
Trigger Yazi correctly
Use Adhara as a blackout target in more situations
Fix Yangzing Yazi not being summoned when it makes sense to
Generally improve removal targets, avoid spells/quickplays properly
Fix a crash when taia has used ability but there is not a token on the board
@edo9300 edo9300 merged commit bfd6ea9 into ProjectIgnis:master Feb 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants