mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
- Converted Blight Sickle from code to keyword.
- Simplified the onUnEquip Command in CardFactoryUtil.java. Removed the test to see if keyword is named "none". Previous update should remove all of these keywords named "none".
This commit is contained in:
@@ -7404,7 +7404,8 @@ abPumpTgt T:Haste
|
||||
Blight Sickle
|
||||
2
|
||||
Artifact Equipment
|
||||
Equipped creature gets +1/+0 and has Wither.
|
||||
Equipped creature gets +1/+0 and has wither.
|
||||
VanillaEquipment:1:0:2:Wither:none:none
|
||||
|
||||
Priest of Titania
|
||||
1 G
|
||||
|
||||
@@ -1330,9 +1330,15 @@ public class CardFactoryUtil {
|
||||
public void execute() {
|
||||
if(sourceCard.isEquipping()) {
|
||||
Card crd = sourceCard.getEquipping().get(0);
|
||||
if(!(Ab1 == "none")) crd.removeExtrinsicKeyword(Ab1);
|
||||
if(!(Ab2 == "none")) crd.removeExtrinsicKeyword(Ab2);
|
||||
if(!(Ab3 == "none")) crd.removeExtrinsicKeyword(Ab3);
|
||||
|
||||
//if(!(Ab1 == "none")) crd.removeExtrinsicKeyword(Ab1);
|
||||
//if(!(Ab2 == "none")) crd.removeExtrinsicKeyword(Ab2);
|
||||
//if(!(Ab3 == "none")) crd.removeExtrinsicKeyword(Ab3);
|
||||
|
||||
crd.removeExtrinsicKeyword(Ab1); //no longer a need to test for a keyword named "none"
|
||||
crd.removeExtrinsicKeyword(Ab2);
|
||||
crd.removeExtrinsicKeyword(Ab3);
|
||||
|
||||
crd.addSemiPermanentAttackBoost(-1 * Power);
|
||||
crd.addSemiPermanentDefenseBoost(-1 * Tough);
|
||||
|
||||
|
||||
@@ -767,6 +767,8 @@ class CardFactory_Equipment {
|
||||
|
||||
} //*************** END ************ END **************************
|
||||
|
||||
|
||||
/*
|
||||
//*************** START *********** START **************************
|
||||
else if(cardName.equals("Blight Sickle")) {
|
||||
final Ability equip = new Ability(card, "2") {
|
||||
@@ -875,6 +877,8 @@ class CardFactory_Equipment {
|
||||
card.addUnEquipCommand(onUnEquip);
|
||||
|
||||
} //*************** END ************ END **************************
|
||||
*/
|
||||
|
||||
|
||||
//*************** START *********** START **************************
|
||||
else if(cardName.equals("Spidersilk Net")) {
|
||||
|
||||
Reference in New Issue
Block a user