- 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 -5
View File
@@ -358,13 +358,9 @@ mana={1}{W}
type=Instant type=Instant
[/card] [/card]
[card] [card]
text=Spend only black mana on X. Drain Life deals X damage to target creature or player. You gain life equal to the damage dealt, but not more life than the player's life total before Drain Life dealt damage or the creature's toughness.
id=3287 id=3287
alias=1156 primitive=Drain Life
name=Drain Life
rarity=C rarity=C
mana={X}{1}{B}
type=Sorcery
[/card] [/card]
[card] [card]
text={2}{R}, {T}: Destroy target nonbasic land. text={2}{R}, {T}: Destroy target nonbasic land.
+1 -5
View File
@@ -583,13 +583,9 @@ toughness=3
abilities=flying abilities=flying
[/card] [/card]
[card] [card]
text=Spend only black mana on X. Drain Life deals X damage to target creature or player. You gain life equal to the damage dealt, but not more life than the player's life total before Drain Life dealt damage or the creature's toughness.
target=player,creature
id=1156 id=1156
name=Drain Life primitive=Drain Life
rarity=C rarity=C
mana={X}{1}{B}
type=Sorcery
[/card] [/card]
[card] [card]
text={B}: Regenerate Drudge Skeletons. (The next time this creature would be destroyed this turn, it isn't. Instead tap it, remove all damage from it, and remove it from combat.) text={B}: Regenerate Drudge Skeletons. (The next time this creature would be destroyed this turn, it isn't. Instead tap it, remove all damage from it, and remove it from combat.)
@@ -1,6 +1,14 @@
#Primitives Pack for Wagic the Homebrew. #Primitives Pack for Wagic the Homebrew.
#Please keep these card alphabetized, and try to have the "name=" line at the top of each card #Please keep these card alphabetized, and try to have the "name=" line at the top of each card
[card] [card]
text=Spend only black mana on X. Drain Life deals X damage to target creature or player. You gain life equal to the damage dealt, but not more life than the player's life total before Drain Life dealt damage or the creature's toughness.
target=creature,player
alias=1156
name=Drain Life
mana={X}{1}{B}
type=Sorcery
[/card]
[card]
name=Forest name=Forest
text={T}: Add {G} to your mana pool. text={T}: Add {G} to your mana pool.
auto={T}: Add {G} auto={T}: Add {G}
+1
View File
@@ -354,6 +354,7 @@ void MTGInPlay::untapAll(){
//-------------------------- //--------------------------
void MTGLibrary::shuffleTopToBottom(int nbcards){ void MTGLibrary::shuffleTopToBottom(int nbcards){
if (nbcards>nb_cards) nbcards = nb_cards; if (nbcards>nb_cards) nbcards = nb_cards;
if (nbcards < 0) return;
MTGCardInstance * _cards[MTG_MAX_PLAYER_CARDS]; MTGCardInstance * _cards[MTG_MAX_PLAYER_CARDS];
for (int i= nb_cards-nbcards; i<(nb_cards); i++) { for (int i= nb_cards-nbcards; i<(nb_cards); i++) {
int r = i + (WRand() % (nbcards-i)); // Random remaining position. int r = i + (WRand() % (nbcards-i)); // Random remaining position.