Card-Forge / Card-Forge/forge

Volrath's Shapeshifter with Triskelion as topmost card of graveyard causes stack overflow

Open
#4,723 4 comments 0 reactions 2 assignees Claimed by @tool4ever View on GitHub
BUG Game Mechanics keep
Dominant language
Java
Stars
2.7k
Forks
1.1k
Avg merge
1d 1h
Merged PRs (30d)
163

Description

**Describe the bug**

If you resolve a Volrath's Shapeshifter and the topmost card of your graveyard is a Triskelion, the game will stack overflow and the game log is spammed with Volrath's Shapeshifter (as Triskelion?) coming into play with 3 +1/+1 counters over and over.

**To Reproduce**

1. Get Triskelion into your graveyard
2. Resolve a Volrath's Shapeshifter with Triskelion as the topmost card in your GY

**Expected behavior**

Volrath's Shapeshifter comes into play as a copy of Triskelion with 3 +1/+1 counters

**Screenshots**

![2024-02-21 22_07_24-Forge_ 1 6 60-SNAPSHOT](https://github.com/Card-Forge/forge/assets/563860/0a9f2a22-316c-4598-85ad-f3c9b6256b66)

Copy of the stack trace from the crash dialog attached as well

[stacktrace.txt](https://github.com/Card-Forge/forge/files/14358604/stacktrace.txt)

**Desktop (please complete the following information):**
- OS: Windows 10
- Browser N/A
- Version 1.6.60-SNAPSHOT-02-20

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.