mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
[HOU] Tenacious Hunter - Fixed that -1/-1 counters on creatures of other players did not activate the ability.
This commit is contained in:
parent
50e5f0b332
commit
57e2576907
1 changed files with 5 additions and 8 deletions
|
@ -39,6 +39,7 @@ import mage.abilities.keyword.VigilanceAbility;
|
|||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.ComparisonType;
|
||||
import mage.constants.Zone;
|
||||
import mage.counters.CounterType;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
|
@ -66,16 +67,12 @@ public class TenaciousHunter extends CardImpl {
|
|||
// As long as a creature has a -1/-1 counter on it, Tenacious Hunter has vigilance and deathtouch.
|
||||
Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD,
|
||||
new ConditionalContinuousEffect(new GainAbilitySourceEffect(VigilanceAbility.getInstance()),
|
||||
new PermanentsOnTheBattlefieldCondition(filter),
|
||||
"{this} has Vigilance as long as a creature has a -1/-1 counter on it"
|
||||
)
|
||||
);
|
||||
new PermanentsOnTheBattlefieldCondition(filter, ComparisonType.MORE_THAN, 0, false),
|
||||
"As long as a creature has a -1/-1 counter on it, {this} has vigilance"));
|
||||
|
||||
ability.addEffect(new ConditionalContinuousEffect(new GainAbilitySourceEffect(DeathtouchAbility.getInstance()),
|
||||
new PermanentsOnTheBattlefieldCondition(filter),
|
||||
"{this} has Deathtouch as long as a creature has a -1/-1 counter on it"
|
||||
)
|
||||
);
|
||||
new PermanentsOnTheBattlefieldCondition(filter, ComparisonType.MORE_THAN, 0, false),
|
||||
"and deathtouch"));
|
||||
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue