mirror of
https://github.com/correl/mage.git
synced 2024-12-27 03:00:13 +00:00
Fixes #3492 Kamahal grants creatures, not all permanents trample
This commit is contained in:
parent
5cfb496899
commit
1ecf197732
1 changed files with 5 additions and 4 deletions
|
@ -27,6 +27,7 @@
|
|||
*/
|
||||
package mage.cards.k;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
|
@ -40,11 +41,10 @@ import mage.constants.CardType;
|
|||
import mage.constants.Duration;
|
||||
import mage.constants.SuperType;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.game.permanent.token.Token;
|
||||
import mage.target.common.TargetLandPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Backfir3
|
||||
|
@ -52,6 +52,7 @@ import java.util.UUID;
|
|||
public class KamahlFistOfKrosa extends CardImpl {
|
||||
|
||||
public KamahlFistOfKrosa(UUID ownerId, CardSetInfo setInfo) {
|
||||
|
||||
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{4}{G}{G}");
|
||||
addSuperType(SuperType.LEGENDARY);
|
||||
this.subtype.add("Human");
|
||||
|
@ -71,7 +72,7 @@ public class KamahlFistOfKrosa extends CardImpl {
|
|||
SimpleActivatedAbility boostAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD,
|
||||
new BoostControlledEffect(3, 3, Duration.EndOfTurn),
|
||||
new ManaCostsImpl("{2}{G}{G}{G}"));
|
||||
boostAbility.addEffect(new GainAbilityControlledEffect(TrampleAbility.getInstance(), Duration.EndOfTurn));
|
||||
boostAbility.addEffect(new GainAbilityControlledEffect(TrampleAbility.getInstance(), Duration.EndOfTurn, StaticFilters.FILTER_PERMANENT_CREATURES));
|
||||
this.addAbility(boostAbility);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue