mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
[SNC] Implemented Paragon of Modernity
This commit is contained in:
parent
15943485e6
commit
371874b7e3
3 changed files with 73 additions and 2 deletions
|
|
@ -2,10 +2,11 @@
|
|||
|
||||
package mage.abilities.effects.common;
|
||||
|
||||
import mage.constants.Outcome;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.effects.ContinuousEffect;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.constants.Outcome;
|
||||
import mage.game.Game;
|
||||
|
||||
/**
|
||||
|
|
@ -18,7 +19,6 @@ public class AddContinuousEffectToGame extends OneShotEffect {
|
|||
public AddContinuousEffectToGame(ContinuousEffect effect) {
|
||||
super(Outcome.Benefit);
|
||||
this.effect = effect;
|
||||
this.staticText = effect.getText(null);
|
||||
}
|
||||
|
||||
public AddContinuousEffectToGame(final AddContinuousEffectToGame effect) {
|
||||
|
|
@ -36,4 +36,9 @@ public class AddContinuousEffectToGame extends OneShotEffect {
|
|||
game.addEffect(effect, source);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getText(Mode mode) {
|
||||
return effect.getText(mode);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue