Erwan
- fix issue 228 (cockatrice VS regenerate)
This commit is contained in:
@@ -142,6 +142,7 @@ clone.txt
|
|||||||
clone2.txt
|
clone2.txt
|
||||||
clone3.txt
|
clone3.txt
|
||||||
cockatrice.txt
|
cockatrice.txt
|
||||||
|
cockatrice_i228.txt
|
||||||
colossus_of_sardia1.txt
|
colossus_of_sardia1.txt
|
||||||
colossus_of_sardia2.txt
|
colossus_of_sardia2.txt
|
||||||
composite_golem.txt
|
composite_golem.txt
|
||||||
|
|||||||
@@ -0,0 +1,28 @@
|
|||||||
|
#Bug: Regenerate should prevent cokcatrice's effect
|
||||||
|
#see http://code.google.com/p/wagic/issues/detail?id=228
|
||||||
|
[INIT]
|
||||||
|
COMBATATTACKERS
|
||||||
|
[PLAYER1]
|
||||||
|
inplay:Charging Troll,forest
|
||||||
|
[PLAYER2]
|
||||||
|
inplay:cockatrice
|
||||||
|
[DO]
|
||||||
|
Charging Troll
|
||||||
|
next
|
||||||
|
#blockers
|
||||||
|
cockatrice
|
||||||
|
next
|
||||||
|
yes
|
||||||
|
forest
|
||||||
|
Charging Troll
|
||||||
|
endinterruption
|
||||||
|
#damage
|
||||||
|
next
|
||||||
|
#end combat
|
||||||
|
[ASSERT]
|
||||||
|
COMBATEND
|
||||||
|
[PLAYER1]
|
||||||
|
inplay:Charging Troll,forest
|
||||||
|
[PLAYER2]
|
||||||
|
inplay:cockatrice
|
||||||
|
[END]
|
||||||
@@ -2134,7 +2134,7 @@ class AOldSchoolDeathtouch:public MTGAbility{
|
|||||||
}
|
}
|
||||||
}else if (newPhase == Constants::MTG_PHASE_COMBATEND){
|
}else if (newPhase == Constants::MTG_PHASE_COMBATEND){
|
||||||
for (int i = 0; i < nbOpponents ; i++){
|
for (int i = 0; i < nbOpponents ; i++){
|
||||||
game->mLayers->stackLayer()->addPutInGraveyard(opponents[i]);
|
opponents[i]->destroy();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user