-Fix issue 107 as well as another issue with doesnotuntap mentioned by leungcl
-Changed wording for Paralyzing Graps (to match oracle), please verify
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-10-25 14:01:25 +00:00
parent eab2086160
commit dd7c307c7a
7 changed files with 90 additions and 12 deletions
+1
View File
@@ -6,6 +6,7 @@ int ConstraintResolver::untap(GameObserver * game, MTGCardInstance * card){
if (!card->isUntapping()){
return 0;
}
if (card->has(Constants::DOESNOTUNTAP)) return 0;
int ok = 1;
ManaCost * untapManaCost = NEW ManaCost();
UntapBlockers * blockers = card->getUntapBlockers();
+1 -1
View File
@@ -11,7 +11,7 @@
#include "../include/utils.h"
#include "../include/DeckDataWrapper.h"
static const char* GAME_VERSION = "WTH?! 0.9.0 - by wololo";
static const char* GAME_VERSION = "WTH?! 0.9.1 - by wololo";
#define DEFAULT_ANGLE_MULTIPLIER 0.4
#define MAX_ANGLE_MULTIPLIER (3*M_PI)
+8 -9
View File
@@ -363,15 +363,6 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
}
//Untapper (Ley Druid...)
found = s.find("untap");
if (found != string::npos){
MTGAbility * a = NEW AAUntapper(id,card,target);
a->oneShot = 1;
return a;
}
//Regeneration
found = s.find("regenerate");
if (found != string::npos){
@@ -679,6 +670,14 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
}
}
//Untapper (Ley Druid...)
found = s.find("untap");
if (found != string::npos){
MTGAbility * a = NEW AAUntapper(id,card,target);
a->oneShot = 1;
return a;
}
//Tapper (icy manipulator)
found = s.find("tap");
if (found != string::npos){