mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 13:19:18 -08:00
* ChooseNewTargets - Fixed some problems with amount targets. Some problem left fix coming soon.
This commit is contained in:
parent
733b0f6b8e
commit
32699757c4
5 changed files with 135 additions and 43 deletions
|
|
@ -28,6 +28,7 @@
|
|||
package mage.sets.guildpact;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Rarity;
|
||||
import mage.abilities.effects.common.DamageMultiEffect;
|
||||
|
|
@ -49,7 +50,9 @@ public class Electrolyze extends CardImpl<Electrolyze> {
|
|||
this.color.setBlue(true);
|
||||
|
||||
// Electrolyze deals 2 damage divided as you choose among one or two target creatures and/or players.
|
||||
this.getSpellAbility().addEffect(new DamageMultiEffect(2));
|
||||
Effect effect = new DamageMultiEffect(2);
|
||||
effect.setText("{source} deals 2 damage divided as you choose among one or two target creatures and/or players");
|
||||
this.getSpellAbility().addEffect(effect);
|
||||
this.getSpellAbility().addTarget(new TargetCreatureOrPlayerAmount(2));
|
||||
// Draw a card.
|
||||
this.getSpellAbility().addEffect(new DrawCardControllerEffect(1));
|
||||
|
|
|
|||
|
|
@ -56,6 +56,8 @@ public class Reverberate extends CardImpl<Reverberate> {
|
|||
super(ownerId, 155, "Reverberate", Rarity.RARE, new CardType[]{CardType.INSTANT}, "{R}{R}");
|
||||
this.expansionSetCode = "M11";
|
||||
this.color.setRed(true);
|
||||
|
||||
// Copy target instant or sorcery spell. You may choose new targets for the copy.
|
||||
this.getSpellAbility().addTarget(new TargetSpell(filter));
|
||||
this.getSpellAbility().addEffect(new CopyTargetSpellEffect());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue