Cleanup of some trigger parsing

This commit is contained in:
wagic.the.homebrew
2011-04-30 15:52:48 +00:00
parent 0933294ca4
commit 8b6400e12d
2 changed files with 74 additions and 255 deletions

View File

@@ -470,6 +470,7 @@ private:
TriggeredAbility * parseTrigger(string s, string magicText, int id, Spell * spell, MTGCardInstance *card, Targetable * target);
MTGAbility * getAlternateCost( string s, int id, Spell *spell, MTGCardInstance *card );
MTGAbility * getManaReduxAbility(string s, int id, Spell *spell, MTGCardInstance *card, MTGCardInstance *target);
TargetChooser * parseSimpleTC(string s, string starter, MTGCardInstance *card, bool forceNoTarget = true);
public:
int parseRestriction(string s);