mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Cauldron of Souls - Fixed tooltip text.
This commit is contained in:
parent
157827addc
commit
769a37958d
1 changed files with 5 additions and 2 deletions
|
@ -31,6 +31,7 @@ import java.util.UUID;
|
|||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.common.TapSourceCost;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
|
||||
import mage.abilities.keyword.PersistAbility;
|
||||
import mage.cards.CardImpl;
|
||||
|
@ -48,10 +49,12 @@ import mage.target.common.TargetCreaturePermanent;
|
|||
public class CauldronOfSouls extends CardImpl {
|
||||
|
||||
public CauldronOfSouls(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{5}");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{5}");
|
||||
|
||||
// {tap}: Choose any number of target creatures. Each of those creatures gains persist until end of turn.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityTargetEffect(new PersistAbility(), Duration.EndOfTurn), new TapSourceCost());
|
||||
Effect effect = new GainAbilityTargetEffect(new PersistAbility(), Duration.EndOfTurn);
|
||||
effect.setText("choose any number of target creatures. Each of those creatures gains persist until end of turn");
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new TapSourceCost());
|
||||
ability.addTarget(new TargetCreaturePermanent(0, Integer.MAX_VALUE, new FilterCreaturePermanent(), false));
|
||||
this.addAbility(ability);
|
||||
|
||||
|
|
Loading…
Reference in a new issue