*Fixed Convoke card text.

*Fixed Siege Wurm not having Trample.
This commit is contained in:
Hellfish
2011-11-05 13:52:58 +00:00
parent 3e4f405fb3
commit c58bd7c2ab
2 changed files with 15 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ ManaCost:5 G G
Types:Creature Wurm Types:Creature Wurm
Text:no text Text:no text
PT:5/5 PT:5/5
K:Trample
K:Convoke K:Convoke
SVar:Rarity:Common SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/siege_wurm.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/siege_wurm.jpg

View File

@@ -2179,6 +2179,8 @@ public class Card extends GameEntity implements Comparable<Card> {
} }
sb.append(")"); sb.append(")");
continue; continue;
} else if (keyword.get(i).equals("Convoke")) {
sb.append("Convoke (Each creature you tap while casting this spell reduces its cost by 1 or by one mana of that creature's color.)");
} else { } else {
if (i != 0 && sb.length() != 0) { if (i != 0 && sb.length() != 0) {
sb.append(", "); sb.append(", ");
@@ -2443,6 +2445,7 @@ public class Card extends GameEntity implements Comparable<Card> {
} }
} }
//Haunt
for (String keyw : kw) { for (String keyw : kw) {
if (keyw.startsWith("Haunt")) { if (keyw.startsWith("Haunt")) {
if (sb.toString().endsWith("\r\n\r\n")) { if (sb.toString().endsWith("\r\n\r\n")) {
@@ -2458,6 +2461,17 @@ public class Card extends GameEntity implements Comparable<Card> {
sb.append(")\r\n"); sb.append(")\r\n");
} }
} }
//Convoke
for (String keyw : kw) {
if(keyw.equals("Convoke")) {
if (sb.toString().endsWith("\r\n\r\n")) {
sb.delete(sb.lastIndexOf("\r\n"), sb.lastIndexOf("\r\n") + 3);
}
sb.append("Convoke (Each creature you tap while casting this spell reduces its cost by 1 or by one mana of that creature's color.)\r\n");
}
}
return sb; return sb;
} }