mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
fix Sutured Ghoul
This commit is contained in:
parent
476136b766
commit
a427406d5f
2 changed files with 24 additions and 11 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue