replaced alias with shackler

This commit is contained in:
Anthony Calosa
2016-07-06 06:37:27 +08:00
parent f45adb5b9e
commit 935849142c
4 changed files with 11 additions and 10 deletions

View File

@@ -49639,7 +49639,7 @@ subtype=Equipment
[/card]
[card]
name=Helm of Possession
alias=50120
abilities=shackler
auto={2}{T}{S(creature|mybattlefield)}:shackle target(creature)
auto=@each my untap restriction{canuntap}:may untap
text=You may choose not to untap Helm of Possession during your untap step. -- {2}, {T}, Sacrifice a creature: Gain control of target creature for as long as you control Helm of Possession and Helm of Possession remains tapped.
@@ -50435,7 +50435,7 @@ type=Artifact
[/card]
[card]
name=Hivis of the Scale
alias=50120
abilities=shackler
auto={T}:shackle target(dragon)
auto=@each my untap restriction{canuntap}:may untap
text=You may choose not to untap Hivis of the Scale during your untap step. -- {T}: Gain control of target Dragon for as long as you control Hivis and Hivis remains tapped.
@@ -75773,7 +75773,7 @@ toughness=6
[/card]
[card]
name=Old Man of the Sea
alias=50120
abilities=shackler
auto={T}:shackle target(creature[power<=storedpower])
auto=@each my untap restriction{canuntap}:may untap
text=You may choose not to untap Old Man of the Sea during your untap step. -- {T}: Gain control of target creature with power less than or equal to Old Man of the Sea's power for as long as Old Man of the Sea remains tapped and that creature's power remains less than or equal to Old Man of the Sea's power.
@@ -89664,7 +89664,7 @@ toughness=*
[/card]
[card]
name=Rubinia Soulsinger
alias=50120
abilities=shackler
auto={T}:shackle target(creature)
auto=@each my untap restriction{canuntap}:may untap
text=You may choose not to untap Rubinia Soulsinger during your untap step. -- {T}: Gain control of target creature for as long as you control Rubinia and Rubinia remains tapped.
@@ -118392,7 +118392,7 @@ toughness=2
[/card]
[card]
name=Vedalken Shackles
alias=50120
abilities=shackler
auto={2}{T}:shackle target(creature[power<=type:island:mybattlefield])
auto=@each my untap restriction{canuntap}:may untap
text=You may choose not to untap Vedalken Shackles during your untap step. -- {2}, {T}: Gain control of target creature with power less than or equal to the number of Islands you control for as long as Vedalken Shackles remains tapped.
@@ -124331,7 +124331,7 @@ toughness=2
[/card]
[card]
name=Willow Satyr
alias=50120
abilities=shackler
auto={T}:shackle target(creature[legendary])
auto=@each my untap restriction{canuntap}:may untap
text=You may choose not to untap Willow Satyr during your untap step. -- {T}: Gain control of target legendary creature for as long as you control Willow Satyr and Willow Satyr remains tapped.

View File

@@ -253,7 +253,8 @@ class Constants
MUSTBLOCK = 131,//blocks each turn
DETHRONE = 132,
OVERLOAD = 133,
NB_BASIC_ABILITIES = 134,
SHACKLER = 134,
NB_BASIC_ABILITIES = 135,
RARITY_S = 'S', //Special Rarity
RARITY_M = 'M', //Mythics

View File

@@ -164,7 +164,8 @@ const char* Constants::MTGBasicAbilities[] = {
"nosolo",
"mustblock",
"dethrone",
"overload"
"overload",
"shackler"
};
map<string,int> Constants::MTGBasicAbilitiesMap;

View File

@@ -951,7 +951,7 @@ void MTGInPlay::untapAll()
{
MTGCardInstance * card = cards[i];
card->setUntapping();
if (!card->basicAbilities[(int)Constants::DOESNOTUNTAP] && card->alias != 50120)
if (!card->basicAbilities[(int)Constants::DOESNOTUNTAP] && !card->basicAbilities[(int)Constants::SHACKLER])
{
if (card->frozen < 1)
{
@@ -961,7 +961,6 @@ void MTGInPlay::untapAll()
{
card->frozen = 0;
}
}
}
}