Fix Ankle Shanker giving deathtouch to everything

Currently it gives deathtouch to everything, I noticed that my friend's lands gained deathtouch after Ankle Shanker attacked.
This commit is contained in:
Grath 2021-05-23 15:54:32 -04:00 committed by GitHub
parent 19c5750b01
commit 58aec9cbe8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@ public final class AnkleShanker extends CardImpl {
Effect effect = new GainAbilityControlledEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn, StaticFilters.FILTER_PERMANENT_CREATURES);
effect.setText("creatures you control gain first strike");
Ability ability = new AttacksTriggeredAbility(effect, false);
effect = new GainAbilityControlledEffect(DeathtouchAbility.getInstance(), Duration.EndOfTurn);
effect = new GainAbilityControlledEffect(DeathtouchAbility.getInstance(), Duration.EndOfTurn, StaticFilters.FILTER_PERMANENT_CREATURES);
effect.setText("and deathtouch until end of turn");
ability.addEffect(effect);
this.addAbility(ability);