forked from External/mage
prepare to move power/toughness out of constructor
This commit is contained in:
parent
70248cdd2b
commit
3a6e84043c
2 changed files with 12 additions and 1 deletions
|
|
@ -146,6 +146,17 @@ public class BecomesCreatureSourceEffect extends ContinuousEffectImpl implements
|
|||
return false;
|
||||
}
|
||||
|
||||
public BecomesCreatureSourceEffect withDynamicPT(DynamicValue power, DynamicValue toughness) {
|
||||
this.power = power;
|
||||
this.toughness = toughness;
|
||||
return this;
|
||||
}
|
||||
|
||||
public BecomesCreatureSourceEffect withDurationRuleAtStart(boolean durationRuleAtStart) {
|
||||
this.durationRuleAtStart = durationRuleAtStart;
|
||||
return this;
|
||||
}
|
||||
|
||||
private void setText() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
if (!duration.toString().isEmpty() && durationRuleAtStart) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue