- fix one bug with Aladdin's Lamp
- fix Drain life MIR
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-01-10 14:42:47 +00:00
parent 0efa84d56d
commit 53bf185473
4 changed files with 11 additions and 10 deletions
+1
View File
@@ -354,6 +354,7 @@ void MTGInPlay::untapAll(){
//--------------------------
void MTGLibrary::shuffleTopToBottom(int nbcards){
if (nbcards>nb_cards) nbcards = nb_cards;
if (nbcards < 0) return;
MTGCardInstance * _cards[MTG_MAX_PLAYER_CARDS];
for (int i= nb_cards-nbcards; i<(nb_cards); i++) {
int r = i + (WRand() % (nbcards-i)); // Random remaining position.