FIxed typo in Vortex Elemental source.

This commit is contained in:
LevelX2 2015-04-18 09:59:41 +02:00
parent a521d62152
commit 2d3c98a7b4

View file

@ -64,7 +64,7 @@ public class VortexElemental extends CardImpl {
this.toughness = new MageInt(1); this.toughness = new MageInt(1);
// {U}: Put Vortex Elemental and each creature blocking or blocked by it on top of their owners' libraries, then those players shuffle their libraries. // {U}: Put Vortex Elemental and each creature blocking or blocked by it on top of their owners' libraries, then those players shuffle their libraries.
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new VortexElementaöEffect(), new ManaCostsImpl("{U}"))); this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new VortexElementalEffect(), new ManaCostsImpl("{U}")));
// {3}{U}{U}: Target creature blocks Vortex Elemental this turn if able. // {3}{U}{U}: Target creature blocks Vortex Elemental this turn if able.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new MustBeBlockedByTargetSourceEffect(), new ManaCostsImpl("{3}{U}{U}")); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new MustBeBlockedByTargetSourceEffect(), new ManaCostsImpl("{3}{U}{U}"));
@ -82,20 +82,20 @@ public class VortexElemental extends CardImpl {
} }
} }
class VortexElementaöEffect extends OneShotEffect { class VortexElementalEffect extends OneShotEffect {
public VortexElementaöEffect() { public VortexElementalEffect() {
super(Outcome.Benefit); super(Outcome.Benefit);
this.staticText = "Put {this} and each creature blocking or blocked by it on top of their owners' libraries, then those players shuffle their libraries"; this.staticText = "Put {this} and each creature blocking or blocked by it on top of their owners' libraries, then those players shuffle their libraries";
} }
public VortexElementaöEffect(final VortexElementaöEffect effect) { public VortexElementalEffect(final VortexElementalEffect effect) {
super(effect); super(effect);
} }
@Override @Override
public VortexElementaöEffect copy() { public VortexElementalEffect copy() {
return new VortexElementaöEffect(this); return new VortexElementalEffect(this);
} }
@Override @Override
@ -103,8 +103,8 @@ class VortexElementaöEffect extends OneShotEffect {
Player controller = game.getPlayer(source.getControllerId()); Player controller = game.getPlayer(source.getControllerId());
if (controller != null) { if (controller != null) {
Combat combat = game.getState().getCombat(); Combat combat = game.getState().getCombat();
Set<UUID> creaturesToReturn = new HashSet<UUID>(); Set<UUID> creaturesToReturn = new HashSet<>();
Set<UUID> playersToShuffle = new HashSet<UUID>(); Set<UUID> playersToShuffle = new HashSet<>();
creaturesToReturn.add(source.getSourceId()); creaturesToReturn.add(source.getSourceId());
if (combat != null) { if (combat != null) {
for(CombatGroup combatGroup: combat.getGroups()) { for(CombatGroup combatGroup: combat.getGroups()) {