Added / fixed primitives from NEO set, added "mytgtforced" target for equipments and auras, added "numofactivation" keyword to give PT according to how many time an ability has triggred (e.g. "Bronze Cudgels").
This commit is contained in:
@@ -65,7 +65,9 @@ TargetChooser * TargetChooserFactory::createTargetChooser(string s, MTGCardInsta
|
||||
if (found == 0)
|
||||
{
|
||||
MTGCardInstance * target = card->target;
|
||||
if (ability) target = (MTGCardInstance *) (ability->target);
|
||||
bool forced = (s.find("forced") != string::npos);
|
||||
if (ability && !forced)
|
||||
target = (MTGCardInstance *) (ability->target);
|
||||
return NEW CardTargetChooser(observer, target, card);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user