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:
Psyyringe
2009-12-08 08:39:34 +00:00
parent c13b178b5a
commit 0ec6c7bf37
17 changed files with 492 additions and 119 deletions

View 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]

View 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]

View 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]

View 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]

View 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]

View 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]

View 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]

View 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]