revised "steal" ability

steal - gain control of target/s until it leaves battlefield or  its
current controller loses control of the "stealer"...
This commit is contained in:
Anthony Calosa
2016-09-06 15:47:09 +08:00
parent d2183f3b91
commit 7f8339aedf
13 changed files with 223 additions and 101 deletions

View File

@@ -3903,10 +3903,11 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
return a;
}
//steal target until source leaves battlefield
found = s.find("steal");
if (found != string::npos)
{
MTGAbility * a = NEW AInstantControlSteal(observer, id, card, target);
MTGAbility * a = NEW ASeizeWrapper(observer, id, card, target);
a->oneShot = 1;
return a;
}