Erwan
- fix a bug with Arcanis the omnipotent (see tests)
This commit is contained in:
@@ -26,6 +26,8 @@ animate_dead.txt
|
|||||||
animate_dead2.txt
|
animate_dead2.txt
|
||||||
animate_dead3.txt
|
animate_dead3.txt
|
||||||
ankh_of_mishra.txt
|
ankh_of_mishra.txt
|
||||||
|
arcanis_the_omnipotent.txt
|
||||||
|
arcanis_the_omnipotent2.txt
|
||||||
ardakar_wastes.txt
|
ardakar_wastes.txt
|
||||||
ascendant_evincar.txt
|
ascendant_evincar.txt
|
||||||
ascendant_evincar2.txt
|
ascendant_evincar2.txt
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
#Bug: Arcanis the Omnipotent: draws 3 cards when comes into play, then can�ft use �gDraw�h ability
|
||||||
|
[INIT]
|
||||||
|
FIRSTMAIN
|
||||||
|
[PLAYER1]
|
||||||
|
hand:Arcanis the Omnipotent
|
||||||
|
library:swamp,plains,mountain
|
||||||
|
manapool:{3}{U}{U}{U}
|
||||||
|
[PLAYER2]
|
||||||
|
[DO]
|
||||||
|
Arcanis the Omnipotent
|
||||||
|
[ASSERT]
|
||||||
|
FIRSTMAIN
|
||||||
|
[PLAYER1]
|
||||||
|
inplay:Arcanis the Omnipotent
|
||||||
|
library:swamp,plains,mountain
|
||||||
|
manapool:{0}
|
||||||
|
[PLAYER2]
|
||||||
|
[END]
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
#Bug: Arcanis the Omnipotent: draws 3 cards when comes into play, then can�ft use �gDraw�h ability
|
||||||
|
[INIT]
|
||||||
|
FIRSTMAIN
|
||||||
|
[PLAYER1]
|
||||||
|
hand:Arcanis the Omnipotent
|
||||||
|
library:swamp,plains,mountain,forest
|
||||||
|
manapool:{3}{U}{U}{U}
|
||||||
|
[PLAYER2]
|
||||||
|
[DO]
|
||||||
|
Arcanis the Omnipotent
|
||||||
|
eot
|
||||||
|
eot
|
||||||
|
#untap
|
||||||
|
next
|
||||||
|
#upkeep
|
||||||
|
next
|
||||||
|
#draw
|
||||||
|
next
|
||||||
|
#main
|
||||||
|
Arcanis the Omnipotent
|
||||||
|
[ASSERT]
|
||||||
|
FIRSTMAIN
|
||||||
|
[PLAYER1]
|
||||||
|
inplay:Arcanis the Omnipotent
|
||||||
|
hand:swamp,plains,mountain,forest
|
||||||
|
manapool:{0}
|
||||||
|
[PLAYER2]
|
||||||
|
[END]
|
||||||
@@ -740,10 +740,10 @@ int AbilityFactory::magicText(int id, Spell * spell, MTGCardInstance * card){
|
|||||||
if (tc){
|
if (tc){
|
||||||
//TODO ?
|
//TODO ?
|
||||||
}else{
|
}else{
|
||||||
if (!cost){
|
if (cost || doTap){
|
||||||
game->mLayers->stackLayer()->addDraw(card->controller(),nbcards);
|
|
||||||
}else{
|
|
||||||
game->addObserver(NEW ADrawer(id,card,cost,nbcards,doTap));
|
game->addObserver(NEW ADrawer(id,card,cost,nbcards,doTap));
|
||||||
|
}else{
|
||||||
|
game->mLayers->stackLayer()->addDraw(card->controller(),nbcards);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user