From c7da6e399c673fcbcc9914d242e7b0faadb19af9 Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 12:25:59 +0000 Subject: [PATCH] 1) convert Crystalline Silver, Plated Sliver, Virulent Sliver, and Watcher Sliver to stPumpAll 2) fix a bug in GameActionUtil, for execute damage effects - poisonous - it was checking startsWith to get a list of keywords, but contains for adding to stack - this caused Poisonous to happen twice for the stPumpAll keyword and Poisonous 1 keyword on Virulent Sliver itself --- res/cardsfolder/crystalline_sliver.txt | 3 +- res/cardsfolder/plated_sliver.txt | 3 +- res/cardsfolder/virulent_sliver.txt | 4 +- res/cardsfolder/watcher_sliver.txt | 3 +- src/forge/GameActionUtil.java | 146 +------------------------ src/forge/StaticEffects.java | 4 - 6 files changed, 14 insertions(+), 149 deletions(-) diff --git a/res/cardsfolder/crystalline_sliver.txt b/res/cardsfolder/crystalline_sliver.txt index 4665b028bc9..82c442ec5aa 100644 --- a/res/cardsfolder/crystalline_sliver.txt +++ b/res/cardsfolder/crystalline_sliver.txt @@ -1,8 +1,9 @@ Name:Crystalline Sliver ManaCost:W U Types:Creature Sliver -Text:All slivers have shroud. +Text:no text PT:2/2 +K:stPumpAll:Creature.Sliver:0/0/Shroud:no Condition:All Slivers have shroud. SVar:PlayMain1:TRUE SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/crystalline_sliver.jpg diff --git a/res/cardsfolder/plated_sliver.txt b/res/cardsfolder/plated_sliver.txt index 3c4409a9886..f2242b35270 100644 --- a/res/cardsfolder/plated_sliver.txt +++ b/res/cardsfolder/plated_sliver.txt @@ -1,8 +1,9 @@ Name:Plated Sliver ManaCost:W Types:Creature Sliver -Text:All Sliver creatures get +0/+1. +Text:no text PT:1/1 +K:stPumpAll:Creature.Sliver:0/1:no Condition:All Sliver creatures get +0/+1. SVar:PlayMain1:TRUE SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/plated_sliver.jpg diff --git a/res/cardsfolder/virulent_sliver.txt b/res/cardsfolder/virulent_sliver.txt index 8263463fce6..f361ed38b9a 100644 --- a/res/cardsfolder/virulent_sliver.txt +++ b/res/cardsfolder/virulent_sliver.txt @@ -1,8 +1,10 @@ Name:Virulent Sliver ManaCost:G Types:Creature Sliver -Text:All Sliver creatures have poisonous 1. +Text:no text +#All Sliver creatures have poisonous 1. PT:1/1 +K:stPumpAll:Creature.Sliver:0/0/Poisonous 1:no Condition:All Sliver creatures have poisonous 1. SVar:PlayMain1:TRUE SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/virulent_sliver.jpg diff --git a/res/cardsfolder/watcher_sliver.txt b/res/cardsfolder/watcher_sliver.txt index 5bbfe711009..63fcee05856 100644 --- a/res/cardsfolder/watcher_sliver.txt +++ b/res/cardsfolder/watcher_sliver.txt @@ -1,8 +1,9 @@ Name:Watcher Sliver ManaCost:3 W Types:Creature Sliver -Text:All Sliver creatures get +0/+2. +Text:no text PT:2/2 +K:stPumpAll:Creature.Sliver:0/2:no Condition:All Sliver creatures get +0/+2. SVar:PlayMain1:TRUE SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/watcher_sliver.jpg diff --git a/src/forge/GameActionUtil.java b/src/forge/GameActionUtil.java index 07212c16152..56fd03d559f 100644 --- a/src/forge/GameActionUtil.java +++ b/src/forge/GameActionUtil.java @@ -5671,7 +5671,7 @@ public class GameActionUtil { for (int i=0;i