* Lightmine Field - Fixed that the damge done was not preventable.

This commit is contained in:
LevelX2 2016-09-21 19:34:29 +02:00
parent b6f71f3621
commit babeb5418c

View file

@ -52,7 +52,6 @@ public class LightmineField extends CardImpl {
super(ownerId, 32, "Lightmine Field", Rarity.RARE, new CardType[]{CardType.ENCHANTMENT}, "{2}{W}{W}"); super(ownerId, 32, "Lightmine Field", Rarity.RARE, new CardType[]{CardType.ENCHANTMENT}, "{2}{W}{W}");
this.expansionSetCode = "ROE"; this.expansionSetCode = "ROE";
// Whenever one or more creatures attack, Lightmine Field deals damage to each of those creatures equal to the number of attacking creatures. // Whenever one or more creatures attack, Lightmine Field deals damage to each of those creatures equal to the number of attacking creatures.
this.addAbility(new LightmineFieldTriggeredAbility()); this.addAbility(new LightmineFieldTriggeredAbility());
} }
@ -122,7 +121,7 @@ class LightmineFieldEffect extends OneShotEffect {
for (UUID attacker : attackers) { for (UUID attacker : attackers) {
Permanent creature = game.getPermanent(attacker); Permanent creature = game.getPermanent(attacker);
if (creature != null) { if (creature != null) {
creature.damage(damage, source.getSourceId(), game, false, false); creature.damage(damage, source.getSourceId(), game, false, true);
} }
} }
return true; return true;