[VOW] Fix Howlpack Avenger; replace various custom abilities with SavedDamageValue

This commit is contained in:
Alex W. Jackson 2022-03-31 08:56:12 -04:00
parent 5854bd45dd
commit 6ca93d1936
15 changed files with 66 additions and 341 deletions

View file

@ -9,7 +9,14 @@ import mage.game.Game;
* @author TheElk801
*/
public enum SavedDamageValue implements DynamicValue {
instance;
MANY("many"),
MUCH("much");
private final String message;
SavedDamageValue(String message) {
this.message = message;
}
@Override
public int calculate(Game game, Ability sourceAbility, Effect effect) {
@ -21,8 +28,13 @@ public enum SavedDamageValue implements DynamicValue {
return this;
}
@Override
public String toString() {
return "that " + message;
}
@Override
public String getMessage() {
return "that much";
return "";
}
}