Cavern-Hoard Dragon doesnt produce Treasures if Opponent dies
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 940
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 160
Description
TItle says it all. I was unsure about the ruling, but a google search brought me to this rule:
800.4i If an effect requires information about a specific player, the effect uses the current information about that player if they are still in the game; otherwise, the effect uses the last known information about that player before they left the game.
So apparently you should get the treasures, even if the opponent dies. Happened twice to me already, that i didnt get the treasures when the opponent died at that swing.
Find it hard to believe that no one pointed this out yet, since the card is implemented for a long time, but here we are.
Contributor guide
No contributing guide indexed for this repository
Research direction
Search the Java implementation for Cavern-Hoard Dragon and reproduce an attack where the opponent dies before the Treasure effect resolves. Use rule 800.4i as the expected behavior; done means the expected Treasures are produced when that opponent dies, with coverage for the reported scenario.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100