mirror of
https://github.com/correl/mage.git
synced 2024-12-27 20:06:31 +00:00
* Lightkeeper of Emeria - Fixed that the lifegain was not multiplied by two.
This commit is contained in:
parent
7455e0e0bc
commit
815e6720b0
1 changed files with 5 additions and 2 deletions
|
@ -32,7 +32,9 @@ import mage.constants.CardType;
|
||||||
import mage.constants.Rarity;
|
import mage.constants.Rarity;
|
||||||
import mage.MageInt;
|
import mage.MageInt;
|
||||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||||
|
import mage.abilities.dynamicvalue.MultipliedValue;
|
||||||
import mage.abilities.dynamicvalue.common.MultikickerCount;
|
import mage.abilities.dynamicvalue.common.MultikickerCount;
|
||||||
|
import mage.abilities.effects.Effect;
|
||||||
import mage.abilities.effects.common.GainLifeEffect;
|
import mage.abilities.effects.common.GainLifeEffect;
|
||||||
import mage.abilities.keyword.FlyingAbility;
|
import mage.abilities.keyword.FlyingAbility;
|
||||||
import mage.abilities.keyword.MultikickerAbility;
|
import mage.abilities.keyword.MultikickerAbility;
|
||||||
|
@ -49,7 +51,6 @@ public class LightkeeperOfEmeria extends CardImpl {
|
||||||
this.expansionSetCode = "WWK";
|
this.expansionSetCode = "WWK";
|
||||||
this.subtype.add("Angel");
|
this.subtype.add("Angel");
|
||||||
|
|
||||||
this.color.setWhite(true);
|
|
||||||
this.power = new MageInt(2);
|
this.power = new MageInt(2);
|
||||||
this.toughness = new MageInt(4);
|
this.toughness = new MageInt(4);
|
||||||
|
|
||||||
|
@ -60,7 +61,9 @@ public class LightkeeperOfEmeria extends CardImpl {
|
||||||
this.addAbility(FlyingAbility.getInstance());
|
this.addAbility(FlyingAbility.getInstance());
|
||||||
|
|
||||||
// When Lightkeeper of Emeria enters the battlefield, you gain 2 life for each time it was kicked.
|
// When Lightkeeper of Emeria enters the battlefield, you gain 2 life for each time it was kicked.
|
||||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new GainLifeEffect(new MultikickerCount())));
|
Effect effect = new GainLifeEffect(new MultipliedValue(new MultikickerCount(), 2));
|
||||||
|
effect.setText("you gain 2 life for each time it was kicked");
|
||||||
|
this.addAbility(new EntersBattlefieldTriggeredAbility(effect, false));
|
||||||
}
|
}
|
||||||
|
|
||||||
public LightkeeperOfEmeria(final LightkeeperOfEmeria card) {
|
public LightkeeperOfEmeria(final LightkeeperOfEmeria card) {
|
||||||
|
|
Loading…
Reference in a new issue