Merge pull request #3625 from ciaccona007/master

Fix text in HOU gods
This commit is contained in:
ciaccona007 2017-07-09 01:11:13 -04:00 committed by GitHub
commit a996260597
3 changed files with 6 additions and 6 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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;