magefree / magefree/mage

DEV: Dynamic/Variable Outcome for AI

Open
#9,006 4 comments 0 reactions 0 assignees View on GitHub
AI enhancement
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

Some card (e.g. [[Sasaya, Orochi Ascendant]]) will cause the AI to use infinitely and break the game, and so have to be labeled as .AIDontUseIt:

https://github.com/magefree/mage/blob/d3d25d9e3d9e65b561175d25d9c750f32122eb1b/Mage.Sets/src/mage/cards/s/SasayaOrochiAscendant.java#L51-L54

The idea solution would be to have a dynamic outcome which changes to .Transform if the AI has enough land cards in their hand.

Is this currently possible?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue points to Mage.Sets/src/mage/cards/s/SasayaOrochiAscendant.java at lines 51-54; start there and trace how the AI handles the card's outcome. Confirm whether a dynamic outcome can select Transform based on land cards in hand, with completion defined as Sasaya no longer causing infinite AI use and behaving correctly when the condition is met.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
ai, game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.