[LTC] Implement Field-Tested Frying Pan (#10721)

This commit is contained in:
Susucre 2023-08-01 15:51:19 +02:00 committed by GitHub
parent 241226cd83
commit 04845072ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 98 additions and 2 deletions

View file

@ -28,7 +28,7 @@ public class GainLifeControllerTriggeredAbility extends TriggeredAbilityImpl {
setTriggerPhrase("Whenever you gain life, ");
}
public GainLifeControllerTriggeredAbility(final GainLifeControllerTriggeredAbility ability) {
private GainLifeControllerTriggeredAbility(final GainLifeControllerTriggeredAbility ability) {
super(ability);
this.setTargetPointer = ability.setTargetPointer;
}

View file

@ -10,9 +10,14 @@ import mage.game.permanent.token.Token;
*/
public class CreateTokenAttachSourceEffect extends CreateTokenEffect {
public CreateTokenAttachSourceEffect(Token token) {
this(token, ", then");
}
public CreateTokenAttachSourceEffect(Token token, String innerConcat) {
super(token);
staticText = staticText.concat(", then attach {this} to it");
staticText = staticText.concat(innerConcat + " attach {this} to it");
}
private CreateTokenAttachSourceEffect(final CreateTokenAttachSourceEffect effect) {