mirror of
https://github.com/correl/mage.git
synced 2025-01-14 03:00:10 +00:00
Fix #3414 Soul Conduit
This commit is contained in:
parent
2a136b5c90
commit
f307572a86
1 changed files with 3 additions and 4 deletions
|
@ -54,8 +54,7 @@ public class SoulConduit extends CardImpl {
|
|||
// {6}, {tap}: Two target players exchange life totals.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new SoulConduitEffect(), new GenericManaCost(6));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addTarget(new TargetPlayer());
|
||||
ability.addTarget(new TargetPlayer());
|
||||
ability.addTarget(new TargetPlayer(2));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
@ -87,8 +86,8 @@ class SoulConduitEffect extends OneShotEffect {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Player player1 = game.getPlayer(source.getFirstTarget());
|
||||
Player player2 = game.getPlayer(source.getTargets().get(1).getFirstTarget());
|
||||
Player player1 = game.getPlayer(source.getTargets().get(0).getTargets().get(0));
|
||||
Player player2 = game.getPlayer(source.getTargets().get(0).getTargets().get(1));
|
||||
if (player1 != null && player2 != null) {
|
||||
int lifePlayer1 = player1.getLife();
|
||||
int lifePlayer2 = player2.getLife();
|
||||
|
|
Loading…
Reference in a new issue