forked from External/mage
refactor: use setter method and private field
This commit is contained in:
parent
577a3708fc
commit
f3fccfbd8a
29 changed files with 31 additions and 31 deletions
|
|
@ -16,7 +16,7 @@ public class AttacksOrBlocksTriggeredAbility extends TriggeredAbilityImpl {
|
|||
} else {
|
||||
setTriggerPhrase("Whenever {this} attacks or blocks, ");
|
||||
}
|
||||
this.replaceRuleText = true; // default true to replace "{this}" with "it"
|
||||
this.withRuleTextReplacement(true); // default true to replace "{this}" with "it"
|
||||
}
|
||||
|
||||
protected AttacksOrBlocksTriggeredAbility(final AttacksOrBlocksTriggeredAbility ability) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue