[ClassicAI] AI doesn't activate the second ability of Urza's Saga

Open
#13,047 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
40/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
java
Domain
ai

Research direction

The bug is in the classic AI (ClassicAI, not FlatMC) deciding when to activate Urza's Saga's second chapter ability, so start with the AI's activation logic for that card and its mana-payment decisions. The payload names no files, so locate the card's script and the AI code that handles chapter or land abilities. Reproduce with a game where the AI controls Urza's Saga and has enough mana at the opponent's end step. Done means the AI activates the ability in those situations without breaking the sacrifice ordering.

Written by the indexing model from the issue text.

Description

Describe the bug
AI doesn't activate the second ability of Urza's Saga to creates constructs even if it has enough mana

To Reproduce
Steps to reproduce the behavior:

  1. AI plays Urza's Saga
  2. AI doesn't activate the second ability of Urza's Saga

Expected behavior
AI should activate the second ability of Urza's Saga at the end of opponent's turn or in response of player's attack. Sometimes it should takes mana from Urza's Saga before sacrifice (if AI need this mana)

Additional context
Actual for AI without FlatMC

Desktop

  • OS: Windows 10
  • Version: 2.0.16-SNAPSHOT-11.23

Screenshots

sage (classic)
Dominant language
Java
Stars
2.7k
Forks
1.1k
Avg merge
19h 28m
Merged PRs (30d)
316

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Card-Forge/forge

All issues in Card-Forge/forge

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.