simplify "you gained life this turn" condition constructor

This commit is contained in:
Susucre 2024-07-12 17:42:00 +02:00
parent a3842aecf3
commit 233d714e00
14 changed files with 22 additions and 15 deletions

View file

@ -13,6 +13,13 @@ import mage.watchers.common.PlayerGainedLifeWatcher;
*/
public class YouGainedLifeCondition extends IntCompareCondition {
/**
* "if you gained life this turn"
*/
public YouGainedLifeCondition() {
super(ComparisonType.MORE_THAN, 0);
}
public YouGainedLifeCondition(ComparisonType type, int value) {
super(type, value);
}