Fix for issue 749 (autohand/autograveyard/etc... don't work for player2)
This commit is contained in:
@@ -512,6 +512,7 @@ rampant_growth.txt
|
||||
rancid_earth_with_threshold.txt
|
||||
rancid_earth_without_threshold.txt
|
||||
rancor.txt
|
||||
rancor_i749.txt
|
||||
ray_of_command.txt
|
||||
ray_of_command_i176.txt
|
||||
razor_golem.txt
|
||||
|
||||
27
projects/mtg/bin/Res/test/rancor_i749.txt
Normal file
27
projects/mtg/bin/Res/test/rancor_i749.txt
Normal file
@@ -0,0 +1,27 @@
|
||||
#http://code.google.com/p/wagic/issues/detail?id=749
|
||||
# @movedTo triggers don't trigger for the AI
|
||||
#When Rancor is put into a graveyard from the battlefield, return Rancor to its owner's hand.
|
||||
[INIT]
|
||||
SECONDMAIN
|
||||
[PLAYER1]
|
||||
[PLAYER2]
|
||||
inplay:Llanowar Elves,forest,mountain
|
||||
hand:Rancor,Shock
|
||||
[DO]
|
||||
eot
|
||||
goto firstmain
|
||||
Forest
|
||||
Rancor
|
||||
Llanowar Elves
|
||||
Mountain
|
||||
Shock
|
||||
Llanowar Elves
|
||||
[ASSERT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
[PLAYER2]
|
||||
graveyard:Llanowar Elves,Shock
|
||||
hand:Rancor
|
||||
inplay:forest,mountain
|
||||
manapool:{0}
|
||||
[END]
|
||||
@@ -2708,7 +2708,6 @@ int AbilityFactory::getAbilities(vector<MTGAbility *> * v, Spell * spell, MTGCar
|
||||
break;
|
||||
}
|
||||
//Other zones needed ?
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user