refactor: use setter method and private field

This commit is contained in:
xenohedron 2024-04-12 20:11:04 -04:00
parent 577a3708fc
commit f3fccfbd8a
29 changed files with 31 additions and 31 deletions

View file

@ -14,7 +14,7 @@ public class SourcePhaseInTriggeredAbility extends TriggeredAbilityImpl {
public SourcePhaseInTriggeredAbility(Effect effect, boolean optional) {
super(Zone.BATTLEFIELD, effect, optional);
setTriggerPhrase("Whenever {this} phases in, ");
this.replaceRuleText = true;
this.withRuleTextReplacement(true);
}
protected SourcePhaseInTriggeredAbility(final SourcePhaseInTriggeredAbility ability) {