Skip to content

Let the AI use Fiend Artisan's tutor#11368

Open
liamiak wants to merge 1 commit into
Card-Forge:masterfrom
liamiak:fix-fiend-artisan
Open

Let the AI use Fiend Artisan's tutor#11368
liamiak wants to merge 1 commit into
Card-Forge:masterfrom
liamiak:fix-fiend-artisan

Conversation

@liamiak

@liamiak liamiak commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Fiend Artisan is flagged AI:RemoveDeck:All, but the tutor AI handles it fine — given a clean main phase it sacrifices spare fodder and fetches the best creature it can afford (Colossal Dreadmaw in my test board). The reason it looks broken is combat.

With the flag off and no NonCombatPriority, the attack step swings the 1/1 body for one damage, tapping the very creature whose {T} tutor is worth far more — so by main 2 it can't pay the cost:

main 1 board before with NonCombatPriority:1
no opposing blocker attacks → tapped → no fetch holds back → sacs fodder → fetches
opposing 3/3 blocker held back anyway → fetched fetches

So this adds SVar:NonCombatPriority:1 and drops the flag. AiAttackController.shouldAttack already honours that SVar, holding a creature back when power × priority < oppLife and it can afford a tap-cost ability; value 1 is the most conservative setting, which 53 other cards with tap abilities already use.

Full desktop suite green.


🤖 Implemented with the assistance of Claude Code (Opus).

Fiend Artisan was flagged AI:RemoveDeck:All, but the tutor AI handles it fine:
given a clean main phase it sacrifices spare fodder and fetches the best creature
it can afford. The reason it looked broken was combat.

With the flag off and no NonCombatPriority, the attack step swings the 1/1 body
for one point, tapping the very creature whose {T} tutor is worth far more, so by
main 2 it can no longer pay the cost:

| main 1 board        | before               | with NonCombatPriority:1 |
|---------------------|----------------------|--------------------------|
| no opposing blocker | attacks, taps, no fetch | holds back, sacs fodder, fetches |
| opposing 3/3        | held back anyway     | fetches                  |

Add SVar:NonCombatPriority:1 so AiAttackController.shouldAttack keeps it home
unless the swing is lethal - the same treatment 53 other cards with tap abilities
already use - and drop the AI:RemoveDeck:All flag.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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