mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
* Lightmine Field - Fixed that the damge done was not preventable.
This commit is contained in:
parent
b6f71f3621
commit
babeb5418c
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue