Erwan
-Added a test for giant growth Ice age -fixed a bug with the shop
This commit is contained in:
@@ -49,6 +49,7 @@ force_of_nature2.txt
|
|||||||
force_of_nature3.txt
|
force_of_nature3.txt
|
||||||
ghost_warden.txt
|
ghost_warden.txt
|
||||||
giant_growth.txt
|
giant_growth.txt
|
||||||
|
giant_growth2.txt
|
||||||
goblin_balloon_brigade.txt
|
goblin_balloon_brigade.txt
|
||||||
goblin_balloon_brigade2.txt
|
goblin_balloon_brigade2.txt
|
||||||
goblin_king.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]
|
||||||
@@ -22,7 +22,8 @@ MTGCardInstance::MTGCardInstance(MTGCard * card, MTGPlayerCards * _belongs_to):
|
|||||||
attacker = 0;
|
attacker = 0;
|
||||||
lifeOrig = life;
|
lifeOrig = life;
|
||||||
belongs_to=_belongs_to;
|
belongs_to=_belongs_to;
|
||||||
owner = _belongs_to->library->owner;
|
owner = NULL;
|
||||||
|
if (_belongs_to) owner = _belongs_to->library->owner;
|
||||||
lastController = owner;
|
lastController = owner;
|
||||||
initAttackersDefensers();
|
initAttackersDefensers();
|
||||||
life=toughness;
|
life=toughness;
|
||||||
|
|||||||
Reference in New Issue
Block a user