mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 20:32:06 -08:00
[40K] Implemented Sporocyst
This commit is contained in:
parent
518c8c20b6
commit
f21c2a6b2b
3 changed files with 83 additions and 2 deletions
|
|
@ -18,11 +18,13 @@ public class RavenousAbility extends EntersBattlefieldAbility {
|
|||
|
||||
public RavenousAbility() {
|
||||
super(new EntersBattlefieldWithXCountersEffect(CounterType.P1P1.createInstance()));
|
||||
this.addSubAbility(new ConditionalInterveningIfTriggeredAbility(
|
||||
Ability ability = new ConditionalInterveningIfTriggeredAbility(
|
||||
new EntersBattlefieldTriggeredAbility(new DrawCardSourceControllerEffect(1)),
|
||||
RavenousAbilityCondition.instance, "When this creature enters the battlefield, " +
|
||||
"if X is 5 or more, draw a card"
|
||||
));
|
||||
);
|
||||
ability.setRuleVisible(false);
|
||||
this.addSubAbility(ability);
|
||||
}
|
||||
|
||||
private RavenousAbility(final RavenousAbility ability) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue