mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
simplify "you gained life this turn" condition constructor
This commit is contained in:
parent
a3842aecf3
commit
233d714e00
14 changed files with 22 additions and 15 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue