mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 05:09:16 -08:00
* Combat blocking - Fixed that blocking of multiple attackers by one creature did not work (e.g. for Guardian of the Gateless).
This commit is contained in:
parent
a079727608
commit
ccd91f0657
4 changed files with 87 additions and 52 deletions
|
|
@ -28,6 +28,7 @@
|
|||
package mage.sets.riseoftheeldrazi;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.Rarity;
|
||||
|
|
@ -51,9 +52,13 @@ public class VirulentSwipe extends CardImpl<VirulentSwipe> {
|
|||
this.color.setBlack(true);
|
||||
|
||||
// Target creature gets +2/+0 and gains deathtouch until end of turn.
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
this.getSpellAbility().addEffect(new BoostTargetEffect(2, 0, Duration.EndOfTurn));
|
||||
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(DeathtouchAbility.getInstance(), Duration.EndOfTurn));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(true));
|
||||
Effect effect = new BoostTargetEffect(2, 0, Duration.EndOfTurn);
|
||||
effect.setText("Target creature gets +2/+0");
|
||||
this.getSpellAbility().addEffect(effect);
|
||||
effect = new GainAbilityTargetEffect(DeathtouchAbility.getInstance(), Duration.EndOfTurn);
|
||||
effect.setText("and gains deathtouch until end of turn");
|
||||
this.getSpellAbility().addEffect(effect);
|
||||
|
||||
this.addAbility(new ReboundAbility());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue