magefree / magefree/mage

Triggered ability of Jon Irenicus, Shattered One is not working as intended

Open
#11,745 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

[[Jon Irenicus, Shattered One]].

Player A has Jon Irenicus, Shattered Mind in play and takes control of Player B's commander with [[Agent of Treachery]].

Player A donates Player B's commander to player C at the end step with Jon's trigger.

The issue: When Player A loses the game the stolen commander was returned to Player B who owned it, even though it wasn't under Player A's control at the time the player lost. It should've stayed with Player C.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Java implementation of Jon Irenicus, Shattered One and the game logic handling donated commanders when a player loses. Reproduce the described three-player sequence, then verify that the commander remains under Player C's control after Player A leaves the game.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.