mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
[minor] fixed tooltip rule text of Kessig Wolf Run.
This commit is contained in:
parent
27b55b4e49
commit
e14886ffda
2 changed files with 6 additions and 5 deletions
|
@ -27,7 +27,6 @@
|
|||
*/
|
||||
package mage.sets.innistrad;
|
||||
|
||||
import mage.Constants;
|
||||
import mage.Constants.CardType;
|
||||
import mage.Constants.Rarity;
|
||||
import mage.abilities.Ability;
|
||||
|
@ -44,6 +43,8 @@ import mage.cards.CardImpl;
|
|||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.Constants.Duration;
|
||||
import mage.Constants.Zone;
|
||||
|
||||
/**
|
||||
* @author nantuko
|
||||
|
@ -58,10 +59,10 @@ public class KessigWolfRun extends CardImpl<KessigWolfRun> {
|
|||
this.addAbility(new ColorlessManaAbility());
|
||||
|
||||
// {X}{R}{G}, {T}: Target creature gets +X/+0 and gains trample until end of turn.
|
||||
Ability ability = new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new GainAbilityTargetEffect(TrampleAbility.getInstance(), Constants.Duration.EndOfTurn), new ManaCostsImpl("{X}{R}{G}"));
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityTargetEffect(TrampleAbility.getInstance(), Duration.EndOfTurn), new ManaCostsImpl("{X}{R}{G}"));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addEffect(new BoostTargetEffect(new ManacostVariableValue(), new StaticValue(0), Constants.Duration.EndOfTurn));
|
||||
ability.addTarget(new TargetCreaturePermanent());
|
||||
ability.addEffect(new BoostTargetEffect(new ManacostVariableValue(), new StaticValue(0), Duration.EndOfTurn));
|
||||
ability.addTarget(new TargetCreaturePermanent(true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -151,7 +151,7 @@ public class BoostTargetEffect extends ContinuousEffectImpl<BoostTargetEffect> {
|
|||
message = toughness.getMessage();
|
||||
fixedPart = " for each ";
|
||||
}
|
||||
if (message != null && fixedPart != null) {
|
||||
if (message != null && !message.isEmpty() && fixedPart != null) {
|
||||
sb.append(fixedPart).append(message);
|
||||
}
|
||||
return sb.toString();
|
||||
|
|
Loading…
Reference in a new issue