update some cards

removed phasedout trigger
add phasedoutbonus - ability
This commit is contained in:
Anthony Calosa
2017-02-22 18:25:39 +08:00
parent bb9d98cc0c
commit ff4911116c
12 changed files with 534 additions and 374 deletions

View File

@@ -1332,28 +1332,6 @@ public:
}
};
class TrCardPhasesOut: public Trigger
{
public:
TrCardPhasesOut(GameObserver* observer, int id, MTGCardInstance * source, TargetChooser * tc, bool once = false) :
Trigger(observer, id, source, once, tc)
{
}
int triggerOnEventImpl(WEvent * event)
{
WEventCardPhasesOut * e = dynamic_cast<WEventCardPhasesOut *> (event);
if (!e) return 0;
if (!tc->canTarget(e->card)) return 0;
return 1;
}
TrCardPhasesOut * clone() const
{
return NEW TrCardPhasesOut(*this);
}
};
class TrCardPhasesIn: public Trigger
{
public: