mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
fixed Alchemist's Gift not doing anything
This commit is contained in:
parent
44394cf016
commit
9c73f29484
1 changed files with 4 additions and 4 deletions
|
@ -2,8 +2,8 @@ package mage.cards.a;
|
|||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
|
||||
import mage.abilities.keyword.DeathtouchAbility;
|
||||
import mage.abilities.keyword.LifelinkAbility;
|
||||
import mage.cards.CardImpl;
|
||||
|
@ -66,8 +66,8 @@ class AlchemistsGiftEffect extends OneShotEffect {
|
|||
outcome, "Deathtouch or lifelink?", null,
|
||||
"Deathtouch", "Lifelink", source, game
|
||||
) ? DeathtouchAbility.getInstance() : LifelinkAbility.getInstance();
|
||||
game.addEffect(new BoostSourceEffect(1, 1, Duration.EndOfTurn), source);
|
||||
game.addEffect(new GainAbilitySourceEffect(ability, Duration.EndOfTurn), source);
|
||||
game.addEffect(new BoostTargetEffect(1, 1, Duration.EndOfTurn), source);
|
||||
game.addEffect(new GainAbilityTargetEffect(ability, Duration.EndOfTurn), source);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue