mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
comment out unneeded keyword code.
This commit is contained in:
@@ -275,17 +275,18 @@ public class CardFactory implements NewConstants {
|
|||||||
|
|
||||||
//look for "Comes into play tapped." in the "no text" line
|
//look for "Comes into play tapped." in the "no text" line
|
||||||
//of card.txt and add the appropriate code to make that happen
|
//of card.txt and add the appropriate code to make that happen
|
||||||
|
/* slapshot5 - I cleaned up all cards manually on 12/30/10
|
||||||
while(card.getKeyword().contains("Comes into play tapped."))
|
while(card.getKeyword().contains("Comes into play tapped."))
|
||||||
{
|
{
|
||||||
card.removeIntrinsicKeyword("Comes into play tapped.");
|
card.removeIntrinsicKeyword("Comes into play tapped.");
|
||||||
card.addIntrinsicKeyword("CARDNAME enters the battlefield tapped.");
|
card.addIntrinsicKeyword("CARDNAME enters the battlefield tapped.");
|
||||||
}
|
}*/
|
||||||
if(card.getKeyword().contains("CARDNAME enters the battlefield tapped.")) {
|
if(card.getKeyword().contains("CARDNAME enters the battlefield tapped.")) {
|
||||||
card.addComesIntoPlayCommand(new Command() {
|
card.addComesIntoPlayCommand(new Command() {
|
||||||
private static final long serialVersionUID = 203335252453049234L;
|
private static final long serialVersionUID = 203335252453049234L;
|
||||||
|
|
||||||
public void execute() {
|
public void execute() {
|
||||||
System.out.println("Executing previous keyword");
|
//System.out.println("Executing previous keyword");
|
||||||
card.tap();
|
card.tap();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -2029,6 +2030,10 @@ public class CardFactory implements NewConstants {
|
|||||||
|
|
||||||
|
|
||||||
//Keyword for spells, that damage all creatures
|
//Keyword for spells, that damage all creatures
|
||||||
|
/*
|
||||||
|
* Converted all cards to AbilityFactory DamageAll. 12/30/10. Let this code hang around for a beta or two
|
||||||
|
* to make sure the AF code is at least as solid.
|
||||||
|
*
|
||||||
if (hasKeyword(card, "spDamageAll") != -1)
|
if (hasKeyword(card, "spDamageAll") != -1)
|
||||||
{
|
{
|
||||||
int n = hasKeyword(card, "spDamageAll");
|
int n = hasKeyword(card, "spDamageAll");
|
||||||
@@ -2184,6 +2189,7 @@ public class CardFactory implements NewConstants {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}//spDamageAll
|
}//spDamageAll
|
||||||
|
*/
|
||||||
|
|
||||||
/* Cards converted to AF_AB$Damage
|
/* Cards converted to AF_AB$Damage
|
||||||
while(hasKeyword(card, "abDamage") != -1) {
|
while(hasKeyword(card, "abDamage") != -1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user