From 8ab5b5cfd5e9ca67cf41dc3532784ae67e0231e8 Mon Sep 17 00:00:00 2001 From: leungclj Date: Sun, 4 Oct 2009 01:55:53 +0000 Subject: [PATCH] J0N4TH4N - readded back "AUntapManaBlocker" --- projects/mtg/include/AllAbilities.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/projects/mtg/include/AllAbilities.h b/projects/mtg/include/AllAbilities.h index 68f34780c..9caa2cfb3 100644 --- a/projects/mtg/include/AllAbilities.h +++ b/projects/mtg/include/AllAbilities.h @@ -1218,6 +1218,29 @@ class APowerToughnessModifierUntilEndOfTurn: public ActivatedAbility{ + + +//Untap Blockers with simple Mana Mechanism +class AUntapManaBlocker: public UntapBlocker{ + public: + AUntapManaBlocker(int id, MTGCardInstance * card, ManaCost * _cost):UntapBlocker(id, card, _cost){ + } + + AUntapManaBlocker(int id, MTGCardInstance * card, MTGCardInstance * _target, ManaCost * _cost):UntapBlocker(id, card,_target, _cost){ + } + virtual ostream& toString(ostream& out) const + { + out << "AUntapManaBlocker ::: ("; + return UntapBlocker::toString(out) << ")"; + } + AUntapManaBlocker * clone() const{ + AUntapManaBlocker * a = NEW AUntapManaBlocker(*this); + a->isClone = 1; + return a; + } +}; + + //Circle of Protections class ACircleOfProtection: public TargetAbility{ protected: @@ -3876,6 +3899,7 @@ class AARandomDiscarder:public ActivatedAbilityTP{ }; + //ShieldOfTheAge class AShieldOfTheAge: public TargetAbility{ public: