- fix issue 179 (@movedTo battlefield triggers when a creature changes controller)
- fix issue 176 (Ray of Command)
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-11-14 08:28:29 +00:00
parent 7b2ac9e610
commit 5781060d83
4 changed files with 10 additions and 1 deletions
@@ -0,0 +1,35 @@
#NAME: Triggers at movedTo ...
#DESC: Trigers like this one:
#DESC: auto=@movedTo(creature|battlefield):life:1
#DESC: should trigger when a creature gets summoned,
#DESC: but not when its controller changes.
#DESC: The script tests this on Soul Warden.
#DESC: See http://code.google.com/p/wagic/issues/detail?id=179
[INIT]
firstmain
[PLAYER1]
hand:Soul Warden,Persuasion,Raging Goblin,Boomerang
manapool:{W}{R}{U}{U}{U}{U}{U}{U}{U}
[PLAYER2]
inplay:Grizzly Bears
[DO]
# Soul Warden should NOT trigger upon itself:
Soul Warden
# Soul Warden SHOULD trigger upon summoning another creature:
Raging Goblin
# Soul Warden should NOT trigger upon controller change:
Persuasion
Grizzly Bears
# Soul Warden should NOT trigger upon controller change:
Boomerang
Persuasion
[ASSERT]
firstmain
[PLAYER1]
inplay:Soul Warden,Raging Goblin
hand:Persuasion
graveyard:Boomerang
life:21
[PLAYER2]
inplay:Grizzly Bears
[END]