mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
add hint for YouGainedOrLostLifeCondition
update Starseer Mentor to use common condition
This commit is contained in:
parent
a5f8b665ee
commit
680f14b49d
4 changed files with 13 additions and 19 deletions
|
|
@ -2,6 +2,8 @@ package mage.abilities.condition.common;
|
|||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.condition.Condition;
|
||||
import mage.abilities.hint.ConditionHint;
|
||||
import mage.abilities.hint.Hint;
|
||||
import mage.game.Game;
|
||||
import mage.watchers.common.PlayerGainedLifeWatcher;
|
||||
import mage.watchers.common.PlayerLostLifeWatcher;
|
||||
|
|
@ -14,6 +16,12 @@ import mage.watchers.common.PlayerLostLifeWatcher;
|
|||
public enum YouGainedOrLostLifeCondition implements Condition {
|
||||
instance;
|
||||
|
||||
private static final Hint hint = new ConditionHint(instance);
|
||||
|
||||
public static Hint getHint() {
|
||||
return hint;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
return game
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue