mirror of
https://github.com/correl/mage.git
synced 2025-04-07 17:00:08 -09:00
Small change to Uphill Battle.
This commit is contained in:
parent
82e8606b40
commit
15602cdfb3
2 changed files with 6 additions and 6 deletions
|
@ -51,7 +51,9 @@ import mage.watchers.common.CreatureWasCastWatcher;
|
||||||
public class UphillBattle extends CardImpl {
|
public class UphillBattle extends CardImpl {
|
||||||
|
|
||||||
public UphillBattle(UUID ownerId, CardSetInfo setInfo) {
|
public UphillBattle(UUID ownerId, CardSetInfo setInfo) {
|
||||||
super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{2}{R}");
|
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{2}{R}");
|
||||||
|
|
||||||
|
// Creatures played by your opponents enter the battlefield tapped.
|
||||||
Ability tapAbility = new SimpleStaticAbility(Zone.BATTLEFIELD, new UphillBattleTapEffect());
|
Ability tapAbility = new SimpleStaticAbility(Zone.BATTLEFIELD, new UphillBattleTapEffect());
|
||||||
tapAbility.addWatcher(new CreatureWasCastWatcher());
|
tapAbility.addWatcher(new CreatureWasCastWatcher());
|
||||||
tapAbility.addWatcher(new PlayCreatureLandWatcher());
|
tapAbility.addWatcher(new PlayCreatureLandWatcher());
|
||||||
|
@ -118,7 +120,6 @@ class PlayCreatureLandWatcher extends Watcher {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class UphillBattleTapEffect extends ReplacementEffectImpl {
|
class UphillBattleTapEffect extends ReplacementEffectImpl {
|
||||||
|
|
||||||
UphillBattleTapEffect() {
|
UphillBattleTapEffect() {
|
||||||
|
|
|
@ -59,7 +59,6 @@ public interface Permanent extends Card, Controllable {
|
||||||
* @param tapped
|
* @param tapped
|
||||||
* @deprecated
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
void setTapped(boolean tapped);
|
void setTapped(boolean tapped);
|
||||||
|
|
||||||
boolean canTap();
|
boolean canTap();
|
||||||
|
|
Loading…
Add table
Reference in a new issue