Merge pull request #36 from WagicProject/master

Getting master
This commit is contained in:
zethfoxster
2016-07-28 09:11:55 -04:00
committed by GitHub
5 changed files with 51 additions and 13 deletions
+1 -1
View File
@@ -45406,7 +45406,7 @@ type=Instant
[/card] [/card]
[card] [card]
name=Graf Mole name=Graf Mole
auto=@sacrificed(creature|mybattlefield): life:3 auto=@sacrificed(Clue|mybattlefield): life:3
text=Whenever you sacrifice a Clue, you gain 3 life. text=Whenever you sacrifice a Clue, you gain 3 life.
mana={2}{G} mana={2}{G}
type=Creature type=Creature
@@ -0,0 +1,35 @@
#Tireless Tracker counters
[INIT]
FIRSTMAIN
[PLAYER1]
inplay:Concordant Crossroads, Swamp, Tireless Tracker, Mortician Beetle
library:Mountain
hand:Plains
[PLAYER2]
[DO]
Plains
Swamp
Plains
Clue
#begins
next
#attack
next
Tireless Tracker
#Mortician sacrificed event must not trigger
Mortician Beetle
next
#damage
next
#end
eot
#untap
[ASSERT]
UNTAP
[PLAYER1]
inplay:Concordant Crossroads, Swamp, Tireless Tracker, Plains, Mortician Beetle
hand:Mountain
life:20
[PLAYER2]
life:15
[END]
+1
View File
@@ -682,6 +682,7 @@ tidal_warrior_i646.txt
tidal_warrior_i649.txt tidal_warrior_i649.txt
tidal_warrior_i652.txt tidal_warrior_i652.txt
Timely_Reinforcements.txt Timely_Reinforcements.txt
TirelessTracker.txt
titanic_ultimatum.txt titanic_ultimatum.txt
tokenizer.txt tokenizer.txt
tokenizer2.txt tokenizer2.txt
+2 -2
View File
@@ -1370,8 +1370,8 @@ public:
{ {
WEventCardSacrifice * e = dynamic_cast<WEventCardSacrifice *> (event); WEventCardSacrifice * e = dynamic_cast<WEventCardSacrifice *> (event);
if (!e) return 0; if (!e) return 0;
//if (e->istoken) if (e->istoken)
// return 1; tc->setAllZones();
MTGCardInstance * check = e->cardAfter; MTGCardInstance * check = e->cardAfter;
MTGGameZone * oldZone = e->cardAfter->currentZone; MTGGameZone * oldZone = e->cardAfter->currentZone;
check->currentZone = check->previousZone; check->currentZone = check->previousZone;
+2
View File
@@ -1132,6 +1132,7 @@ void GameObserver::Affinity()
} }
///we handle trisnisphere seperately because its a desaster. ///we handle trisnisphere seperately because its a desaster.
if(card->getManaCost())//make sure we check, abiliy$!/token dont have a mancost object. if(card->getManaCost())//make sure we check, abiliy$!/token dont have a mancost object.
{
if (card->has(Constants::TRINISPHERE)) if (card->has(Constants::TRINISPHERE))
{ {
for (int jj = card->getManaCost()->getConvertedCost(); jj < 3; jj++) for (int jj = card->getManaCost()->getConvertedCost(); jj < 3; jj++)
@@ -1148,6 +1149,7 @@ void GameObserver::Affinity()
card->countTrini = 0; card->countTrini = 0;
} }
} }
}
/////////////////////// ///////////////////////
bool NewAffinityFound = false; bool NewAffinityFound = false;
for (unsigned int na = 0; na < card->cardsAbilities.size(); na++) for (unsigned int na = 0; na < card->cardsAbilities.size(); na++)