magefree / magefree/mage

[Bug] Conflict of claws + deathtouch

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

Description

If a [[Conflict of Claws]] is used on a deathtouch creature, it should discover X - 1 where X is the power. But using it on a 2 power creature, it did 2 damage to the target, and didn't discover (though the creature was destroyed). So the excess damage is probably not calculated properly.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the interaction between Conflict of Claws and a deathtouch creature with 2 power, then locate the Java implementation and its related tests. Confirm that excess damage is calculated as power minus one and that discovery occurs when appropriate; add or update coverage for this case.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.