Fixed texts

This commit is contained in:
Oleg Agafonov 2019-07-05 15:03:24 +04:00
parent 39757033c5
commit 39edc3feef
4 changed files with 14 additions and 10 deletions

View file

@ -1,6 +1,7 @@
package mage.abilities.effects.common.combat;
import mage.abilities.Ability;
import mage.abilities.Mode;
import mage.abilities.effects.ContinuousEffect;
import mage.abilities.effects.OneShotEffect;
import mage.constants.Duration;
@ -24,7 +25,6 @@ public class GoadTargetEffect extends OneShotEffect {
*/
public GoadTargetEffect() {
super(Outcome.Detriment);
staticText = "you may goad target creature. <i>(Until your next turn, that creature attacks each combat if able and attacks a player other than you if able.)</i>";
}
public GoadTargetEffect(final GoadTargetEffect effect) {
@ -59,4 +59,9 @@ public class GoadTargetEffect extends OneShotEffect {
}
return true;
}
@Override
public String getText(Mode mode) {
return "goad target " + mode.getTargets().get(0).getTargetName() + ". <i>(Until your next turn, that creature attacks each combat if able and attacks a player other than you if able.)</i>";
}
}