-Added a test for giant growth Ice age
-fixed a bug with the shop
This commit is contained in:
wagic.the.homebrew
2009-03-16 12:08:20 +00:00
parent ff8e05cf04
commit 3a97c61f22
3 changed files with 32 additions and 1 deletions
+1
View File
@@ -49,6 +49,7 @@ force_of_nature2.txt
force_of_nature3.txt
ghost_warden.txt
giant_growth.txt
giant_growth2.txt
goblin_balloon_brigade.txt
goblin_balloon_brigade2.txt
goblin_king.txt
@@ -0,0 +1,29 @@
#Testing GiantGrowth (ICE)
[INIT]
COMBATATTACKERS
[PLAYER1]
hand:2570
inplay:1250
manapool:{G}
[PLAYER2]
life:20
[DO]
2570
1250
1250
next
#blockers
next
#combatdamage 2
next
#endofcombat 2
[ASSERT]
COMBATEND
[PLAYER1]
inplay:1250
graveyard:2570
manapool:{0}
life:20
[PLAYER2]
life:15
[END]
+2 -1
View File
@@ -22,7 +22,8 @@ MTGCardInstance::MTGCardInstance(MTGCard * card, MTGPlayerCards * _belongs_to):
attacker = 0;
lifeOrig = life;
belongs_to=_belongs_to;
owner = _belongs_to->library->owner;
owner = NULL;
if (_belongs_to) owner = _belongs_to->library->owner;
lastController = owner;
initAttackersDefensers();
life=toughness;