mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
[BRO] Implement Evangel of Synthesis
This commit is contained in:
parent
d4492b797a
commit
beacccf558
10 changed files with 98 additions and 17 deletions
|
|
@ -3,6 +3,7 @@ package mage.abilities.dynamicvalue.common;
|
|||
import mage.abilities.Ability;
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.hint.ValueHint;
|
||||
import mage.game.Game;
|
||||
import mage.watchers.common.CardsDrawnThisTurnWatcher;
|
||||
|
||||
|
|
@ -13,6 +14,7 @@ import mage.watchers.common.CardsDrawnThisTurnWatcher;
|
|||
*/
|
||||
public enum CardsDrawnThisTurnDynamicValue implements DynamicValue {
|
||||
instance;
|
||||
private static final ValueHint hint = new ValueHint("Cards you've drawn this turn", instance);
|
||||
|
||||
@Override
|
||||
public int calculate(Game game, Ability sourceAbility, Effect effect) {
|
||||
|
|
@ -35,7 +37,12 @@ public enum CardsDrawnThisTurnDynamicValue implements DynamicValue {
|
|||
|
||||
@Override
|
||||
public String getMessage() {
|
||||
|
||||
return "card you've drawn this turn";
|
||||
}
|
||||
|
||||
public static ValueHint getHint() {
|
||||
return hint;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue