fixed a typo in cantbeblockerof , forgot a letter :X
This commit is contained in:
@@ -2781,7 +2781,7 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
|
|||||||
}
|
}
|
||||||
|
|
||||||
//cant be the blocker of targetchooser.
|
//cant be the blocker of targetchooser.
|
||||||
vector<string> splitCantBeBlock = parseBetween(s, "cantbeblockeof(", ")");
|
vector<string> splitCantBeBlock = parseBetween(s, "cantbeblockerof(", ")");
|
||||||
if (splitCantBeBlock.size())
|
if (splitCantBeBlock.size())
|
||||||
{
|
{
|
||||||
TargetChooserFactory tcf(observer);
|
TargetChooserFactory tcf(observer);
|
||||||
@@ -2790,13 +2790,12 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
|
|||||||
{
|
{
|
||||||
fromTc = tcf.createTargetChooser(splitCantBeBlock[1], card);
|
fromTc = tcf.createTargetChooser(splitCantBeBlock[1], card);
|
||||||
}
|
}
|
||||||
if (!activated)
|
|
||||||
{
|
|
||||||
if(fromTc)
|
if(fromTc)
|
||||||
return NEW ACantBeBlockerOf(observer, id, card, target, fromTc, false);//of a targetchooser
|
return NEW ACantBeBlockerOf(observer, id, card, target, fromTc, false);//of a targetchooser
|
||||||
else
|
else
|
||||||
return NEW ACantBeBlockerOf(observer, id, card, target, fromTc, true);//blocker of the card source.
|
return NEW ACantBeBlockerOf(observer, id, card, target, fromTc, true);//blocker of the card source.
|
||||||
}
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user