magefree / magefree/mage

Batch event needed for all counters placed from a single effect

Open
#15,036 1 comment 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

Currently when counters are added there is an event fired for each counter placed and one for all counters on a single card. At least two cards however, care about one or more counters being placed on one or more type of cards. [[Cloaked Cadet]] and [[Invisible Woman, Sue Storm]] need a `COUNTERS_ADDED_BATCH` to restrict their effects from triggering additional times. Cadet having a trigger limit restriction technically works to create proper behavior, but Invisible Woman would trigger for each hero having counters placed on it with the current `COUNTERS_ADDED` event.

Requirements:
- Create `COUNTERS_ADDED_BATCH` event
- Create Batch event class for counters added
- Create `addSimultaneousCountersAdded` method to `GameState`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.