Shared class for "Target creature deals damage to itself equal to its power"
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 940
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 160
Description
Spotted while doing other things, but there's several card-specific implementations for this;
> Target creature deals damage to itself equal to its power
We can use a shared class for this.
Cards in scope:
```
i/InnerStruggle.java
j/JusticeStrike.java
k/KikuNightsFlower.java
k/KikusShadow.java
r/Repentance.java
w/WrackWithMadness.java
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the implementations in i/InnerStruggle.java, j/JusticeStrike.java, k/KikuNightsFlower.java, k/KikusShadow.java, r/Repentance.java, and w/WrackWithMadness.java, then compare how they implement the stated damage effect. The work is done when these card-specific implementations use one shared class while preserving the behavior described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- game-dev
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100