mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
1) Deleted the entries from cards.txt that use this old version of the keyword "This creature cannot block":
Aesthir Glider Ashenmoor Gouger Bloodghast Bojuka Brigand Charging Slateback Craven Giant Craven Knight Daggerclaw Imp Fallen Askari Goblin Glider Goblin Raider Goblin Rimerunner Grixis Battlemage Hagra Crocodile Hulking Cyclops Hulking Goblin Hulking Ogre Inkfathom Infiltrator Iron-Barb Hellion Jamuraan Lion Jungle Lion Kyren Glider Maniacal Rage Nezumi Cutthroat Nightshade Stinger Ogre Taskmaster Pygmy Pyrosaur Scavenging Scarab Shambling Remains Sluggishness Spineless Thug Undying Rage Villainous Ogre Yellow Scarves Cavalry Yellow Scarves General Yellow Scarves Troops Young Wei Recruits 2) Converted these 37 cards to use the new form "CARDNAME can't block." and pasted these at the top of file at cards.txt. 3) Searched for and found the old version of the keyword and converted it to the new version in these files: CardFactory_Auras CombatUtil
This commit is contained in:
@@ -1734,7 +1734,7 @@ class CardFactory_Auras {
|
||||
public void execute() {
|
||||
if(card.isEnchanting()) {
|
||||
Card crd = card.getEnchanting().get(0);
|
||||
crd.addExtrinsicKeyword("This creature cannot block");
|
||||
crd.addExtrinsicKeyword("CARDNAME can't block.");
|
||||
}
|
||||
}//execute()
|
||||
};//Command
|
||||
@@ -1747,7 +1747,7 @@ class CardFactory_Auras {
|
||||
public void execute() {
|
||||
if(card.isEnchanting()) {
|
||||
Card crd = card.getEnchanting().get(0);
|
||||
crd.removeExtrinsicKeyword("This creature cannot block");
|
||||
crd.removeExtrinsicKeyword("CARDNAME can't block.");
|
||||
|
||||
}
|
||||
|
||||
@@ -2752,7 +2752,7 @@ class CardFactory_Auras {
|
||||
Card crd = card.getEnchanting().get(0);
|
||||
crd.addSemiPermanentAttackBoost(+2);
|
||||
crd.addSemiPermanentDefenseBoost(+2);
|
||||
crd.addExtrinsicKeyword("This creature cannot block");
|
||||
crd.addExtrinsicKeyword("CARDNAME can't block.");
|
||||
}
|
||||
}//execute()
|
||||
};//Command
|
||||
@@ -2765,7 +2765,7 @@ class CardFactory_Auras {
|
||||
public void execute() {
|
||||
if(card.isEnchanting()) {
|
||||
Card crd = card.getEnchanting().get(0);
|
||||
crd.removeExtrinsicKeyword("This creature cannot block");
|
||||
crd.removeExtrinsicKeyword("CARDNAME can't block.");
|
||||
crd.addSemiPermanentAttackBoost(-2);
|
||||
crd.addSemiPermanentDefenseBoost(-2);
|
||||
}
|
||||
@@ -5068,7 +5068,7 @@ class CardFactory_Auras {
|
||||
Card crd = card.getEnchanting().get(0);
|
||||
crd.addSemiPermanentAttackBoost(2);
|
||||
crd.addSemiPermanentDefenseBoost(2);
|
||||
crd.addExtrinsicKeyword("This creature cannot block");
|
||||
crd.addExtrinsicKeyword("CARDNAME can't block.");
|
||||
|
||||
}
|
||||
}//execute()
|
||||
@@ -5084,7 +5084,7 @@ class CardFactory_Auras {
|
||||
Card crd = card.getEnchanting().get(0);
|
||||
crd.addSemiPermanentAttackBoost(-2);
|
||||
crd.addSemiPermanentDefenseBoost(-2);
|
||||
crd.removeExtrinsicKeyword("This creature cannot block");
|
||||
crd.removeExtrinsicKeyword("CARDNAME can't block.");
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -163,7 +163,7 @@ public class CombatUtil {
|
||||
|
||||
if(attacker.getKeyword().contains("Unblockable")) return false;
|
||||
|
||||
if(blocker.getKeyword().contains("This creature cannot block")
|
||||
if(blocker.getKeyword().contains("CARDNAME can't block.")
|
||||
|| blocker.getKeyword().contains("This creature can't attack or block")) return false;
|
||||
|
||||
if(attacker.getKeyword().contains("Flying")) {
|
||||
|
||||
Reference in New Issue
Block a user