mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
Merge pull request #9045 from PurpleCrowbar/imagefixes
Specific token image bug fixes
This commit is contained in:
commit
da6e5260ec
3 changed files with 12 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ public final class ChandraAwakenedInfernoEmblem extends Emblem {
|
|||
|
||||
public ChandraAwakenedInfernoEmblem() {
|
||||
setName("Emblem Chandra");
|
||||
setExpansionSetCodeForImage("M19");
|
||||
setExpansionSetCodeForImage("M20");
|
||||
this.getAbilities().add(new BeginningOfUpkeepTriggeredAbility(
|
||||
Zone.COMMAND, new DamageControllerEffect(1, "this emblem"),
|
||||
TargetController.YOU, false, true
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ public final class MuYanlingSkyDancerEmblem extends Emblem {
|
|||
// "Islands you control have '{T}: Draw a card'."
|
||||
public MuYanlingSkyDancerEmblem() {
|
||||
this.setName("Emblem Yanling");
|
||||
this.setExpansionSetCodeForImage("M20");
|
||||
this.getAbilities().add(new SimpleStaticAbility(
|
||||
Zone.COMMAND,
|
||||
new GainAbilityControlledEffect(new SimpleActivatedAbility(
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ import mage.abilities.keyword.FlyingAbility;
|
|||
import mage.abilities.keyword.HasteAbility;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.util.RandomUtil;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
|
|
@ -27,6 +28,15 @@ public final class TheLocustGodInsectToken extends TokenImpl {
|
|||
availableImageSetCodes = Arrays.asList("HOU", "C20");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setExpansionSetCodeForImage(String code) {
|
||||
super.setExpansionSetCodeForImage(code);
|
||||
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("C20")) {
|
||||
this.setTokenType(2);
|
||||
}
|
||||
}
|
||||
|
||||
public TheLocustGodInsectToken(final TheLocustGodInsectToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue