fix Sutured Ghoul

This commit is contained in:
xenohedron 2023-08-29 23:33:59 -04:00
parent 476136b766
commit a427406d5f
2 changed files with 24 additions and 11 deletions

View file

@ -52,6 +52,22 @@ public class SetBasePowerToughnessSourceEffect extends ContinuousEffectImpl {
}
}
/**
* @param power set in layer 7b
* @param toughness set in layer 7b
* @param duration Duration for the effect
* @param text Text to set as staticText
*/
public SetBasePowerToughnessSourceEffect(DynamicValue power, DynamicValue toughness, Duration duration, String text) {
this(power, toughness, duration, SubLayer.SetPT_7b);
this.staticText = text;
}
/**
* @param power set in layer 7b
* @param toughness set in layer 7b
* @param duration Duration for the effect
*/
public SetBasePowerToughnessSourceEffect(int power, int toughness, Duration duration) {
this(StaticValue.get(power), StaticValue.get(toughness), duration, SubLayer.SetPT_7b);
this.staticText = "{this} has base power and toughness " + power + '/' + toughness + ' ' + duration.toString();