Fixed Issue 239.

This commit is contained in:
magenoxx 2011-09-03 11:47:33 +04:00
parent 0bdfc3550f
commit c9a3f112b7
2 changed files with 3 additions and 2 deletions

View file

@ -6,7 +6,7 @@
#
# Format: <zone>:<nickname>:<card name>:<amount>
#
# zone ::= hand | battlefield | graveyard
# zone ::= hand | battlefield | graveyard | library
# nickname - Player's name you connect to the game with
#
#
@ -16,3 +16,4 @@ battlefield:computer:Island:2
battlefield:player:Plains:3
hand:player:Whispersilk Cloak:1
hand:computer:Lightning Bolt:1
library:player:Shock:2

View file

@ -113,7 +113,7 @@ class VenserTheSojournerEffect extends OneShotEffect<VenserTheSojournerEffect> {
if (getTargetPointer().getFirst(source) != null) {
Permanent permanent = game.getPermanent(getTargetPointer().getFirst(source));
if (permanent != null) {
if (permanent.moveToExile(permanent.getId(), "Venser, the Sojourner", source.getSourceId(), game)) {
if (permanent.moveToExile(source.getSourceId(), "Venser, the Sojourner", source.getSourceId(), game)) {
//create delayed triggered ability
AtEndOfTurnDelayedTriggeredAbility delayedAbility = new AtEndOfTurnDelayedTriggeredAbility(new ReturnFromExileEffect(source.getSourceId(), Zone.BATTLEFIELD));
delayedAbility.setSourceId(source.getSourceId());