mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
* Pride Sovereign - Fixed that it also boosted for the Pride Sovereign itself. Fixed tooltip text.
This commit is contained in:
parent
1911b91a82
commit
99925da80e
1 changed files with 86 additions and 83 deletions
|
|
@ -46,6 +46,7 @@ import mage.constants.Duration;
|
||||||
import mage.constants.SubType;
|
import mage.constants.SubType;
|
||||||
import mage.constants.Zone;
|
import mage.constants.Zone;
|
||||||
import mage.filter.common.FilterControlledCreaturePermanent;
|
import mage.filter.common.FilterControlledCreaturePermanent;
|
||||||
|
import mage.filter.predicate.permanent.AnotherPredicate;
|
||||||
import mage.game.permanent.token.CatToken2;
|
import mage.game.permanent.token.CatToken2;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -62,8 +63,10 @@ public class PrideSovereign extends CardImpl {
|
||||||
this.toughness = new MageInt(2);
|
this.toughness = new MageInt(2);
|
||||||
|
|
||||||
// Pride Sovereign gets +1/+1 for each other Cat you control.
|
// Pride Sovereign gets +1/+1 for each other Cat you control.
|
||||||
DynamicValue otherCats = new PermanentsOnBattlefieldCount(new FilterControlledCreaturePermanent(SubType.CAT, "other Cat you control"));
|
DynamicValue otherCats = new PermanentsOnBattlefieldCount();
|
||||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostSourceEffect(otherCats, otherCats, Duration.EndOfGame)));
|
FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent(SubType.CAT, "other Cat you control");
|
||||||
|
filter.add(new AnotherPredicate());
|
||||||
|
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostSourceEffect(otherCats, otherCats, Duration.WhileOnBattlefield)));
|
||||||
// {W}, {t}, Exert Pride Sovereign: Create two 1/1 white Cat creature tokens with lifelink.
|
// {W}, {t}, Exert Pride Sovereign: Create two 1/1 white Cat creature tokens with lifelink.
|
||||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new CatToken2(), 2), new ManaCostsImpl("{W}"));
|
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new CatToken2(), 2), new ManaCostsImpl("{W}"));
|
||||||
ability.addCost(new TapSourceCost());
|
ability.addCost(new TapSourceCost());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue