Card-Forge / Card-Forge/forge

AI pays energy counter to keep Static Prison without exiled permanent

Open
#6,380 2 comments 0 reactions 0 assignees View on GitHub
AI keep
Dominant language
Java
Stars
2.7k
Forks
1.1k
Avg merge
1d 1h
Merged PRs (30d)
158

Description

**Describe the bug**
AI pays energy counter to keep Static Prison even if this Static Prison doesn't exile something

**To Reproduce**
Steps to reproduce the behavior:
1. AI casts Static Prison and target player's creature
2. Player casts Tamiyo's Safekeeping
3. Static Prison ability fizzles
4. At the beginning of AI's first main phase, AI pay energy counter to save this Static Prison

**Expected behavior**
AI shouldn't pay energy counter to keep Static Prison if Static Prison doesn't exile permanent

**Desktop**
OS: Windows 10
Java Version: 1.8.0_202-b08
Forge Version: 1.6.66-SNAPSHOT-10-17

**Screenshots**

![static](https://github.com/user-attachments/assets/f0eaf068-4d81-4384-b41d-34123d094438)

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.