mirror of
https://github.com/magefree/mage.git
synced 2026-01-23 03:39:54 -08:00
* Hail of Arrows - Fixed that no damage was dealt.
This commit is contained in:
parent
75ed3ffbca
commit
614d0d491a
2 changed files with 11 additions and 17 deletions
|
|
@ -34,7 +34,7 @@ import mage.cards.CardImpl;
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.Rarity;
|
||||
import mage.filter.common.FilterAttackingCreature;
|
||||
import mage.target.common.TargetAttackingCreature;
|
||||
import mage.target.common.TargetCreaturePermanentAmount;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -46,10 +46,9 @@ public class HailOfArrows extends CardImpl {
|
|||
super(ownerId, 11, "Hail of Arrows", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{X}{W}");
|
||||
this.expansionSetCode = "SOK";
|
||||
|
||||
|
||||
// Hail of Arrows deals X damage divided as you choose among any number of target attacking creatures.
|
||||
this.getSpellAbility().addEffect(new DamageMultiEffect(new ManacostVariableValue()));
|
||||
this.getSpellAbility().addTarget(new TargetAttackingCreature(0, Integer.MAX_VALUE, new FilterAttackingCreature(), true));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanentAmount(new ManacostVariableValue(), new FilterAttackingCreature()));
|
||||
}
|
||||
|
||||
public HailOfArrows(final HailOfArrows card) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue