Improved Android downloader, fixed snow mana cost, merged opponentlifetotal and oplifetotal keywords
This commit is contained in:
@@ -1563,7 +1563,7 @@ public class ImgDownloader {
|
|||||||
else if(id.equals("491748"))
|
else if(id.equals("491748"))
|
||||||
cardurl = "https://c1.scryfall.com/file/scryfall-cards/large/back/6/0/609d3ecf-f88d-4268-a8d3-4bf2bcf5df60.jpg?1601065770";
|
cardurl = "https://c1.scryfall.com/file/scryfall-cards/large/back/6/0/609d3ecf-f88d-4268-a8d3-4bf2bcf5df60.jpg?1601065770";
|
||||||
else if(id.equals("491757"))
|
else if(id.equals("491757"))
|
||||||
cardurl = "https://c1.scryfall.com/file/scryfall-cards/large/front/6/0/609d3ecf-f88d-4268-a8d3-4bf2bcf5df60.jpg?1601065770";
|
cardurl = "https://c1.scryfall.com/file/scryfall-cards/large/front/e/6/e63f8b20-f45b-4293-9aac-cdc021939be6.jpg?1601065790";
|
||||||
else if(id.equals("491758"))
|
else if(id.equals("491758"))
|
||||||
cardurl = "https://c1.scryfall.com/file/scryfall-cards/large/back/e/6/e63f8b20-f45b-4293-9aac-cdc021939be6.jpg?1601065790";
|
cardurl = "https://c1.scryfall.com/file/scryfall-cards/large/back/e/6/e63f8b20-f45b-4293-9aac-cdc021939be6.jpg?1601065790";
|
||||||
else if(id.equals("491770"))
|
else if(id.equals("491770"))
|
||||||
|
|||||||
@@ -1661,6 +1661,7 @@ toughness=2
|
|||||||
[card]
|
[card]
|
||||||
name=Arcum's Astrolabe
|
name=Arcum's Astrolabe
|
||||||
other={i}
|
other={i}
|
||||||
|
restriction=type(*|myHand)~morethan~9999
|
||||||
auto=draw:1 controller
|
auto=draw:1 controller
|
||||||
auto={1}{T}:Add{W}
|
auto={1}{T}:Add{W}
|
||||||
auto={1}{T}:Add{U}
|
auto={1}{T}:Add{U}
|
||||||
@@ -1668,7 +1669,7 @@ auto={1}{T}:Add{B}
|
|||||||
auto={1}{T}:Add{R}
|
auto={1}{T}:Add{R}
|
||||||
auto={1}{T}:Add{G}
|
auto={1}{T}:Add{G}
|
||||||
text=(Snow can be paid with one mana from a snow permanent.) -- When Arcum's Astrolabe enters the battlefield, draw a card. -- {1}, {T}: Add one mana of any color.
|
text=(Snow can be paid with one mana from a snow permanent.) -- When Arcum's Astrolabe enters the battlefield, draw a card. -- {1}, {T}: Add one mana of any color.
|
||||||
mana={9999}
|
mana={1}
|
||||||
type=Snow Artifact
|
type=Snow Artifact
|
||||||
[/card]
|
[/card]
|
||||||
[card]
|
[card]
|
||||||
@@ -19154,8 +19155,9 @@ toughness=4
|
|||||||
[card]
|
[card]
|
||||||
name=Icehide Golem
|
name=Icehide Golem
|
||||||
other={i}
|
other={i}
|
||||||
|
restriction=type(*|myHand)~morethan~9999
|
||||||
text=(Snow can be paid with one mana from a snow permanent.)
|
text=(Snow can be paid with one mana from a snow permanent.)
|
||||||
mana={9999}
|
mana={1}
|
||||||
type=Snow Artifact Creature
|
type=Snow Artifact Creature
|
||||||
subtype=Golem
|
subtype=Golem
|
||||||
power=2
|
power=2
|
||||||
@@ -39160,9 +39162,9 @@ type=Sorcery
|
|||||||
[/card]
|
[/card]
|
||||||
[card]
|
[card]
|
||||||
name=Subtle Strike
|
name=Subtle Strike
|
||||||
auto=choice name(Target creature gets -1/-1 until...) target(creature) -1/-1
|
auto=choice name(Target creature gets -1/-1) target(creature) -1/-1 ueot
|
||||||
auto=choice name(Put a +1/+1 counter on target...) counter(1/1,1) target(creature)
|
auto=choice name(Put a +1/+1 counter) counter(1/1,1) target(creature)
|
||||||
auto=choice name(Put a +1/+1 counter and -1/-1...) counter(1/1,1) target(creature) && target(creature) -1/-1
|
auto=choice name(Choose both) target(creature) -1/-1 ueot && ability$!name(Put a +1/+1 counter) name(Put a +1/+1 counter) counter(1/1,1) target(creature)!$ controller
|
||||||
text=Choose one or both — -- • Target creature gets -1/-1 until end of turn. -- • Put a +1/+1 counter on target creature.
|
text=Choose one or both — -- • Target creature gets -1/-1 until end of turn. -- • Put a +1/+1 counter on target creature.
|
||||||
mana={1}{B}
|
mana={1}{B}
|
||||||
type=Instant
|
type=Instant
|
||||||
|
|||||||
@@ -52768,7 +52768,7 @@ toughness=5
|
|||||||
name=Havoc Festival
|
name=Havoc Festival
|
||||||
abilities=nolifegain,nolifegainopponent
|
abilities=nolifegain,nolifegainopponent
|
||||||
auto=@each my upkeep:life:-halfdownlifetotal controller
|
auto=@each my upkeep:life:-halfdownlifetotal controller
|
||||||
auto=@each opponent upkeep:life:-halfdownoplifetotal opponent
|
auto=@each opponent upkeep:life:-halfdownopponentlifetotal opponent
|
||||||
text=Players can't gain life. -- At the beginning of each player's upkeep, that player loses half his or her life, rounded up.
|
text=Players can't gain life. -- At the beginning of each player's upkeep, that player loses half his or her life, rounded up.
|
||||||
mana={4}{B}{R}
|
mana={4}{B}{R}
|
||||||
type=Enchantment
|
type=Enchantment
|
||||||
@@ -123492,7 +123492,7 @@ toughness=1
|
|||||||
[card]
|
[card]
|
||||||
name=Tree of Perdition
|
name=Tree of Perdition
|
||||||
abilities=defender
|
abilities=defender
|
||||||
auto={t}:count(oplifetotal) && transforms((,newability[lifeset:t opponent})) forever && all(this) transforms((,settoughness=countedamount)) forever
|
auto={t}:count(opponentlifetotal) && transforms((,newability[lifeset:t opponent})) forever && all(this) transforms((,settoughness=countedamount)) forever
|
||||||
text=Defender -- {T}: Exchange target opponent's life total with Tree of Perdition's toughness.
|
text=Defender -- {T}: Exchange target opponent's life total with Tree of Perdition's toughness.
|
||||||
mana={3}{B}
|
mana={3}{B}
|
||||||
type=Creature
|
type=Creature
|
||||||
|
|||||||
@@ -655,10 +655,6 @@ private:
|
|||||||
if(card->playerTarget)
|
if(card->playerTarget)
|
||||||
intValue = card->playerTarget->curses.size();
|
intValue = card->playerTarget->curses.size();
|
||||||
}
|
}
|
||||||
else if (s == "oplifetotal")
|
|
||||||
{
|
|
||||||
intValue = target->controller()->opponent()->life;
|
|
||||||
}
|
|
||||||
else if (s == "lifetotal")
|
else if (s == "lifetotal")
|
||||||
{
|
{
|
||||||
intValue = target->controller()->life;
|
intValue = target->controller()->life;
|
||||||
@@ -1023,7 +1019,7 @@ private:
|
|||||||
intValue += card->controller()->game->inPlay->cards[j]->getCurrentPower();
|
intValue += card->controller()->game->inPlay->cards[j]->getCurrentPower();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (s == "toughnesstotalinplay")//Count Total toughness of Creatures you control... Formidable
|
else if (s == "toughnesstotalinplay")//Count Total toughness of Creatures you control...
|
||||||
{
|
{
|
||||||
intValue = 0;
|
intValue = 0;
|
||||||
for (int j = card->controller()->game->inPlay->nb_cards - 1; j >= 0; --j)
|
for (int j = card->controller()->game->inPlay->nb_cards - 1; j >= 0; --j)
|
||||||
|
|||||||
Reference in New Issue
Block a user