mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 19:11:59 -08:00
* Primal Clay - Added text to choice window.
This commit is contained in:
parent
fa5ebd5526
commit
9f6c01bde1
1 changed files with 21 additions and 13 deletions
|
|
@ -92,23 +92,30 @@ class PrimalClayEffect extends ContinuousEffectImpl<PrimalClayEffect> {
|
||||||
switch (layer) {
|
switch (layer) {
|
||||||
case PTChangingEffects_7:
|
case PTChangingEffects_7:
|
||||||
if (sublayer.equals(SubLayer.SetPT_7b)) {
|
if (sublayer.equals(SubLayer.SetPT_7b)) {
|
||||||
if (choice.getChoice().equals("a 3/3 artifact creature")) {
|
switch (choice.getChoice()) {
|
||||||
permanent.getPower().setValue(3);
|
case "a 3/3 artifact creature":
|
||||||
permanent.getToughness().setValue(3);
|
permanent.getPower().setValue(3);
|
||||||
} else if (choice.getChoice().equals("a 2/2 artifact creature with flying")) {
|
permanent.getToughness().setValue(3);
|
||||||
permanent.getPower().setValue(2);
|
break;
|
||||||
permanent.getToughness().setValue(2);
|
case "a 2/2 artifact creature with flying":
|
||||||
} else if (choice.getChoice().equals("a 1/6 Wall artifact creature with defender")) {
|
permanent.getPower().setValue(2);
|
||||||
permanent.getPower().setValue(1);
|
permanent.getToughness().setValue(2);
|
||||||
permanent.getToughness().setValue(6);
|
break;
|
||||||
|
case "a 1/6 Wall artifact creature with defender":
|
||||||
|
permanent.getPower().setValue(1);
|
||||||
|
permanent.getToughness().setValue(6);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case AbilityAddingRemovingEffects_6:
|
case AbilityAddingRemovingEffects_6:
|
||||||
if (choice.getChoice().equals("a 2/2 artifact creature with flying")) {
|
switch (choice.getChoice()) {
|
||||||
permanent.addAbility(FlyingAbility.getInstance(), game);
|
case "a 2/2 artifact creature with flying":
|
||||||
} else if (choice.getChoice().equals("a 1/6 Wall artifact creature with defender")) {
|
permanent.addAbility(FlyingAbility.getInstance(), source.getSourceId(), game);
|
||||||
permanent.addAbility(DefenderAbility.getInstance(), game);
|
break;
|
||||||
|
case "a 1/6 Wall artifact creature with defender":
|
||||||
|
permanent.addAbility(DefenderAbility.getInstance(), source.getSourceId(), game);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
@ -134,6 +141,7 @@ class PrimalClayEffect extends ContinuousEffectImpl<PrimalClayEffect> {
|
||||||
class PrimalClayChoice extends ChoiceImpl<PrimalClayChoice> {
|
class PrimalClayChoice extends ChoiceImpl<PrimalClayChoice> {
|
||||||
PrimalClayChoice() {
|
PrimalClayChoice() {
|
||||||
super(true);
|
super(true);
|
||||||
|
this.setMessage("Choose for Primal Clay to be");
|
||||||
this.choices.add("a 3/3 artifact creature");
|
this.choices.add("a 3/3 artifact creature");
|
||||||
this.choices.add("a 2/2 artifact creature with flying");
|
this.choices.add("a 2/2 artifact creature with flying");
|
||||||
this.choices.add("a 1/6 Wall artifact creature with defender");
|
this.choices.add("a 1/6 Wall artifact creature with defender");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue