Erwan
- fix issue 308 - daily build
This commit is contained in:
@@ -86,6 +86,18 @@ power=2
|
|||||||
toughness=2
|
toughness=2
|
||||||
[/card]
|
[/card]
|
||||||
[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.
|
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
|
id=2611
|
||||||
auto=lord(creature[green]|myBattlefield) 1/1
|
auto=lord(creature[green]|myBattlefield) 1/1
|
||||||
|
|||||||
@@ -100,6 +100,7 @@ ashen_firebeast2.txt
|
|||||||
aura_mutation.txt
|
aura_mutation.txt
|
||||||
avarice_totem.txt
|
avarice_totem.txt
|
||||||
aysen_bureaucrats.txt
|
aysen_bureaucrats.txt
|
||||||
|
balduvian_conjurer.txt
|
||||||
baneslayer_angel.txt
|
baneslayer_angel.txt
|
||||||
baneslayer_angel2.txt
|
baneslayer_angel2.txt
|
||||||
barbed_sliver.txt
|
barbed_sliver.txt
|
||||||
|
|||||||
39
projects/mtg/bin/Res/test/balduvian_conjurer.txt
Normal file
39
projects/mtg/bin/Res/test/balduvian_conjurer.txt
Normal 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]
|
||||||
Binary file not shown.
@@ -1388,7 +1388,8 @@ class GenericInstantAbility: public InstantAbility{
|
|||||||
public:
|
public:
|
||||||
MTGAbility * ability;
|
MTGAbility * ability;
|
||||||
GenericInstantAbility(int _id, MTGCardInstance * _source, Damageable * _target, MTGAbility * ability): InstantAbility(_id, _source, _target), ability(ability){
|
GenericInstantAbility(int _id, MTGCardInstance * _source, Damageable * _target, MTGAbility * ability): InstantAbility(_id, _source, _target), ability(ability){
|
||||||
}
|
ability->target = _target;
|
||||||
|
}
|
||||||
|
|
||||||
int addToGame(){
|
int addToGame(){
|
||||||
ability->forceDestroy = -1;
|
ability->forceDestroy = -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user