mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
Fixed viewer size update, code clean, fixed typo
This commit is contained in:
parent
202b40a449
commit
dc1eaeb5bb
4 changed files with 5 additions and 2 deletions
|
|
@ -668,6 +668,7 @@ public class MageBook extends JComponent {
|
|||
setPreferredSize(new Dimension(conf.WIDTH, conf.HEIGHT));
|
||||
setMinimumSize(new Dimension(conf.WIDTH, conf.HEIGHT));
|
||||
addSetTabs();
|
||||
showCards();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -62,6 +62,8 @@ public class LordOfTheUnreal extends CardImpl {
|
|||
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Illusion creatures you control get +1/+1 and have hexproof
|
||||
Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield, filter, false));
|
||||
ability.addEffect(new GainAbilityControlledEffect(HexproofAbility.getInstance(), Duration.WhileOnBattlefield, filter, false));
|
||||
this.addAbility(ability);
|
||||
|
|
|
|||
|
|
@ -53,8 +53,7 @@ public class MeganticSliver extends CardImpl {
|
|||
this.toughness = new MageInt(3);
|
||||
|
||||
// Sliver creatures you control get +3/+3.
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
|
||||
new BoostControlledEffect(3, 3, Duration.WhileInGraveyard, StaticFilters.FILTER_PERMANENT_CREATURE_SLIVERS)));
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(3, 3, Duration.WhileOnBattlefield, StaticFilters.FILTER_PERMANENT_CREATURE_SLIVERS)));
|
||||
}
|
||||
|
||||
public MeganticSliver(final MeganticSliver card) {
|
||||
|
|
|
|||
|
|
@ -69,6 +69,7 @@ public class MerfolkSovereign extends CardImpl {
|
|||
|
||||
// Other Merfolk creatures you control get +1/+1.
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield, filter1, true)));
|
||||
|
||||
// {tap}: Target Merfolk creature can't be blocked this turn.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CantBeBlockedTargetEffect(), new TapSourceCost());
|
||||
ability.addTarget(new TargetCreaturePermanent(filter2));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue