Revert "edge case fix, the issue arises from castcard but I'm fixing it at a higher level since init to zone should always have a valid "player 1" in its first constructor."

This reverts commit d247c53136.
This commit is contained in:
zethfox
2016-07-09 18:21:52 -04:00
parent d247c53136
commit 78e4407c71
4 changed files with 26 additions and 14 deletions

View File

@@ -1,7 +1,19 @@
#NAME:Premade G/R #NAME:Premade G/R
#DESC:A Red/Green deck with simple mechanics to get you started. We recommend you create your own decks to get the full Wagic experience! #DESC:A Red/Green deck with simple mechanics to get you started. We recommend you create your own decks to get the full Wagic experience!
arbor elf *25 Forest (10E) *11
Mountain (10E) *12
Aggressive Urge (10E) *4
Wall of Wood (10E) *4
Llanowar Elves (10E) *4
Mirri, Cat Warrior (10E)
Scion of the Wild (10E) *4
Primal Rage (10E) *2
Lightning Elemental (10E) *4
Shock (10E) *4
Firebreathing (10E) *2
Raging Goblin (10E) *4
Anaba Bodyguard (10E) *4
Arbiter of Knollridge *13
Arbor Colossus *13

View File

@@ -4288,15 +4288,20 @@ toughness=5
[/card] [/card]
[card] [card]
name=Arbor Colossus name=Arbor Colossus
auto=draw:2 abilities=reach
type=instant auto=this(cantargetcard(*[-monstrous]) {3}{G}{G}{G}:becomes(monstrous) forever && counter(1/1,3) && transforms((,newAbility[destroy target(creature[flying]|opponentbattlefield)])) forever
text=Reach -- {3}{G}{G}{G}: Monstrosity 3. (If this creature isn't monstrous, put three +1/+1 counters on it and it becomes monstrous.) -- When Arbor Colossus becomes monstrous, destroy target creature with flying an opponent controls
mana={2}{G}{G}{G}
type=Creature
subtype=Giant
power=6
toughness=6
[/card] [/card]
[card] [card]
name=Arbor Elf name=Arbor Elf
autohand={0}:name(Control Magic) activate castcard(normal named!:Control Magic:!) auto={t}:untap target(forest)
text={T}: Untap target Forest. text={T}: Untap target Forest.
mana={g} mana={G}
dredge=dredge(2)
type=Creature type=Creature
subtype=Elf Druid subtype=Elf Druid
power=1 power=1

View File

@@ -1,4 +1,3 @@
savor the moment.txt
######################## ########################
#Internal tests #Internal tests
######################## ########################

View File

@@ -980,11 +980,7 @@ void MTGInPlay::untapAll()
MTGGameZone * MTGGameZone::intToZone(int zoneId, Player * p, Player * p2) MTGGameZone * MTGGameZone::intToZone(int zoneId, Player * p, Player * p2)
{ {
if (p2 != p && p2 && (p != p2->opponent()))
{
p = p2->opponent();
//these cases are generally handled this is a edge case fix.
}
switch (zoneId) switch (zoneId)
{ {
case MY_GRAVEYARD: case MY_GRAVEYARD: