mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
*Fixed Convoke card text.
*Fixed Siege Wurm not having Trample.
This commit is contained in:
@@ -3,6 +3,7 @@ ManaCost:5 G G
|
||||
Types:Creature Wurm
|
||||
Text:no text
|
||||
PT:5/5
|
||||
K:Trample
|
||||
K:Convoke
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/siege_wurm.jpg
|
||||
|
||||
@@ -2179,6 +2179,8 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
}
|
||||
sb.append(")");
|
||||
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 {
|
||||
if (i != 0 && sb.length() != 0) {
|
||||
sb.append(", ");
|
||||
@@ -2443,6 +2445,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
}
|
||||
}
|
||||
|
||||
//Haunt
|
||||
for (String keyw : kw) {
|
||||
if (keyw.startsWith("Haunt")) {
|
||||
if (sb.toString().endsWith("\r\n\r\n")) {
|
||||
@@ -2458,6 +2461,17 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user