Card-Forge / Card-Forge/forge

getValidCards + getTargetableCards to getValidCardsToTarget

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

Description

We should clean up the parts of the code that uses `getValidCards` + TargetRestriction + `getTargetableCards` with `getValidCardsToTarget` ?

like this part?
https://github.com/Card-Forge/forge/blob/831d61f2fff8f62d473d8b559e6ffff56d4f93d3/forge-game/src/main/java/forge/game/staticability/StaticAbilityMustTarget.java#L44-L47

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.