mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
text gen adjustment
This commit is contained in:
parent
845b9da215
commit
4d2d062a04
1 changed files with 2 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ import mage.constants.Outcome;
|
|||
import mage.constants.SubLayer;
|
||||
import mage.game.Game;
|
||||
import mage.game.permanent.Permanent;
|
||||
import mage.util.CardUtil;
|
||||
|
||||
/**
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
|
|
@ -35,7 +36,7 @@ public class GainAbilitySourceEffect extends ContinuousEffectImpl {
|
|||
super(duration, Layer.AbilityAddingRemovingEffects_6, SubLayer.NA, Outcome.AddAbility);
|
||||
this.ability = ability;
|
||||
this.onCard = onCard;
|
||||
this.staticText = "{this} gains " + ability.getRule()
|
||||
this.staticText = "{this} gains " + CardUtil.stripReminderText(ability.getRule())
|
||||
+ (duration.toString().isEmpty() ? "" : ' ' + duration.toString());
|
||||
this.generateGainAbilityDependencies(ability, null);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue