Psyringe - 5DN overhaul: added 6 cards (some borderline) and fixed 11 bugs. Added test scripts for most added cards. Please check/review as I'm still inexperienced with card code.
Additions:
- Added Avarice Totem. Code works, but uses a trick to circumvent a parser limitation. Feedback welcome.
- Added Fangren Pathcutter. Code works, but will fail if Fangren Pathcutter gets removed during the combatattackers phase (currently unlikely though). Feedback welcome.
- Added Goblin Cannon (spectacularly useless card, but codeable)
- Added Silent Arbiter (code works pretty well imho)
- Added Skullcage (doesn't work correctly yet due to bug; issue will be opened shortly)
- Added Thought Courier (has wrong sequence of actions, but is acceptable imho)
Bugfixes:
- Arachnoid didn't have Reach
- Battered Golem was missing a "may"
- softcoded Beacon of Creation
- Beacon of Destruction was missing an alias
- Beacon of Immortality was missing an alias
- Cackling Imp couldn't use its ability
- removed Crucible of Worlds (didn't work on several accounts)
- Krark-Clan Ironworks had an incorrect {T} cost
- Krark-Clan Ogre had an incorrect cost
- Screaming Fury was missing a target
- Skyhunter Skirmisher had double strike spelled wrong
Other:
- experimented with several more cards but couldn't implement them correctly, check the comments in todo.dat for details.
This commit is contained in:
24
projects/mtg/bin/Res/test/bugs/skullcage0_i239.txt
Normal file
24
projects/mtg/bin/Res/test/bugs/skullcage0_i239.txt
Normal file
@@ -0,0 +1,24 @@
|
||||
#NAME: Skull Cage 0
|
||||
#DESC: "At the beginning of each opponent's upkeep,
|
||||
#DESC: Skullcage deals 2 damage to that player
|
||||
#DESC: unless he or she has exactly three or
|
||||
#DESC: exactly four cards in hand."
|
||||
#DESC: This script tests whether the player will
|
||||
#DESC: correctly suffer 2 damage if he has no cards
|
||||
#DESC: in hand.
|
||||
#DESC: http://code.google.com/p/wagic/issues/detail?id=239
|
||||
[INIT]
|
||||
untap
|
||||
[PLAYER1]
|
||||
[PLAYER2]
|
||||
inplay:Skullcage
|
||||
[DO]
|
||||
next
|
||||
next
|
||||
[ASSERT]
|
||||
draw
|
||||
[PLAYER1]
|
||||
life:18
|
||||
[PLAYER2]
|
||||
inplay:Skullcage
|
||||
[END]
|
||||
26
projects/mtg/bin/Res/test/bugs/skullcage1_i239.txt
Normal file
26
projects/mtg/bin/Res/test/bugs/skullcage1_i239.txt
Normal file
@@ -0,0 +1,26 @@
|
||||
#NAME: Skull Cage 1
|
||||
#DESC: "At the beginning of each opponent's upkeep,
|
||||
#DESC: Skullcage deals 2 damage to that player
|
||||
#DESC: unless he or she has exactly three or
|
||||
#DESC: exactly four cards in hand."
|
||||
#DESC: This script tests whether the player will
|
||||
#DESC: correctly suffer 2 damage if he has 1 card
|
||||
#DESC: in hand.
|
||||
#DESC: http://code.google.com/p/wagic/issues/detail?id=239
|
||||
[INIT]
|
||||
untap
|
||||
[PLAYER1]
|
||||
hand:Forest
|
||||
[PLAYER2]
|
||||
inplay:Skullcage
|
||||
[DO]
|
||||
next
|
||||
next
|
||||
[ASSERT]
|
||||
draw
|
||||
[PLAYER1]
|
||||
hand:Forest
|
||||
life:18
|
||||
[PLAYER2]
|
||||
inplay:Skullcage
|
||||
[END]
|
||||
26
projects/mtg/bin/Res/test/bugs/skullcage2_i239.txt
Normal file
26
projects/mtg/bin/Res/test/bugs/skullcage2_i239.txt
Normal file
@@ -0,0 +1,26 @@
|
||||
#NAME: Skull Cage 2
|
||||
#DESC: "At the beginning of each opponent's upkeep,
|
||||
#DESC: Skullcage deals 2 damage to that player
|
||||
#DESC: unless he or she has exactly three or
|
||||
#DESC: exactly four cards in hand."
|
||||
#DESC: This script tests whether the player will
|
||||
#DESC: correctly suffer 2 damage if he has 2 cards
|
||||
#DESC: in hand.
|
||||
#DESC: http://code.google.com/p/wagic/issues/detail?id=239
|
||||
[INIT]
|
||||
untap
|
||||
[PLAYER1]
|
||||
hand:Forest,Island
|
||||
[PLAYER2]
|
||||
inplay:Skullcage
|
||||
[DO]
|
||||
next
|
||||
next
|
||||
[ASSERT]
|
||||
draw
|
||||
[PLAYER1]
|
||||
hand:Forest,Island
|
||||
life:18
|
||||
[PLAYER2]
|
||||
inplay:Skullcage
|
||||
[END]
|
||||
25
projects/mtg/bin/Res/test/bugs/skullcage3_i239.txt
Normal file
25
projects/mtg/bin/Res/test/bugs/skullcage3_i239.txt
Normal file
@@ -0,0 +1,25 @@
|
||||
#NAME: Skull Cage 3
|
||||
#DESC: "At the beginning of each opponent's upkeep,
|
||||
#DESC: Skullcage deals 2 damage to that player
|
||||
#DESC: unless he or she has exactly three or
|
||||
#DESC: exactly four cards in hand."
|
||||
#DESC: This script tests whether the player will
|
||||
#DESC: correctly suffer no damage if he has 3 cards
|
||||
#DESC: in hand.
|
||||
#DESC: http://code.google.com/p/wagic/issues/detail?id=239
|
||||
[INIT]
|
||||
untap
|
||||
[PLAYER1]
|
||||
hand:Forest,Island,Mountain
|
||||
[PLAYER2]
|
||||
inplay:Skullcage
|
||||
[DO]
|
||||
next
|
||||
next
|
||||
[ASSERT]
|
||||
draw
|
||||
[PLAYER1]
|
||||
hand:Forest,Island,Mountain
|
||||
[PLAYER2]
|
||||
inplay:Skullcage
|
||||
[END]
|
||||
25
projects/mtg/bin/Res/test/bugs/skullcage4_i239.txt
Normal file
25
projects/mtg/bin/Res/test/bugs/skullcage4_i239.txt
Normal file
@@ -0,0 +1,25 @@
|
||||
#NAME: Skull Cage 4
|
||||
#DESC: "At the beginning of each opponent's upkeep,
|
||||
#DESC: Skullcage deals 2 damage to that player
|
||||
#DESC: unless he or she has exactly three or
|
||||
#DESC: exactly four cards in hand."
|
||||
#DESC: This script tests whether the player will
|
||||
#DESC: correctly suffer no damage if he has 4 cards
|
||||
#DESC: in hand.
|
||||
#DESC: http://code.google.com/p/wagic/issues/detail?id=239
|
||||
[INIT]
|
||||
untap
|
||||
[PLAYER1]
|
||||
hand:Forest,Island,Mountain,Plains
|
||||
[PLAYER2]
|
||||
inplay:Skullcage
|
||||
[DO]
|
||||
next
|
||||
next
|
||||
[ASSERT]
|
||||
draw
|
||||
[PLAYER1]
|
||||
hand:Forest,Island,Mountain,Plains
|
||||
[PLAYER2]
|
||||
inplay:Skullcage
|
||||
[END]
|
||||
26
projects/mtg/bin/Res/test/bugs/skullcage5_i239.txt
Normal file
26
projects/mtg/bin/Res/test/bugs/skullcage5_i239.txt
Normal file
@@ -0,0 +1,26 @@
|
||||
#NAME: Skull Cage 5
|
||||
#DESC: "At the beginning of each opponent's upkeep,
|
||||
#DESC: Skullcage deals 2 damage to that player
|
||||
#DESC: unless he or she has exactly three or
|
||||
#DESC: exactly four cards in hand."
|
||||
#DESC: This script tests whether the player will
|
||||
#DESC: correctly suffer 2 damage if he has 5 cards
|
||||
#DESC: in hand.
|
||||
#DESC: http://code.google.com/p/wagic/issues/detail?id=239
|
||||
[INIT]
|
||||
untap
|
||||
[PLAYER1]
|
||||
hand:Forest,Island,Mountain,Plains,Swamp
|
||||
[PLAYER2]
|
||||
inplay:Skullcage
|
||||
[DO]
|
||||
next
|
||||
next
|
||||
[ASSERT]
|
||||
draw
|
||||
[PLAYER1]
|
||||
hand:Forest,Island,Mountain,Plains,Swamp
|
||||
life:18
|
||||
[PLAYER2]
|
||||
inplay:Skullcage
|
||||
[END]
|
||||
26
projects/mtg/bin/Res/test/bugs/skullcage6_i239.txt
Normal file
26
projects/mtg/bin/Res/test/bugs/skullcage6_i239.txt
Normal file
@@ -0,0 +1,26 @@
|
||||
#NAME: Skull Cage 6
|
||||
#DESC: "At the beginning of each opponent's upkeep,
|
||||
#DESC: Skullcage deals 2 damage to that player
|
||||
#DESC: unless he or she has exactly three or
|
||||
#DESC: exactly four cards in hand."
|
||||
#DESC: This script tests whether the player will
|
||||
#DESC: correctly suffer 2 damage if he has 6 cards
|
||||
#DESC: in hand.
|
||||
#DESC: http://code.google.com/p/wagic/issues/detail?id=239
|
||||
[INIT]
|
||||
untap
|
||||
[PLAYER1]
|
||||
hand:Forest,Island,Mountain,Plains,Swamp,Grizzly Bears
|
||||
[PLAYER2]
|
||||
inplay:Skullcage
|
||||
[DO]
|
||||
next
|
||||
next
|
||||
[ASSERT]
|
||||
draw
|
||||
[PLAYER1]
|
||||
hand:Forest,Island,Mountain,Plains,Swamp,Grizzly Bears
|
||||
life:18
|
||||
[PLAYER2]
|
||||
inplay:Skullcage
|
||||
[END]
|
||||
26
projects/mtg/bin/Res/test/bugs/skullcage7_i239.txt
Normal file
26
projects/mtg/bin/Res/test/bugs/skullcage7_i239.txt
Normal file
@@ -0,0 +1,26 @@
|
||||
#NAME: Skull Cage 7
|
||||
#DESC: "At the beginning of each opponent's upkeep,
|
||||
#DESC: Skullcage deals 2 damage to that player
|
||||
#DESC: unless he or she has exactly three or
|
||||
#DESC: exactly four cards in hand."
|
||||
#DESC: This script tests whether the player will
|
||||
#DESC: correctly suffer 2 damage if he has 7 cards
|
||||
#DESC: in hand.
|
||||
#DESC: http://code.google.com/p/wagic/issues/detail?id=239
|
||||
[INIT]
|
||||
untap
|
||||
[PLAYER1]
|
||||
hand:Forest,Island,Mountain,Plains,Swamp,Grizzly Bears,Craw Wurm
|
||||
[PLAYER2]
|
||||
inplay:Skullcage
|
||||
[DO]
|
||||
next
|
||||
next
|
||||
[ASSERT]
|
||||
draw
|
||||
[PLAYER1]
|
||||
hand:Forest,Island,Mountain,Plains,Swamp,Grizzly Bears,Craw Wurm
|
||||
life:18
|
||||
[PLAYER2]
|
||||
inplay:Skullcage
|
||||
[END]
|
||||
Reference in New Issue
Block a user