magefree / magefree/mage

Refactor: make an effect to handle the various energy payment in spell/trigger effect.

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

Description

Those cards all handle energy a similar way: https://scryfall.com/search?q=o%3A%2Fyou+may+pay+any+amount+of+%7BE%7D%2F+or+o%3A%2Fyou+may+pay+one+or+more+%7BE%7D%2F&unique=cards&as=grid&order=name

Paying the energy (or deciding to not pay any) and the resulting effect could be made more generic.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the cards in the linked Scryfall search and the existing spell/trigger effect handling. Identify how energy payment and the resulting effect are currently represented, then verify that the affected cards share the intended generic behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.