mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
commit
a996260597
3 changed files with 6 additions and 6 deletions
|
@ -91,7 +91,7 @@ public class TheLocustGod extends CardImpl {
|
||||||
|
|
||||||
class TheLocustGodEffect extends OneShotEffect {
|
class TheLocustGodEffect extends OneShotEffect {
|
||||||
|
|
||||||
private static final String effectText = "return it to its owner's hand at the beginning of the next end step.";
|
private static final String effectText = "return it to its owner's hand at the beginning of the next end step";
|
||||||
|
|
||||||
TheLocustGodEffect() {
|
TheLocustGodEffect() {
|
||||||
super(Outcome.Benefit);
|
super(Outcome.Benefit);
|
||||||
|
@ -106,7 +106,7 @@ class TheLocustGodEffect extends OneShotEffect {
|
||||||
public boolean apply(Game game, Ability source) {
|
public boolean apply(Game game, Ability source) {
|
||||||
// Create delayed triggered ability
|
// Create delayed triggered ability
|
||||||
Effect effect = new ReturnToHandSourceEffect(false, true);
|
Effect effect = new ReturnToHandSourceEffect(false, true);
|
||||||
effect.setText(staticText);
|
effect.setText("return {this} to its owner's hand");
|
||||||
DelayedTriggeredAbility delayedAbility = new AtTheBeginOfNextEndStepDelayedTriggeredAbility(effect);
|
DelayedTriggeredAbility delayedAbility = new AtTheBeginOfNextEndStepDelayedTriggeredAbility(effect);
|
||||||
game.addDelayedTriggeredAbility(delayedAbility, source);
|
game.addDelayedTriggeredAbility(delayedAbility, source);
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -174,7 +174,7 @@ class TheScarabGodEffect2 extends OneShotEffect {
|
||||||
|
|
||||||
class TheScarabGodEffect3 extends OneShotEffect {
|
class TheScarabGodEffect3 extends OneShotEffect {
|
||||||
|
|
||||||
private static final String effectText = "return it to its owner's hand at the beginning of the next upkeep.";
|
private static final String effectText = "return it to its owner's hand at the beginning of the next end step";
|
||||||
|
|
||||||
TheScarabGodEffect3() {
|
TheScarabGodEffect3() {
|
||||||
super(Outcome.Benefit);
|
super(Outcome.Benefit);
|
||||||
|
@ -189,7 +189,7 @@ class TheScarabGodEffect3 extends OneShotEffect {
|
||||||
public boolean apply(Game game, Ability source) {
|
public boolean apply(Game game, Ability source) {
|
||||||
// Create delayed triggered ability
|
// Create delayed triggered ability
|
||||||
Effect effect = new ReturnToHandSourceEffect(false, true);
|
Effect effect = new ReturnToHandSourceEffect(false, true);
|
||||||
effect.setText(staticText);
|
effect.setText("return {this} to its owner's hand");
|
||||||
DelayedTriggeredAbility delayedAbility = new AtTheBeginOfNextEndStepDelayedTriggeredAbility(effect);
|
DelayedTriggeredAbility delayedAbility = new AtTheBeginOfNextEndStepDelayedTriggeredAbility(effect);
|
||||||
game.addDelayedTriggeredAbility(delayedAbility, source);
|
game.addDelayedTriggeredAbility(delayedAbility, source);
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -141,7 +141,7 @@ class TheScorpionGodTriggeredAbility extends TriggeredAbilityImpl {
|
||||||
|
|
||||||
class TheScorpionGodEffect extends OneShotEffect {
|
class TheScorpionGodEffect extends OneShotEffect {
|
||||||
|
|
||||||
private static final String effectText = "return it to its owner's hand";
|
private static final String effectText = "return it to its owner's hand at the beginning of the next end step";
|
||||||
|
|
||||||
TheScorpionGodEffect() {
|
TheScorpionGodEffect() {
|
||||||
super(Outcome.Benefit);
|
super(Outcome.Benefit);
|
||||||
|
@ -156,7 +156,7 @@ class TheScorpionGodEffect extends OneShotEffect {
|
||||||
public boolean apply(Game game, Ability source) {
|
public boolean apply(Game game, Ability source) {
|
||||||
// Create delayed triggered ability
|
// Create delayed triggered ability
|
||||||
Effect effect = new ReturnToHandSourceEffect(false, true);
|
Effect effect = new ReturnToHandSourceEffect(false, true);
|
||||||
effect.setText(staticText);
|
effect.setText("return {this} to its owner's hand");
|
||||||
DelayedTriggeredAbility delayedAbility = new AtTheBeginOfNextEndStepDelayedTriggeredAbility(effect);
|
DelayedTriggeredAbility delayedAbility = new AtTheBeginOfNextEndStepDelayedTriggeredAbility(effect);
|
||||||
game.addDelayedTriggeredAbility(delayedAbility, source);
|
game.addDelayedTriggeredAbility(delayedAbility, source);
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue