- fix issue 308
- daily build
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-01-31 06:24:28 +00:00
parent f863dca678
commit e3d98f23f9
5 changed files with 54 additions and 1 deletions

View File

@@ -86,6 +86,18 @@ power=2
toughness=2
[/card]
[card]
text={T}: Target snow land becomes a 2/2 creature until end of turn. It's still a land.
id=2494
name=Balduvian Conjurer
rarity=U
mana={1}{U}
type=Creature
subtype=Human Wizard
auto={T}:target(snow) becomes(Creature,2/2) ueot
power=0
toughness=2
[/card]
[card]
text=Green creatures you control get +1/+1 until end of turn. Nongreen creatures you control get +1/+0 until end of turn.
id=2611
auto=lord(creature[green]|myBattlefield) 1/1

View File

@@ -100,6 +100,7 @@ ashen_firebeast2.txt
aura_mutation.txt
avarice_totem.txt
aysen_bureaucrats.txt
balduvian_conjurer.txt
baneslayer_angel.txt
baneslayer_angel2.txt
barbed_sliver.txt

View File

@@ -0,0 +1,39 @@
#Bug: Becomes does not work for target abilities
#see http://code.google.com/p/wagic/issues/detail?id=308
[INIT]
FIRSTMAIN
[PLAYER1]
inplay:Balduvian conjurer,Snow-covered forest
[PLAYER2]
[DO]
Balduvian conjurer
Snow-covered forest
next
#begin
next
#attackers
Snow-covered forest
choice 0
next
#blockers
eot
eot
next
#upkeep
next
#draw
next
#main
next
#begin
next
#attackers
Snow-covered forest
[ASSERT]
COMBATATTACKERS
[PLAYER1]
inplay:Balduvian conjurer,Snow-covered forest
manapool:{G}
[PLAYER2]
life:18
[END]

View File

@@ -1388,7 +1388,8 @@ class GenericInstantAbility: public InstantAbility{
public:
MTGAbility * ability;
GenericInstantAbility(int _id, MTGCardInstance * _source, Damageable * _target, MTGAbility * ability): InstantAbility(_id, _source, _target), ability(ability){
}
ability->target = _target;
}
int addToGame(){
ability->forceDestroy = -1;