forked from External/mage
Refactor to clean up base P/T setting and fix text generation (#10264)
* Adjust constructors to simplify * Refactor to remove duration parameter for CDA (always end of game) * Fix warnings * Druid Class not CDA * Entropic Specter fixup * Further constructor simplification * Analogous simplification for setting power only * Analogous simplification for setting toughness only * Remove superfluous parameter * Set fields final
This commit is contained in:
parent
96cf6dc019
commit
1780972f71
226 changed files with 269 additions and 464 deletions
|
|
@ -55,7 +55,7 @@ public class LevelerCardBuilder {
|
|||
staticAbility.setRuleVisible(false);
|
||||
constructed.add(staticAbility);
|
||||
}
|
||||
ContinuousEffect effect = new SetBasePowerToughnessSourceEffect(power, toughness, Duration.WhileOnBattlefield, SubLayer.SetPT_7b, true);
|
||||
ContinuousEffect effect = new SetBasePowerToughnessSourceEffect(power, toughness, Duration.WhileOnBattlefield, SubLayer.SetPT_7b);
|
||||
ConditionalContinuousEffect ptEffect = new ConditionalContinuousEffect(effect, condition, rule);
|
||||
constructed.add(new SimpleStaticAbility(Zone.BATTLEFIELD, ptEffect));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue