Correction
This commit is contained in:
@@ -78315,7 +78315,7 @@ type=Sorcery
|
|||||||
[card]
|
[card]
|
||||||
name=Path to Exile
|
name=Path to Exile
|
||||||
target=creature
|
target=creature
|
||||||
auto=transforms((,newability[moveto(exile)],newability[may name(fetch basic land) notatarget(land[basic]|mylibrary) moveTo(mybattlefield) and!(tap(noevent))!])) oneshot
|
auto=transforms((,newability[moveto(exile)],newability[name(fetch basic land) notatarget(land[basic]|mylibrary) moveTo(mybattlefield) and!( tap(noevent) )! ])) oneshot
|
||||||
text=Exile target creature. Its controller may search his or her library for a basic land card, put that card onto the battlefield tapped, then shuffle his or her library.
|
text=Exile target creature. Its controller may search his or her library for a basic land card, put that card onto the battlefield tapped, then shuffle his or her library.
|
||||||
mana={W}
|
mana={W}
|
||||||
type=Instant
|
type=Instant
|
||||||
@@ -104783,7 +104783,7 @@ type=Instant
|
|||||||
name=Startled Awake
|
name=Startled Awake
|
||||||
target=opponent
|
target=opponent
|
||||||
auto=deplete:13 targetedplayer
|
auto=deplete:13 targetedplayer
|
||||||
autograveyard={{3}{U}{U}}:moveto(mybattlefield) and!(flip(Persistent Nightmare))! assorcery
|
autograveyard={3}{U}{U}:moveto(mybattlefield) and!(flip(Persistent Nightmare))! assorcery
|
||||||
text=Target opponent puts the top thirteen cards of his or her library into his or her graveyard. -- {3}{U}{U}: Put Startled Awake from your graveyard onto the battlefield transformed. Activate this ability only any time you could cast a sorcery.
|
text=Target opponent puts the top thirteen cards of his or her library into his or her graveyard. -- {3}{U}{U}: Put Startled Awake from your graveyard onto the battlefield transformed. Activate this ability only any time you could cast a sorcery.
|
||||||
mana={2}{U}{U}
|
mana={2}{U}{U}
|
||||||
type=Sorcery
|
type=Sorcery
|
||||||
|
|||||||
@@ -115,6 +115,8 @@ public:
|
|||||||
bool isCreature();
|
bool isCreature();
|
||||||
bool isLand();
|
bool isLand();
|
||||||
bool isSpell();
|
bool isSpell();
|
||||||
|
bool isPermanent();
|
||||||
|
bool isSorceryorInstant();
|
||||||
int dredge();
|
int dredge();
|
||||||
void setPower(int _power);
|
void setPower(int _power);
|
||||||
int getPower();
|
int getPower();
|
||||||
|
|||||||
@@ -4117,8 +4117,11 @@ int AAMover::resolve()
|
|||||||
//inplay is a special zone !
|
//inplay is a special zone !
|
||||||
for (int i = 0; i < 2; i++)
|
for (int i = 0; i < 2; i++)
|
||||||
{
|
{
|
||||||
if (!_target->hasSubtype(Subtypes::TYPE_INSTANT) && !_target->hasSubtype(Subtypes::TYPE_SORCERY) && !_target->hasSubtype(Subtypes::TYPE_AURA) && destZone == game->players[i]->game->inPlay && fromZone != game->players[i]->game->inPlay && fromZone
|
if (!_target->isSorceryorInstant() &&
|
||||||
!= game->players[i]->opponent()->game->inPlay)
|
!_target->hasSubtype(Subtypes::TYPE_AURA) &&
|
||||||
|
destZone == game->players[i]->game->inPlay &&
|
||||||
|
fromZone != game->players[i]->game->inPlay &&
|
||||||
|
fromZone != game->players[i]->opponent()->game->inPlay)
|
||||||
{
|
{
|
||||||
MTGCardInstance * copy = game->players[i]->game->putInZone(_target, fromZone, game->players[i]->game->temp);
|
MTGCardInstance * copy = game->players[i]->game->putInZone(_target, fromZone, game->players[i]->game->temp);
|
||||||
Spell * spell = NEW Spell(game, copy);
|
Spell * spell = NEW Spell(game, copy);
|
||||||
@@ -4177,8 +4180,7 @@ int AAMover::resolve()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if((_target->hasSubtype(Subtypes::TYPE_INSTANT) || _target->hasSubtype(Subtypes::TYPE_SORCERY)) &&
|
if(_target->isSorceryorInstant() && (destZone == game->players[0]->game->inPlay || destZone == game->players[1]->game->inPlay))
|
||||||
(destZone == game->players[0]->game->inPlay || destZone == game->players[1]->game->inPlay))
|
|
||||||
{
|
{
|
||||||
if(andAbility)
|
if(andAbility)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -110,6 +110,18 @@ bool CardPrimitive::isSpell()
|
|||||||
return (!isCreature() && !isLand());
|
return (!isCreature() && !isLand());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool CardPrimitive::isPermanent()
|
||||||
|
{
|
||||||
|
return (!isSorceryorInstant());
|
||||||
|
}
|
||||||
|
|
||||||
|
bool CardPrimitive::isSorceryorInstant()
|
||||||
|
{
|
||||||
|
if(hasSubtype(Subtypes::TYPE_SORCERY)||hasSubtype(Subtypes::TYPE_INSTANT))
|
||||||
|
return true;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
int CardPrimitive::dredge()
|
int CardPrimitive::dredge()
|
||||||
{
|
{
|
||||||
return dredgeAmount;
|
return dredgeAmount;
|
||||||
|
|||||||
Reference in New Issue
Block a user