This commit is contained in:
Evan Kranzler 2017-08-18 14:58:59 -04:00
parent ca11f22580
commit 7e9b6eff1e

View file

@ -40,6 +40,7 @@ import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.Zone;
import mage.filter.common.FilterCreaturePermanent;
/**
*
@ -47,8 +48,10 @@ import mage.constants.Zone;
*/
public class SiegeBehemoth extends CardImpl {
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("each creature you control");
public SiegeBehemoth(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{5}{G}{G}");
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{5}{G}{G}");
this.subtype.add("Beast");
this.power = new MageInt(7);
@ -61,7 +64,7 @@ public class SiegeBehemoth extends CardImpl {
this.addAbility(new SimpleStaticAbility(
Zone.BATTLEFIELD,
new ConditionalContinuousEffect(
new GainAbilityControlledEffect(DamageAsThoughNotBlockedAbility.getInstance(), Duration.WhileOnBattlefield),
new GainAbilityControlledEffect(DamageAsThoughNotBlockedAbility.getInstance(), Duration.WhileOnBattlefield, filter),
SourceAttackingCondition.instance,
"As long as {this} is attacking, for each creature you control, you may have that creature assign its combat damage as though it weren't blocked"
)));