mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +00:00
fix ability text
This commit is contained in:
parent
a6081e1481
commit
1792d98b1a
1 changed files with 5 additions and 5 deletions
|
@ -14,24 +14,24 @@ import java.util.UUID;
|
||||||
|
|
||||||
public class GiftOfStrength extends CardImpl {
|
public class GiftOfStrength extends CardImpl {
|
||||||
|
|
||||||
public GiftOfStrength(UUID cardId, CardSetInfo cardSetInfo){
|
public GiftOfStrength(UUID ownerId, CardSetInfo cardSetInfo) {
|
||||||
super(cardId, cardSetInfo, new CardType[]{CardType.INSTANT}, "{1}{G}");
|
super(ownerId, cardSetInfo, new CardType[]{CardType.INSTANT}, "{1}{G}");
|
||||||
|
|
||||||
// Target creature gets +3/+3 and gains reach until end of turn.
|
// Target creature gets +3/+3 and gains reach until end of turn.
|
||||||
Effect effect = new BoostTargetEffect(3, 3, Duration.EndOfTurn);
|
Effect effect = new BoostTargetEffect(3, 3, Duration.EndOfTurn);
|
||||||
effect.setText("Target creature gets +3/+3");
|
effect.setText("Target creature gets +3/+3");
|
||||||
this.getSpellAbility().addEffect(effect);
|
this.getSpellAbility().addEffect(effect);
|
||||||
effect = new GainAbilityTargetEffect(ReachAbility.getInstance(), Duration.EndOfTurn);
|
effect = new GainAbilityTargetEffect(ReachAbility.getInstance(), Duration.EndOfTurn);
|
||||||
effect.setText("and gains flying until end of turn");
|
effect.setText("and gains reach until end of turn");
|
||||||
this.getSpellAbility().addEffect(effect);
|
this.getSpellAbility().addEffect(effect);
|
||||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||||
}
|
}
|
||||||
|
|
||||||
public GiftOfStrength(final GiftOfStrength giftOfStrength){
|
public GiftOfStrength(final GiftOfStrength giftOfStrength) {
|
||||||
super(giftOfStrength);
|
super(giftOfStrength);
|
||||||
}
|
}
|
||||||
|
|
||||||
public GiftOfStrength copy(){
|
public GiftOfStrength copy() {
|
||||||
return new GiftOfStrength(this);
|
return new GiftOfStrength(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue