mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 20:32:06 -08:00
[FIN] Implement Instant Ramen
This commit is contained in:
parent
2ea3278bdd
commit
94e579543c
17 changed files with 62 additions and 19 deletions
|
|
@ -9,11 +9,12 @@ import mage.constants.Zone;
|
|||
|
||||
public class FoodAbility extends ActivatedAbilityImpl {
|
||||
|
||||
public FoodAbility(boolean named) {
|
||||
public FoodAbility() {
|
||||
super(Zone.BATTLEFIELD, new GainLifeEffect(3), new GenericManaCost(2));
|
||||
|
||||
// {2}, {T}, Sacrifice this artifact: You gain 3 life.”
|
||||
this.addCost(new TapSourceCost());
|
||||
this.addCost(new SacrificeSourceCost().setText("sacrifice " + (named ? "{this}" : "this artifact")));
|
||||
this.addCost(new SacrificeSourceCost());
|
||||
}
|
||||
|
||||
private FoodAbility(final FoodAbility ability) {
|
||||
|
|
@ -24,5 +25,5 @@ public class FoodAbility extends ActivatedAbilityImpl {
|
|||
public FoodAbility copy() {
|
||||
return new FoodAbility(this);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ public final class FoodToken extends TokenImpl {
|
|||
cardType.add(CardType.ARTIFACT);
|
||||
subtype.add(SubType.FOOD);
|
||||
|
||||
this.addAbility(new FoodAbility(false));
|
||||
this.addAbility(new FoodAbility());
|
||||
}
|
||||
|
||||
private FoodToken(final FoodToken token) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue