mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
* Traproot Kami -- Fix Traproot Kami incorrectly gets power from forests on the battlefield when it should only get toughness from them.
This commit is contained in:
parent
6bc561340c
commit
725bb2d926
1 changed files with 2 additions and 4 deletions
|
@ -34,9 +34,7 @@ import mage.constants.Rarity;
|
||||||
import mage.MageInt;
|
import mage.MageInt;
|
||||||
import mage.abilities.common.SimpleStaticAbility;
|
import mage.abilities.common.SimpleStaticAbility;
|
||||||
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
|
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
|
||||||
import mage.abilities.dynamicvalue.common.StaticValue;
|
import mage.abilities.effects.common.continious.SetToughnessSourceEffect;
|
||||||
import mage.abilities.effects.common.continious.BoostSourceEffect;
|
|
||||||
import mage.abilities.effects.common.continious.SetPowerToughnessSourceEffect;
|
|
||||||
import mage.abilities.keyword.DefenderAbility;
|
import mage.abilities.keyword.DefenderAbility;
|
||||||
import mage.abilities.keyword.ReachAbility;
|
import mage.abilities.keyword.ReachAbility;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
|
@ -68,7 +66,7 @@ public class TraprootKami extends CardImpl {
|
||||||
this.addAbility(DefenderAbility.getInstance());
|
this.addAbility(DefenderAbility.getInstance());
|
||||||
this.addAbility(ReachAbility.getInstance());
|
this.addAbility(ReachAbility.getInstance());
|
||||||
// Traproot Kami's toughness is equal to the number of Forests on the battlefield.
|
// Traproot Kami's toughness is equal to the number of Forests on the battlefield.
|
||||||
this.addAbility(new SimpleStaticAbility(Zone.ALL, new SetPowerToughnessSourceEffect(new PermanentsOnBattlefieldCount(filter), Duration.EndOfGame)));
|
this.addAbility(new SimpleStaticAbility(Zone.ALL, new SetToughnessSourceEffect(new PermanentsOnBattlefieldCount(filter), Duration.EndOfGame)));
|
||||||
}
|
}
|
||||||
|
|
||||||
public TraprootKami(final TraprootKami card) {
|
public TraprootKami(final TraprootKami card) {
|
||||||
|
|
Loading…
Reference in a new issue