mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
* Navigator's Compass - Fixed tooltip rule text.
This commit is contained in:
parent
290be87073
commit
8f45bb71f4
1 changed files with 7 additions and 8 deletions
|
|
@ -27,7 +27,7 @@
|
|||
*/
|
||||
package mage.cards.n;
|
||||
|
||||
import mage.MageInt;
|
||||
import java.util.UUID;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
|
|
@ -39,11 +39,8 @@ import mage.cards.CardSetInfo;
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.common.FilterControlledLandPermanent;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.common.TargetControlledPermanent;
|
||||
import mage.target.common.TargetLandPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -52,14 +49,16 @@ import java.util.UUID;
|
|||
public class NavigatorsCompass extends CardImpl {
|
||||
|
||||
public NavigatorsCompass(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{1}");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{1}");
|
||||
|
||||
// When Navigator’s Compass enters the battlefield, you gain 3 life.
|
||||
Ability etbAbility = new EntersBattlefieldTriggeredAbility(new GainLifeEffect(3));
|
||||
this.addAbility(etbAbility);
|
||||
// {tap}: Until end of turn, target land you control becomes the basic land type of your choice in addition to its other types.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BecomesBasicLandTargetEffect(Duration.EndOfTurn, true, false), new TapSourceCost());
|
||||
ability.addTarget(new TargetControlledPermanent(new FilterControlledLandPermanent()));
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BecomesBasicLandTargetEffect(Duration.EndOfTurn, true, false)
|
||||
.setText("Until end of turn, target land you control becomes the basic land type of your choice in addition to its other types"),
|
||||
new TapSourceCost());
|
||||
ability.addTarget(new TargetControlledPermanent(StaticFilters.FILTER_CONTROLLED_PERMANENT_LAND));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue