mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
fixed bug #3852
This commit is contained in:
parent
ca11f22580
commit
7e9b6eff1e
1 changed files with 5 additions and 2 deletions
|
@ -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"
|
||||
)));
|
||||
|
|
Loading…
Reference in a new issue